Skip to main content

BioMAJ cron management

Project description

# 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.

# 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.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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

biomaj_cron-3.0.2.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

biomaj_cron-3.0.2-py2.py3-none-any.whl (17.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file biomaj_cron-3.0.2.tar.gz.

File metadata

  • Download URL: biomaj_cron-3.0.2.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.14

File hashes

Hashes for biomaj_cron-3.0.2.tar.gz
Algorithm Hash digest
SHA256 dddee5af49d3d01f509906e05edc22d76292e8c1f1f7af3026efd66617dda03f
MD5 4441c04c505827795ade0f0536c39630
BLAKE2b-256 5ed78d239733961f89e25fad6a600fce91b83fe21849eaf24d57f33cc5c5adf6

See more details on using hashes here.

File details

Details for the file biomaj_cron-3.0.2-py2.py3-none-any.whl.

File metadata

  • Download URL: biomaj_cron-3.0.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 17.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.14

File hashes

Hashes for biomaj_cron-3.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4cb9d07e39fd51e6b0268cd4488323d6280cace227a861f4e8ab34f04b147852
MD5 51ff24a974328ef44327b690c8e6f61f
BLAKE2b-256 3700ef4dfd8574fcaec5f161f38c3087be253a94e943716f25dd943968987145

See more details on using hashes here.

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