Skip to main content

# About

[![PyPI version](https://badge.fury.io/py/biomaj-release.svg)](https://badge.fury.io/py/biomaj-release)

Biomaj remote bank release watcher

Scan every day remote banks release modifications and send stats to prometheus and influxdb about new release detection. When a new release is detected, according to minimal delay configuration (in global or bank properties), a new bank update is sent.

If influxdb is available and updated with bank updates, minimal delay will also be computed based on mean workflow duration. In any case, minimal duration is 1 day.

Properties in global.properties and/or your bank property file:

schedule.delay=3 # minimal 3 days between checks schedule.auto=true # Default=true, if false, auto scan is disabled

Program will try to increase delay between updates when no new release is detected and to decrease it when a new release occurs.

# Requirements

redis

# Development

flake8 –ignore E501 biomaj-release

# Prometheus metrics

Endpoint:

/metrics /api/release/schedule/bank : schedule checks for all banks /api/release/schedule/bank/<bank> : schedule check for bank

# Run

python bin/biomaj_release.py

3.0.3:

Fix traefik prefix

3.0.2:

Allow per service endpoint definition If bank failed, try anyway Add tags for traefik support

3.0.1:

Start internal web server even if consul is not declared

3.0.0:

Micro service to watch remote bank releases

Release files for biomaj-release 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-release 3.0.4
File Interpreter ABI Platform
biomaj_release-3.0.4-py2.py3-none-any.whl Python 3, Python 2 none any Details

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

Download URL biomaj_release-3.0.4-py2.py3-none-any.whl
Size 6.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
5468072aeac8736cba9eba6f413e1bea3b89864aced67e5bfdb82114c33c48ba
BLAKE2b-256 checksum
How to use checksums
f15f2e33261cd1ed1c3e682dcfa46f9be141afa0819900e0e1fda1f85638771d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 CPython/3.10.4

Release history Release notifications | RSS feed

This release

3.0.4 This release

1 release file

3.0.3

2 release files

3.0.2

2 release files

3.0.1

1 release file

3.0.0

1 release file

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