Skip to main content

BioMAJ process service

Project description

# About

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

A protobuf interface is available in biomaj_process/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_process/message:

protoc –python_out=. message.proto

# Development

flake8 biomaj_process

# Prometheus metrics

Endpoint: /api/process/metrics

# Run

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

## Web server

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

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

3.0.1:

bug fixes

3.0.0:

move process 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_process-3.0.1.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

biomaj_process-3.0.1-py2.py3-none-any.whl (13.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file biomaj_process-3.0.1.tar.gz.

File metadata

File hashes

Hashes for biomaj_process-3.0.1.tar.gz
Algorithm Hash digest
SHA256 f2e09a95a4a6de88b1f1a0baf9e58748ea199085e6cbe660cfdae4b58745a2dc
MD5 0b1051c2ec2ce49f15abf90edac0abce
BLAKE2b-256 b0bd3637129cfd100904d62166f4de692a147308ada9feae42793f32ee1fe905

See more details on using hashes here.

File details

Details for the file biomaj_process-3.0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for biomaj_process-3.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 900b7bdf69752147bce02cd19a7f6e6c4d360d0af40af5a2fc6a1a4ae9cc9203
MD5 1f1ef0b9a80e50241bf578a95f9af50e
BLAKE2b-256 70baf5be77c8daf366ff59ecf303d3c6dce13d03a8a3452685abb60eaad55ffe

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