This is the orchestrator workflow engine.
Project description
Orchestrator-Core
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.
=== "orchestrator-core ≥ 5.0"
```python
from orchestrator.core.cli.main import app as core_cli
if __name__ == "__main__":
core_cli()
```
=== "orchestrator-core < 5.0"
```python
from orchestrator.cli.main import app as core_cli
if __name__ == "__main__":
core_cli()
```
Create a wsgi.py file for running the web server.
=== "orchestrator-core ≥ 5.0"
```python
from orchestrator.core import OrchestratorCore
from orchestrator.core.settings import AppSettings
app = OrchestratorCore(base_settings=AppSettings())
```
=== "orchestrator-core < 5.0"
```python
from orchestrator import OrchestratorCore
from orchestrator.settings import AppSettings
app = OrchestratorCore(base_settings=AppSettings())
```
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 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 failed
For more details please read the development docs.
Project details
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file orchestrator_core-5.0.0rc3.tar.gz.
File metadata
- Download URL: orchestrator_core-5.0.0rc3.tar.gz
- Upload date:
- Size: 350.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17a22a67db4f49b58b2b434ef0464a07313aafd13c09f8a3150d3e3e4ccf49cf
|
|
| MD5 |
40dd16eaa9a7dfab79516908a55dafa2
|
|
| BLAKE2b-256 |
076e5ba5564a08873afbf60fb9a4c695218f89c913510f414261fe9b5bd27186
|
Provenance
The following attestation bundles were made for orchestrator_core-5.0.0rc3.tar.gz:
Publisher:
publish-package.yml on workfloworchestrator/orchestrator-core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
orchestrator_core-5.0.0rc3.tar.gz -
Subject digest:
17a22a67db4f49b58b2b434ef0464a07313aafd13c09f8a3150d3e3e4ccf49cf - Sigstore transparency entry: 1410917275
- Sigstore integration time:
-
Permalink:
workfloworchestrator/orchestrator-core@8ae7cb02dc711decc78f4d6de9af39e6e66a1700 -
Branch / Tag:
refs/tags/5.0.0rc3 - Owner: https://github.com/workfloworchestrator
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-package.yml@8ae7cb02dc711decc78f4d6de9af39e6e66a1700 -
Trigger Event:
release
-
Statement type:
File details
Details for the file orchestrator_core-5.0.0rc3-py3-none-any.whl.
File metadata
- Download URL: orchestrator_core-5.0.0rc3-py3-none-any.whl
- Upload date:
- Size: 635.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c2c99f95fc493c592641a069f4422be6d75868fbc986e093a9547145878d690
|
|
| MD5 |
f38d35401184e25a64fdcb9b79e1d1a0
|
|
| BLAKE2b-256 |
4d966bdc06a7a35eb636479a2909274965721a16fd4194761a6daa5231ff7118
|
Provenance
The following attestation bundles were made for orchestrator_core-5.0.0rc3-py3-none-any.whl:
Publisher:
publish-package.yml on workfloworchestrator/orchestrator-core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
orchestrator_core-5.0.0rc3-py3-none-any.whl -
Subject digest:
6c2c99f95fc493c592641a069f4422be6d75868fbc986e093a9547145878d690 - Sigstore transparency entry: 1410917429
- Sigstore integration time:
-
Permalink:
workfloworchestrator/orchestrator-core@8ae7cb02dc711decc78f4d6de9af39e6e66a1700 -
Branch / Tag:
refs/tags/5.0.0rc3 - Owner: https://github.com/workfloworchestrator
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-package.yml@8ae7cb02dc711decc78f4d6de9af39e6e66a1700 -
Trigger Event:
release
-
Statement type: