coordinator-1.0.0b1
توضیحات
An experimental Python hook-based task runner.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | coordinator-1.0.0b1 |
| نام | coordinator |
| نسخه کتابخانه | 1.0.0b1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Joseph Geis |
| ایمیل نویسنده | juniorrubyist@gmail.com |
| آدرس صفحه اصلی | https://github.com/juniorrubyist/coordinator |
| آدرس اینترنتی | https://pypi.org/project/coordinator/ |
| مجوز | - |
# coordinator
A simple library that manages hooks in Python applications.
## Example
Simplest example
```py
from gevent import monkey; monkey.patch_all()
from coordinator import Coordinator
coord = Coordinator()
@coord.register_task("my_hook")
def my_task(context):
print(context["message"])
coord.fire_hook("my_hook", {
"message": "Hello, World!"
})
```
Full documentation is WIP.
نیازمندی
| مقدار | نام |
|---|---|
| - | huey |
| - | gevent |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl coordinator-1.0.0b1:
pip install coordinator-1.0.0b1.whl
نصب پکیج tar.gz coordinator-1.0.0b1:
pip install coordinator-1.0.0b1.tar.gz