Simulation Verification Service and API
Project description
BioCheck: A Simulation Verification Service API
This service utilizes separate containers for API management, job processing, and datastorage with MongoDB, ensuring scalable and robust performance.
Getting Started:
HIGH-LEVEL bio_check
API:
The primary method of user-facing interaction for this service is done through the use of a high-level "notebook" api called bio_check
. Installation of this tooling
can be performed using PyPI as such:
pip install bio-check
PLEASE NOTE: You must have >=python3.9
in order to use the high-level api.
FOR DEVELOPERS:
This application (bio_check
) uses a microservices architecture which presents the following libraries:
api
: This library handles all requests including saving uploaded files, pending job creation, fetching results, and contains the user-facing endpoints.storage
: This library handles MongoDB configs as well as bucket-like storages for uploaded files.worker
: This library handles all job processing tasks for verification services such as job status adjustment, job retrieval, and comparison execution.
The installation process is outlined as follows:
git clone https://github.com/biosimulators/bio-check.git
cd bio-check/bio_check
touch .env
- Enter the following fields into the
.env
file:MONGO_DB_USERNAME, MONGO_DB_PWD, MONGO_DB_URI
. - Ensure that your IP address has been authorized in the
bio-check
cluster in Mongo Atlas.
Notes:
- This application currently uses MongoDB as the database store in which jobs are read/written. Database access is given to both the
api
andworker
libraries. Such database access is executed/implemented with the use of aSupervisor
singleton. TODO: Make this pattern implementation threadsafe.
Note (05/22/2024):
The only package source that is currently supported by this tooling is PyPI
. The support of other potential
package sources such as conda
, brew
, apt
, and more is currently under development.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for bio_check-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 493cd3268b7e15240195c2a804725d2bb125b1136ba7796db9ba1e43be3e7d0a |
|
MD5 | 462bdb1477b8400490337c245e0aba9d |
|
BLAKE2b-256 | 69cddb376f778445b5695f3818039b5e1a15038109bd9d7878dcc867bad702c5 |