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
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.1.tar.gz
(1.6 kB
view hashes)
Built Distribution
Close
Hashes for taskengine-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5c35528241820d8b11b1dd4c6b134ab784493d2659f942c9721bca1fd5861ee |
|
MD5 | 4a8b3e4fb8f7986ca06f50c183cf6311 |
|
BLAKE2b-256 | 87b7f1f34a23350f264ab6e66f03fc7ea0854213e0c5992d2fa0a2df98df2fcf |