airduct-0.1.9
توضیحات
Simple Pipeline Scheduler in Python
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | airduct-0.1.9 |
| نام | airduct |
| نسخه کتابخانه | 0.1.9 |
| نگهدارنده | ['Skyler Lewis'] |
| ایمیل نگهدارنده | ['skyler.lewis@canopytax.com'] |
| نویسنده | Skyler Lewis |
| ایمیل نویسنده | skyler.lewis@canopytax.com |
| آدرس صفحه اصلی | https://github.com/alairock/airduct |
| آدرس اینترنتی | https://pypi.org/project/airduct/ |
| مجوز | - |
# airduct
Simple Pipeline Scheduler in Python

## Links
- [Github](https://github.com/alairock/airduct)
- [Documentation](https://airduct.readthedocs.io)
## Installing
$ pip install airduct
or
$ poetry add airduct
## Quickstart
Create a file and put into a folder/python-module.
```python
from airduct import schedule, task
schedule(
name='ExampleFlow',
run_at='* * * * *',
flow=[
task('e1f1'),
[task('e1f2'), task('e1f3', can_fail=True)],
[task('e1f4')]
]
)
async def e1f1():
print('e1f1 - An async function!')
def e1f2():
print('e1f2 - Regular functions work too')
async def e1f3():
print('e1f3')
async def e1f4():
print('e1f4')
```
Run: `$ airduct schedule --path /path/to/folder`
By default it uses a sqlite in-memory database. If using the in-memory database, it will also automatically run as a worker, in addition to a scheduler. If you wish to use a non in-memory sqlite database, you will need to also run a worker (could be on same box, or separate) See the documentation for more info.
نیازمندی
| مقدار | نام |
|---|---|
| >=7.0,<8.0 | click |
| >=0.22.6,<0.23.0 | crontab |
| >=1.3,<2.0 | sqlalchemy |
| >=5.1,<6.0 | pyyaml |
| >=2.8,<3.0 | psycopg2 |
| >=1.1,<2.0 | flask |
| >=3.0,<4.0 | flask_cors |
| >=3.3,<4.0 | flask_httpauth |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7,<4.0 | Python |
نحوه نصب
نصب پکیج whl airduct-0.1.9:
pip install airduct-0.1.9.whl
نصب پکیج tar.gz airduct-0.1.9:
pip install airduct-0.1.9.tar.gz