Skip to main content

Python

Running the pre-built Python pipeline directly

Run the following command to run the pre-built Python pipeline without having to initialize a project:

fluentci run python_pipeline

Add Python Pipeline to your project

Run the following command to add Python pipeline to your project:

fluentci init -t python

This will create a .fluentci directory in your project, feel free to customize the pipeline for your needs. You can then run the following command to start the pipeline:

fluentci run .

Or simply:

fluentci

Environment variables

VariableDescriptionDefault
PACKAGE_MANAGERThe package manager to use (poetry, pip, pipenv)poetry

Jobs

JobDescription
testRun tests (using pytest)

Programmatic usage

You can also use this pipeline programmatically:

import { test } from "https://pkg.fluentci.io/[email protected]/mod.ts";

await test();