Skip to main content

MASSpy - Mass Action Stoichiometric Simulation in Python

MASSpy release (latest SemVer) PyPI - Python Version GitHub Workflow Status - Tests Read the Docs Codecov GitHub License Docker Image Size (latest semver) Code style: black pre-commit MASSpy Publication

MASSpy-Symbol

What is MASSpy?

The Mass Action Stoichiometric Simulation python (MASSpy) package contains modules for the construction, simulation, and analysis of kinetic models of biochemical reaction systems.

MASSpy is built to integrate seemlessly with COBRApy, a widely used modeling software package for constraint-based reconstruction and analysis of biochemical reaction systems. Therefore MASSpy can be used seperately from or in conjuction with COBRApy, thereby providing a wide range of modeling workflows and techniques. Additional information about COBRApy can be found in its documentation.

Installation

Check out the following information from the Quick Start guide to get started using MASSpy!

With Python 3.7+

The recommended method is to install MASSpy is to use pip to install the software from the Python Package Index It is recommended to do this inside a virtual environment::

pip install "masspy"

To install MASSpy with visualization dependencies:

pip install "masspy[visualization]"

To install MASSpy with all optional dependencies:

pip install "masspy[all]"

With Docker

To quickly get started with the latest version of MASSpy using Docker, run the following commands in a shell:

docker pull sbrg/masspy
docker run --rm \
    --mount type=volume,src=licenses,dst=/home/masspy_user/opt/licenses \
    --mount type=volume,src=mass_project,dst=/home/masspy_user/mass_project \
    --publish 8888:8888 \
    -it sbrg/masspy

From within the container, either run python or jupyter notebook --ip=0.0.0.0 --port=8888 depending on the desired Python workspace. Don't forget to change the port number if it is already being used!

Additional installation details

For additional details about how to set up an environment for MASSpy, including how to set up commercial optimizers and optional dependencies, check out the detailed Installation guide in the documentation!

Documentation

The documentation for MASSpy is found at https://masspy.rtfd.io with installation instructions and several tutorials for getting started. All documentation is generated using Sphinx and hosted by ReadTheDocs.

Cite

To cite the MASSpy software publication:

Haiman ZB, Zielinski DC, Koike Y, Yurkovich JT, Palsson BO (2021) MASSpy: Building, simulating, and visualizing dynamic biological models in Python using mass action kinetics. PLOS Computational Biology 17(1): e1008208. https://doi.org/10.1371/journal.pcbi.1008208

Additionally, please consider citing COBRApy, libRoadRunner, and other software dependencies of MASSpy! Citations and links to several dependencies as well as other useful literature sources are found in the Works Cited and Code Repositories sections of the documentation.

Support

Not sure how to file an issue, want to contribute to MASSpy, or just looking for some general guidance? Check out the Support page!

License

The MASSpy source is released under the MIT license. However, please note that binary packages (e.g., GLPK, CPLEX, etc.) and other dependencies (e.g. openCOBRA packages, libRoadRunner, etc.) will be bound by their respective license agreements as well.

Metadata

Release files for masspy 0.1.7

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

Source distribution (sdist)

Source distribution for masspy 0.1.7
File Size Uploaded
masspy-0.1.7.tar.gz 51.6 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for masspy 0.1.7
File Interpreter ABI Platform
masspy-0.1.7-py3-none-any.whl Python 3 none any Details

Total release size: 52.0 MB

Release files / masspy-0.1.7.tar.gz

Download URL masspy-0.1.7.tar.gz
Size 51.6 MB
Tags Source
SHA-256 checksum
How to use checksums
1e7e7b73cc0706305a551c97884f9c38904525c543688ac806a120e48dc349fa
BLAKE2b-256 checksum
How to use checksums
69e5d5cf28f002197b7bc39d3fe8256efbaa3170447e0857d556f5731c22de02
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.15

Release files / masspy-0.1.7-py3-none-any.whl

Download URL masspy-0.1.7-py3-none-any.whl
Size 411.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cde84d3744e8143d6a5a0b9d51a656874aabeea3de1f61371c234420df29b17c
BLAKE2b-256 checksum
How to use checksums
57c74f3603f60c48ce8dbb696c8d0cc2c5694d08ebbe18c18737e7925e34ab2a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.15

Release history Release notifications | RSS feed

This release

0.1.7 This release

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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