Skip to main content

PYPI Deployment

BioSimulator Processes

Core implementations of process-bigraph.composite.Process() and process-bigraph.composite.Step() aligning with BioSimulators simulation tools. A complete environment with version-controlled dependencies already installed is available as a Docker container on GHCR.

Installation:

A. Via the Python Package Index. You may download BioSimulator Processes with:

     pip install biosimulator-processes

We recommend using an environment/package manager like Conda if downloading from PyPI to install the dependencies required for your use. Most of the direct UI content for this tooling will be in the form of a jupyter notebook. The installation for this notebook is provided below.

Simulator process set-up and installation

This project implements the process_bigraph.Process() interface around several "low-level" simulator python APIs. The error-handling in bsp is set in such a way that if a particular simulator is not installed, then the corresponding process implementation for it will not be loaded into memory. Consider the following list of "optional" dependencies, convering the entire range of available implementations:

amici = ["amici (>=0.30.0,<0.31.0)"]
builder = ["bigraph-builder (>=0.0.4,<0.0.5)", "bigraph-viz (>=0.0.35,<0.0.36)"]
cobra = ["cobra (>=0.29.1,<0.30.0)", "imageio (>=2.36.1,<3.0.0)"]
copasi = ["copasi-basico (>=0.82,<0.83)"]
dev = ["pytest (>=8.3.4,<9.0.0)", "mypy (>=1.14.1,<2.0.0)", "flake8 (>=7.1.1,<8.0.0)", "pip-autoremove (>=0.10.0,<0.11.0)"]
quantum = ["qiskit[visualization] (>=1.3.1,<2.0.0)", "qiskit-ibm-runtime (>=0.34.0,<0.35.0)", "qiskit-nature (>=0.7.2,<0.8.0)", "pyscf (>=2.8.0,<3.0.0)"]
smoldyn = ["smoldyn (>=2.73,<3.0)", "simulariumio (>=1.11.0,<2.0.0)"]
tellurium = ["tellurium (>=2.2.10,<3.0.0)", "libroadrunner (>=2.7.0,<3.0.0)"]
membrane = ["pymem3dg"]

Interaction via a container available on ghcr:

  1. Ensure that the Docker Daemon is running. Most users do this by opening the Docker Desktop application.

  2. Pull the image from ghcr.io:

      docker pull ghcr.io/vivarium-collective/biosimulator-processes:latest
    
  3. If there are any "dangling" or already-running jupyter servers running on your machine, the docker run command will not properly work. Run the following and close any servers already running, if necessary:

      jupyter server list && jupyter server stop
    
  4. Run the image, ensuring that the running of the container is platform-agnostic:

      docker run --platform linux/amd64 -it -p 8888:8888 ghcr.io/vivarium-collective/biosimulator-processes:latest
    

MAC USERS: Please note that an update of XCode may be required for this to work on your machine.

As an alternative, there is a helper script that does this docker work and more. To use this script:

  1. Add the appropriate permissions to the file:
        
           chmod +x ./scripts/run-docker.sh

  2. Run the script:

           ./scripts/run-docker.sh

Quick Start Example:

TODO: copy this from the prompter demo

A NOTE FOR DEVELOPERS:

This tooling implements version control for dynamically-created composite containers through conda. The version control for content on the Python Package Index is performed by setup.py. Also, the PyTest configuration resides within ./pyproject.toml at the root of this repository.

Metadata

Release files for biosimulator-processes 0.3.19

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

Source distribution (sdist)

Source distribution for biosimulator-processes 0.3.19
File Size Uploaded Provenance Actions
biosimulator_processes-0.3.19.tar.gz 38.2 MB Without provenance Details for biosimulator_processes-0.3.19.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for biosimulator-processes 0.3.19
File Interpreter ABI Platform Actions
biosimulator_processes-0.3.19-py3-none-any.whl Python 3 none any Details for biosimulator_processes-0.3.19-py3-none-any.whl

Total release size: 76.4 MB

Release files / biosimulator_processes-0.3.19.tar.gz

Download URL biosimulator_processes-0.3.19.tar.gz
Size 38.2 MB
Tags Source
SHA-256 checksum
How to use checksums
5a347ef89250ab459ed7e5d39e8a27932b43a6d5f448b079fc9a176f738d4ccd
BLAKE2b-256 checksum
How to use checksums
ee0ef19aca2c64e8707e6211b4e5e227fb2bdb9bf999e89f5de5a44d5787dcd3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.1 CPython/3.10.16 Linux/6.8.0-1021-azure

Release files / biosimulator_processes-0.3.19-py3-none-any.whl

Download URL biosimulator_processes-0.3.19-py3-none-any.whl
Size 38.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
eb02329d3515bfe7d0b20888d286467251f388f9eec1750d8ee015e44b1c24b9
BLAKE2b-256 checksum
How to use checksums
d8d1efb3df3b7909b757e1dd181106d92b258d7b5b18905bc5af25a70c692094
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.1 CPython/3.10.16 Linux/6.8.0-1021-azure

Security for biosimulator-processes 0.3.19

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.

Release history Release notifications | RSS feed

This release

0.3.19 This release

2 release files No provenance

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