aiocronjob-0.7.0
توضیحات
Schedule async tasks and manage them using a REST API or WEB UI
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | aiocronjob-0.7.0 |
| نام | aiocronjob |
| نسخه کتابخانه | 0.7.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | ['devtud <devtud@gmail.com>'] |
| نویسنده | - |
| ایمیل نویسنده | devtud <devtud@gmail.com> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/aiocronjob/ |
| مجوز | MIT |
# aiocronjob
[](https://gitter.im/aiocronjob/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)





[](https://github.com/devtud/aiocronjob/actions/workflows/tests.yml)
[](https://codecov.io/gh/devtud/aiocronjob)
Schedule and run `asyncio` coroutines and manage them from a web interface or programmatically using the rest api.
### Requires python >= 3.8
### How to install
```bash
pip3 install aiocronjob
```
### Usage example
See [examples/simple_tasks.py](https://github.com/devtud/aiocronjob/blob/master/examples/simple_tasks.py)
#### Rest API
Open [localhost:8000/docs](http://localhost:8000/docs) for endpoints docs.
**`curl`** example:
```bash
$ curl http://0.0.0.0:8000/api/jobs
```
```json
TBD
```
### Development
**Requirements**:
- **Python** >= 3.8 and **PDM** for backend
#### Install dependencies
```bash
$ git clone https://github.com/devtud/aiocronjob.git
$ cd aiocronjob
$ pdm sync
```
#### Run tests
```bash
pdm run coverage run -m unittest discover
pdm run coverage report -m
```
نیازمندی
| مقدار | نام |
|---|---|
| - | aiofiles>=0.5.0 |
| - | async-asgi-testclient>=1.4.11 |
| - | crontab>=0.22.8 |
| - | pytz>=2020.1 |
| - | starlite>=1.40.0 |
| - | uvicorn>=0.11.5 |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl aiocronjob-0.7.0:
pip install aiocronjob-0.7.0.whl
نصب پکیج tar.gz aiocronjob-0.7.0:
pip install aiocronjob-0.7.0.tar.gz