Skip to main content

Python task framework

Project description

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

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.

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 hashes)

Uploaded Source

b3j0f.task-0.0.4.tar.gz (10.8 kB view hashes)

Uploaded Source

b3j0f.task-0.0.4.tar.bz2 (10.7 kB view hashes)

Uploaded Source

Built Distribution

b3j0f.task-0.0.4-py2.py3-none-any.whl (19.8 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page