Production ready Orchestration Framework to manage product lifecycle and workflows. Easy to use, built on top of FastAPI and Pydantic
The documentation can be found at workfloworchestrator.org.
Simplified steps to install and use the orchestrator-core. For more details, read the Getting started documentation.
Create a virtualenv and install the orchestrator-core.
python -m venv .venv
source .venv/bin/activate
pip install orchestrator-coreCreate a postgres database:
createuser -sP nwa
createdb orchestrator-core -O nwa # set password to 'nwa'Configure the database URI in your local environment:
export DATABASE_URI=postgresql://nwa:nwa@localhost:5432/orchestrator-core
Create a main.py file for running the CLI.
from orchestrator.cli.main import app as core_cli
if __name__ == "__main__":
core_cli()Create a wsgi.py file for running the web server.
from orchestrator import OrchestratorCore
from orchestrator.settings import AppSettings
app = OrchestratorCore(base_settings=AppSettings())Initialize the migration environment and database tables.
python main.py db init
python main.py db upgrade headsexport OAUTH2_ACTIVE=False
uvicorn --reload --host 127.0.0.1 --port 8080 wsgi:appVisit the ReDoc or OpenAPI page to view and interact with the API.
We use uv to manage dependencies and docker compose to provide services required for unit tests (redis, postgresql)
To get started, follow these steps:
# on your local machine
git clone https://github.com/workfloworchestrator/orchestrator-core
cd orchestrator-core
just pytest # Run unit tests
just pytest -vx # Stop at first failed test
just pytest --last-failed # re-run only failed tests
just pytest --failed-first # run tests starting with tests that failedFor more details please read the development docs.