This is the orchestrator workflow engine.
Project description
Orchestrator-Core
This is the orchestrator core repository
Usage
This project can be installed as follows:
Step 1:
Install the core.
pip install orchestrator-core
Step 2:
Create a postgres database:
createuser -s -P nwa
createdb orchestrator-core -O nwa
Step 3:
Create a main.py
file.
from orchestrator import OrchestratorCore
from orchestrator.cli.main import app as core_cli
from orchestrator.settings import AppSettings
app = OrchestratorCore(base_settings=AppSettings())
if __name__ == "__main__":
core_cli()
Step 4:
Initialize the migration environment.
PYTHONPATH=. python main.py db init
PYTHONPATH=. python main.py db upgrade heads
Step 5:
Profit :)
uvicorn --reload --host 127.0.0.1 --port 8080 main:app
Installation (Development)
Step 1:
pip install flit
Step 2:
flit install --deps develop --symlink
Running tests.
Create a database
createuser -s -P nwa
createdb orchestrator-core-test -O nwa
Run tests
pytest test/unit_tests
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
orchestrator-core-0.0.5.tar.gz
(148.1 kB
view hashes)
Built Distribution
Close
Hashes for orchestrator_core-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cd6ae1db8978dd5c3d5a9d0eb9d047685f90d1e1833f87af7dd68e6b135774b |
|
MD5 | b9b3ef171bb3ae0ae2715d8bffc11d15 |
|
BLAKE2b-256 | 0d35d325766357370ade0901dc92e1badf7c2e4116a8b61807c83a622246f62f |