Declarative task runner
Project description
cjunct
Cjunct (pronounced SEE-jen) is an extensible declarative task runner, aimed to make complex routine jobs easier to configure.
Table of Contents
Installation
# Install only core components
pip install cjunct
# Install both core components and docker-related extensions
pip install "cjunct[docker]"
Usage
Basic examples
# Execute a workflow that is outlined
# in the workdir-located cjunct.yaml file
cjunct run
# Print usage
cjunct --help
Options are configured either via environment variables or via command-line switches. The most common are:
CJUNCT_LOG_LEVEL: Set log level.CJUNCT_LOG_FILE: Set log file.CJUNCT_WORKFLOW_FILE: Set the workflow file path explicitly.CJUNCT_STRATEGY_NAME: Manage execution strategy.CJUNCT_ACTIONS_CLASS_DEFINITIONS_DIRECTORY: Where to look for custom action runners.CJUNCT_STRICT_OUTCOMES_RENDERING: Manage failure behaviour when an outcome key is missing.
Full list of used environment variable names can be obtained with this command:
cjunct info env-vars
How to contribute
Development environment setup
Requires system-wide poetry>=1.3.2, see official documentation.
poetry env use python3.8
poetry install --no-root --sync --all-extras
The root directory for the source code is src,
thus one may add it to the project's python path
for better IDE integration.
Running tests with coverage on current environment
poetry run pytest --cov --cov-report=html:.coverage_report
Running tests on all available environments
poetry run tox
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 cjunct-2.2.2.tar.gz.
File metadata
- Download URL: cjunct-2.2.2.tar.gz
- Upload date:
- Size: 33.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.9 Darwin/23.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3fd5d942b5a9446e34fdf851bed874292c9a2e06e26884441ec0c70965a0bda
|
|
| MD5 |
9310bde5d6c911692959eb3ad1f76982
|
|
| BLAKE2b-256 |
f96cd5eeb6e338f08317384da9a5cf9d14281d1fc9d3a277884758c381089ecd
|
File details
Details for the file cjunct-2.2.2-py3-none-any.whl.
File metadata
- Download URL: cjunct-2.2.2-py3-none-any.whl
- Upload date:
- Size: 41.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.9 Darwin/23.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
555ed5d600a364ed0bd7f9c023b8a00bec90874c262da5cb83d542737fe40dec
|
|
| MD5 |
005e6640203dcd80213e0425b3909a85
|
|
| BLAKE2b-256 |
d7afe7dbe8435ef3de6aa329ce9702acbf2f40bdea587085ce858733862dfc8f
|