b3j0f.task

Python task framework


Keywords
task, conf, runtime, reflective
License
MIT
Install
pip install b3j0f.task==0.0.4

Documentation

Description

Python object configuration library in reflective and distributed concerns.

License Development Status Latest release Supported Python versions Supported Python implementations Download format Build status Code test coverage Downloads Documentation Status Code Health

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

I'm grateful for gifts, but don't have a specific funding goal.