biomaj-cron-3.0.4
توضیحات
BioMAJ cron management
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX :: Linux |
| نام فایل | biomaj-cron-3.0.4 |
| نام | biomaj-cron |
| نسخه کتابخانه | 3.0.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Olivier Sallou |
| ایمیل نویسنده | olivier.sallou@irisa.fr |
| آدرس صفحه اصلی | http://biomaj.genouest.org |
| آدرس اینترنتی | https://pypi.org/project/biomaj-cron/ |
| مجوز | - |
# BioMAJ cron service
biomaj-cron manages the cron task to update BioMAJ banks.
It can be used as a library or as a micro-service.
[](https://badge.fury.io/py/biomaj-cron)
# Install
pip install biomaj-cron
# Micro service
## Run
# to reload cron tasks from database (in case of micro service)
biomaj_load_cron.py
export BIOMAJ_CONFIG=path_to_config.yml
gunicorn -b 0.0.0.0:5000 biomaj_cron.biomaj_cron_web:app
## API
Endpoint /api/cron
# Generate documentation
pip install sphinx
pip install sphinxcontrib-httpdomain
cd doc
make html
# Release notes
## 3.0.3
Fix traefik prefix
## 3.0.2
Add tags for traefik support
## 3.0.1
Allow proxy endpoint definition for daemon, else use default web.local_endpoint
## 3.0.0
Creation
نیازمندی
| مقدار | نام |
|---|---|
| - | flask |
| - | gunicorn |
| - | gevent |
| - | python-crontab |
| - | python-consul |
| <4,>=3.12.3 | pymongo |
| - | PyYAML |
| - | requests |
| - | biomaj-core |
نحوه نصب
نصب پکیج whl biomaj-cron-3.0.4:
pip install biomaj-cron-3.0.4.whl
نصب پکیج tar.gz biomaj-cron-3.0.4:
pip install biomaj-cron-3.0.4.tar.gz