Skip to main content

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

[![PyPI version](https://badge.fury.io/py/biomaj-cron.svg)](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

Metadata

Release files for biomaj-cron 3.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for biomaj-cron 3.0.4
File Interpreter ABI Platform Actions
biomaj_cron-3.0.4-py2.py3-none-any.whl Python 2, Python 3 none any Details for biomaj_cron-3.0.4-py2.py3-none-any.whl

Release files / biomaj_cron-3.0.4-py2.py3-none-any.whl

Download URL biomaj_cron-3.0.4-py2.py3-none-any.whl
Size 17.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
7141a6ef86ff1ff2e950bb72e9a95529bfa7e784067f205916c574159328d7c5
BLAKE2b-256 checksum
How to use checksums
6f478b96653e548d55bfee89489ad6e27ef9fc5987841f18bb8866decdbfc168
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 CPython/3.10.4

Security for biomaj-cron 3.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page