TaskEngine for ProcessEngine
Project description
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
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
taskengine-0.0.2.tar.gz
(3.4 kB
view details)
Built Distribution
File details
Details for the file taskengine-0.0.2.tar.gz
.
File metadata
- Download URL: taskengine-0.0.2.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffda14591c94daa8e3ecb8019487d650764939060998ff5355497d3546b09af3 |
|
MD5 | 145179e6e4134f30c393b2a214aad98c |
|
BLAKE2b-256 | 7a97ed1b32fd13bae978b822307e5ac2f296d2265fddaca118b9db86ddb0239d |
File details
Details for the file taskengine-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: taskengine-0.0.2-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a74387ca4b9c8ead89b82e6b7da7a1859610ce290eb41d3b33634b5975b24ba |
|
MD5 | 1bf288c414cc572279b09a5d12ca0cd7 |
|
BLAKE2b-256 | 8abada0ed093dffe7e14e95556424f2b3ba3e2fecb59a4a7d34faab4cfa43335 |