Skip to main content

This is the orchestrator workflow engine.

Project description

Orchestrator-Core

Downloads codecov pypi_version Supported python versions Discord

Production ready Orchestration Framework to manage product lifecycle and workflows. Easy to use, built on top of FastAPI and Pydantic

Documentation

The documentation can be found at workfloworchestrator.org.

Installation (quick start)

Simplified steps to install and use the orchestrator-core. For more details, read the Getting started documentation.

Step 1 - Install the package

Create a virtualenv and install the orchestrator-core.

python -m venv .venv
source .venv/bin/activate
pip install orchestrator-core

Step 2 - Setup the database

Create 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+psycopg://nwa:nwa@localhost:5432/orchestrator-core

Step 3 - Create main.py and wsgi.py

Create a main.py file for running the CLI.

from orchestrator.core.cli.main import app as core_cli

if __name__ == "__main__":
    core_cli()

Create a wsgi.py file for running the web server.

from orchestrator.core import OrchestratorCore
from orchestrator.core.settings import AppSettings

app = OrchestratorCore(base_settings=AppSettings())
app.register_graphql()

Step 4 - Run the database migrations

Initialize the migration environment and database tables.

python main.py db init
python main.py db upgrade heads

Step 5 - Run the app

export OAUTH2_ACTIVE=False
uvicorn --reload --host 127.0.0.1 --port 8080 wsgi:app

Visit the ReDoc or OpenAPI page to view and interact with the API.

Contributing

We use uv to manage dependencies. Unit tests need no services; integration tests use testcontainers to spin up Postgres + Redis on demand (Docker required).

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 test/integration_tests       # Run integration tests (testcontainers)
just pytest -vx                          # Stop at first failed test
just pytest --last-failed                # re-run only failed tests

For more details please read the development docs.

Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

orchestrator_core-5.1.0rc1.tar.gz (372.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

orchestrator_core-5.1.0rc1-py3-none-any.whl (665.0 kB view details)

Uploaded Python 3

File details

Details for the file orchestrator_core-5.1.0rc1.tar.gz.

File metadata

  • Download URL: orchestrator_core-5.1.0rc1.tar.gz
  • Upload date:
  • Size: 372.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for orchestrator_core-5.1.0rc1.tar.gz
Algorithm Hash digest
SHA256 a313710fade9c8adbbfc61c7a0580f1d9e6debd6634af63cadb7b58f73e0dade
MD5 bf547b27d7d52447f79b1b1dde013c52
BLAKE2b-256 dd97e3bab506351189ecf7a1df4baedbdd8d09bdad05af2aeeceae90f5304d2e

See more details on using hashes here.

Provenance

The following attestation bundles were made for orchestrator_core-5.1.0rc1.tar.gz:

Publisher: publish-package.yml on workfloworchestrator/orchestrator-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file orchestrator_core-5.1.0rc1-py3-none-any.whl.

File metadata

File hashes

Hashes for orchestrator_core-5.1.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 7c8b85ddeae5d5c6cc74ae6147c2fa3dfb6ca330c41bb02cd596c410837db447
MD5 cba079d1f715335405cfa66b1d7b55c3
BLAKE2b-256 223eaddfd668eafba7a105d75a54fe7b950b309892ea215df7fb57573492a57a

See more details on using hashes here.

Provenance

The following attestation bundles were made for orchestrator_core-5.1.0rc1-py3-none-any.whl:

Publisher: publish-package.yml on workfloworchestrator/orchestrator-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page