Skip to main content

BioMAJ download service

Project description

# About

Experimental (in progress) microservice to manage the downloads of biomaj.

A protobuf interface is available in biomaj_download/message/message_pb2.py to exchange messages between BioMAJ and the download service.
Messages go through RabbitMQ (to be installed).

# Protobuf

To compile protobuf, in biomaj_download/message:

protoc --python_out=. message.proto

# Development

flake8 biomaj_download/*.py biomaj_download/download

# Prometheus metrics

Endpoint: /api/download/metrics


# Run

## Message consumer:
export BIOMAJ_CONFIG=path_to_config.yml
python bin/biomaj_download_consumer.py

## Web server

export BIOMAJ_CONFIG=path_to_config.yml
gunicorn biomaj_download.biomaj_download_web:app

Web processes should be behind a proxy/load balancer, API base url /api/download


3.0.4:
Fixes on messages
3.0.3:
Fix management of timeout leading to a crash when using biomaj.download parameter.
3.0.2:
set rabbitmq parameter optional
3.0.1:
add missing README etc.. in package
3.0.0:
move download management out of biomaj main package

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_download-3.0.4.tar.gz (22.3 kB view details)

Uploaded Source

Built Distribution

biomaj_download-3.0.4-py2.py3-none-any.whl (34.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file biomaj_download-3.0.4.tar.gz.

File metadata

File hashes

Hashes for biomaj_download-3.0.4.tar.gz
Algorithm Hash digest
SHA256 fc59456e425dc1aa95abd455019adcc413e16eae77838fb8388e669e0474101e
MD5 8c20cee7f983bd3156407554054e7374
BLAKE2b-256 0aa8c01a51830dfd51806bd1391e83a7f64dd806868c1b8a029e80c052c84a27

See more details on using hashes here.

File details

Details for the file biomaj_download-3.0.4-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for biomaj_download-3.0.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 20ac85bf738ee9dbf87d124ac8d90f3e57f51d2cf74bd0cb7aaab76aa3b613cc
MD5 94f48bef32ce7ca8838d0ed2b9c3d0df
BLAKE2b-256 384439fffad3447b1f088774ea0ab950301ec6bf30d720b3186a7bc4d0160858

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