Python task framework
Project description
Description
Python object configuration library in reflective and distributed concerns.
Links
Installation
pip install b3j0f.task
Features
This library performs execution of registered python routines.
Examples
from b3j0f.task import register, run
@register
@register('mytask')
def task(a, *args, **kwargs):
return a
register(task, name='lastname')
assert run({'name': 'task', 'kwargs': {a=1}}) == 1
assert run({'name': 'mytask', 'args': [2]}) == 2
assert run({'name': 'lastname', 'kwargs: {'a': 3}}) == 3
Perspectives
wait feedbacks during 6 months before passing it to a stable version.
Cython implementation.
Donation
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
b3j0f.task-0.0.4.zip
(23.8 kB
view details)
b3j0f.task-0.0.4.tar.gz
(10.8 kB
view details)
b3j0f.task-0.0.4.tar.bz2
(10.7 kB
view details)
Built Distribution
File details
Details for the file b3j0f.task-0.0.4.zip
.
File metadata
- Download URL: b3j0f.task-0.0.4.zip
- Upload date:
- Size: 23.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82cb745333fd0f456dda5cf8d8e1c7bf71f67773dddc2c474ca2161a7c783878 |
|
MD5 | 1abd7aadf4dbbef1ccee69a525c11cab |
|
BLAKE2b-256 | 8c5409be123f044eab36d04341a1fa961ed40b378becc5b9c29bb13837567b3a |
File details
Details for the file b3j0f.task-0.0.4.tar.gz
.
File metadata
- Download URL: b3j0f.task-0.0.4.tar.gz
- Upload date:
- Size: 10.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79f1097b913afae5298eaba468b95e16368b403f4ae8fcc518fb8dd00a9d4a09 |
|
MD5 | 32b679f26a6409c9bccfe2238ac6d225 |
|
BLAKE2b-256 | 30924372cb35780a246e5f4471e4b99c4fc3baccb0a7fc5b4d51525298a0e61e |
File details
Details for the file b3j0f.task-0.0.4.tar.bz2
.
File metadata
- Download URL: b3j0f.task-0.0.4.tar.bz2
- Upload date:
- Size: 10.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea3b2446e09f942abc13bd36918a62ff1dc92b93850d5179f9c47f2c22c07edf |
|
MD5 | ee090e3e471de314bef6efc7e3203a3e |
|
BLAKE2b-256 | c3ee00f91f2a47994c6a26f19f2d571b23d17902bd0c0f889addb1537fe1fa60 |
File details
Details for the file b3j0f.task-0.0.4-py2.py3-none-any.whl
.
File metadata
- Download URL: b3j0f.task-0.0.4-py2.py3-none-any.whl
- Upload date:
- Size: 19.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad011d232b142e3c1c297aaa0be2f715b0091d4bdd2db409b476a494b3d20395 |
|
MD5 | f76d44b09b490cd7f6e39197492e1503 |
|
BLAKE2b-256 | 3ad527f6d5ecd876deecb79f7d5eb9f528e25f880736e8aab2f2e493c2a14747 |