Skip to main content

Library to handle exposing tasks to a ProcessEngine

Getting started

pip install taskengine

Add to installed apps

Confgure your task modules

In settings.py:

INSTALLED_APPS = [
    ..
    'taskengine',
    ..
]

Tell taskengine where to find tasks

In settings.py:

ALLOWED_TASK_MODULES = {
    'taskengine.tasks', # these are default tasks provided by taskengine
    .., # <- your module/s here
}

# optional
TASKENGINE_API_KEY = '...'

Add API to urls

in urls.py

from taskengine.api import router as task_router
..

urlpatterns = [
    ..
    path(r'', include(task_router.urls)),
    ..
]

Register your service

python manage.py register

Upading pip library

# update version in setup.py
python3 setup.py sdist bdist_wheel
twine upload dist/*

todo: dockerize this

Metadata

Release files for taskengine 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for taskengine 0.0.2
File Size Uploaded Provenance
taskengine-0.0.2.tar.gz 3.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for taskengine 0.0.2
File Interpreter ABI Platform
taskengine-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 7.9 kB

Release files / taskengine-0.0.2.tar.gz

Download URL taskengine-0.0.2.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ffda14591c94daa8e3ecb8019487d650764939060998ff5355497d3546b09af3
BLAKE2b-256 checksum
How to use checksums
7a97ed1b32fd13bae978b822307e5ac2f296d2265fddaca118b9db86ddb0239d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / taskengine-0.0.2-py3-none-any.whl

Download URL taskengine-0.0.2-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0a74387ca4b9c8ead89b82e6b7da7a1859610ce290eb41d3b33634b5975b24ba
BLAKE2b-256 checksum
How to use checksums
8abada0ed093dffe7e14e95556424f2b3ba3e2fecb59a4a7d34faab4cfa43335
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for taskengine 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page