masspy


Namemasspy JSON
Version 0.1.7 PyPI version JSON
download
home_pagehttps://github.com/SBRG/MASSpy/
SummaryMASSpy is a package for dynamic modeling of biological processes.
upload_time2022-12-09 02:34:47
maintainerZachary B. Haiman
docs_urlNone
authorZachary B. Haiman
requires_python~=3.7
licenseMIT
keywords python metabolism biology constraint-based modeling linear programming mixed-integer optimization flux-balance analysis reconstruction dynamic simulation kinetic modeling ordinary differential equations
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # MASSpy - Mass Action Stoichiometric Simulation in Python

[![MASSpy release (latest SemVer)][1]](https://github.com/SBRG/MASSpy/releases)
[![PyPI - Python Version][2]](https://pypi.org/project/masspy/)
[![GitHub Workflow Status - Tests][3]](https://github.com/SBRG/MASSpy/actions/workflows/main.yml)
[![Read the Docs][4]](https://masspy.readthedocs.io/)
[![Codecov][5]](https://app.codecov.io/gh/SBRG/MASSpy)
[![GitHub License][6]](https://github.com/SBRG/MASSpy/blob/main/LICENSE)
[![Docker Image Size (latest semver)][7]](https://hub.docker.com/r/sbrg/masspy)
[![Code style: black][8]](https://github.com/psf/black)
[![pre-commit][9]](https://github.com/pre-commit/pre-commit)
[![MASSpy Publication][10]](https://doi.org/10.1371/journal.pcbi.1008208)

<p align="center"><img src="https://raw.githubusercontent.com/SBRG/MASSpy/main/docs/media/images/masspy-logo.svg" alt="MASSpy-Symbol" width="250" height="250"/></p>

## What is MASSpy?

The **M**ass **A**ction **S**toichiometric **S**imulation **py**thon
(**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**][11], 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**][11], thereby providing a wide range of modeling
workflows and techniques. Additional information about [**COBRApy**][11] can be found in its
[documentation](https://cobrapy.readthedocs.io/en/latest/index.html>).

## Installation

Check out the following information from the [Quick Start](https://masspy.readthedocs.io/en/latest/installation/quickstart.html) 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](https://pypi.org/project/masspy/)
It is recommended to do this inside a [virtual environment](http://docs.python-guide.org/en/latest/dev/virtualenvs/)::

    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](https://masspy.readthedocs.io/en/latest/installation/quickstart.html) 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](https://www.sphinx-doc.org/) and hosted by [ReadTheDocs](https://readthedocs.org/).

### 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](https://masspy.readthedocs.io/en/latest/references.html) and [Code Repositories](https://masspy.readthedocs.io/en/latest/additional/code_repositories.html) sections of the documentation.

## Support

Not sure how to [file an issue](.github/SUPPORT.md), want to [contribute](.github/CONTRIBUTING.md) to MASSpy, or just looking for some [general guidance](.github/FAQ.md)? Check out the [Support page](.github/SUPPORT.md)!

## License

The **MASSpy** source is released under the [MIT license](https://github.com/SBRG/MASSpy/blob/main/LICENSE). However, please note that binary packages (e.g., GLPK, CPLEX, etc.) and other dependencies (e.g. [openCOBRA packages](https://opencobra.github.io/), [libRoadRunner](http://libroadrunner.org/), etc.) will be bound by their respective license agreements as well.

[1]: https://img.shields.io/github/v/release/sbrg/masspy?label=MASSpy&sort=semver&style=plastic
[2]: https://img.shields.io/pypi/pyversions/masspy?logo=python&style=plastic
[3]: https://img.shields.io/github/workflow/status/sbrg/masspy/CI-CD?label=Tests&logo=GitHub%20Actions&style=plastic
[4]: https://img.shields.io/readthedocs/masspy?label=docs&logo=Read%20the%20Docs&style=plastic
[5]: https://img.shields.io/codecov/c/github/sbrg/masspy?logo=codecov&style=plastic
[6]: https://img.shields.io/github/license/sbrg/masspy?style=plastic
[7]: https://img.shields.io/docker/image-size/sbrg/masspy?label=Docker%20Img&logo=Docker&sort=semver&style=plastic
[8]: https://img.shields.io/badge/code%20style-black-000000.svg?style=plastic
[9]: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white&style=plastic
[10]: https://img.shields.io/badge/DOI-10.1371%2Fjournal.pcbi.1008208-blue?style=plastic
[11]: https://github.com/opencobra/cobrapy

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/SBRG/MASSpy/",
    "name": "masspy",
    "maintainer": "Zachary B. Haiman",
    "docs_url": null,
    "requires_python": "~=3.7",
    "maintainer_email": "zhaiman@eng.ucsd.edu",
    "keywords": "python,metabolism,biology,constraint-based modeling,linear programming,mixed-integer,optimization,flux-balance analysis,reconstruction,dynamic simulation,kinetic modeling,ordinary differential equations",
    "author": "Zachary B. Haiman",
    "author_email": "zhaiman@eng.ucsd.edu",
    "download_url": "https://files.pythonhosted.org/packages/69/e5/d5cf28f002197b7bc39d3fe8256efbaa3170447e0857d556f5731c22de02/masspy-0.1.7.tar.gz",
    "platform": null,
    "description": "# MASSpy - Mass Action Stoichiometric Simulation in Python\n\n[![MASSpy release (latest SemVer)][1]](https://github.com/SBRG/MASSpy/releases)\n[![PyPI - Python Version][2]](https://pypi.org/project/masspy/)\n[![GitHub Workflow Status - Tests][3]](https://github.com/SBRG/MASSpy/actions/workflows/main.yml)\n[![Read the Docs][4]](https://masspy.readthedocs.io/)\n[![Codecov][5]](https://app.codecov.io/gh/SBRG/MASSpy)\n[![GitHub License][6]](https://github.com/SBRG/MASSpy/blob/main/LICENSE)\n[![Docker Image Size (latest semver)][7]](https://hub.docker.com/r/sbrg/masspy)\n[![Code style: black][8]](https://github.com/psf/black)\n[![pre-commit][9]](https://github.com/pre-commit/pre-commit)\n[![MASSpy Publication][10]](https://doi.org/10.1371/journal.pcbi.1008208)\n\n<p align=\"center\"><img src=\"https://raw.githubusercontent.com/SBRG/MASSpy/main/docs/media/images/masspy-logo.svg\" alt=\"MASSpy-Symbol\" width=\"250\" height=\"250\"/></p>\n\n## What is MASSpy?\n\nThe **M**ass **A**ction **S**toichiometric **S**imulation **py**thon\n(**MASSpy**) package contains modules for the construction, simulation, and\nanalysis of kinetic models of biochemical reaction systems.\n\n**MASSpy** is built to integrate seemlessly with [**COBRApy**][11], a widely used\nmodeling software package for constraint-based reconstruction and analysis of\nbiochemical reaction systems. Therefore **MASSpy**  can be used seperately from\nor in conjuction with [**COBRApy**][11], thereby providing a wide range of modeling\nworkflows and techniques. Additional information about [**COBRApy**][11] can be found in its\n[documentation](https://cobrapy.readthedocs.io/en/latest/index.html>).\n\n## Installation\n\nCheck out the following information from the [Quick Start](https://masspy.readthedocs.io/en/latest/installation/quickstart.html) guide to get started using MASSpy!\n\n### With Python 3.7+\n\nThe recommended method is to install **MASSpy** is to use ``pip`` to\ninstall the software from the [Python Package Index](https://pypi.org/project/masspy/)\nIt is recommended to do this inside a [virtual environment](http://docs.python-guide.org/en/latest/dev/virtualenvs/)::\n\n    pip install \"masspy\"\n\nTo install **MASSpy** with visualization dependencies:\n\n    pip install \"masspy[visualization]\"\n\nTo install **MASSpy** with all optional dependencies:\n\n    pip install \"masspy[all]\"\n\n### With Docker\nTo quickly get started with the latest version of MASSpy using Docker, run the following commands in a shell:\n\n    docker pull sbrg/masspy\n    docker run --rm \\\n        --mount type=volume,src=licenses,dst=/home/masspy_user/opt/licenses \\\n        --mount type=volume,src=mass_project,dst=/home/masspy_user/mass_project \\\n        --publish 8888:8888 \\\n        -it sbrg/masspy\n\nFrom within the container, either run ``python`` or ``jupyter notebook --ip=0.0.0.0 --port=8888`` depending on\nthe desired Python workspace. Don't forget to change the port number if it is already being used!\n\n### Additional installation details\n\nFor 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](https://masspy.readthedocs.io/en/latest/installation/quickstart.html) in the documentation!\n\n## Documentation\nThe 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](https://www.sphinx-doc.org/) and hosted by [ReadTheDocs](https://readthedocs.org/).\n\n### Cite\n\nTo cite the **MASSpy** software publication:\n\n> Haiman ZB, Zielinski DC, Koike Y, Yurkovich JT, Palsson BO (2021)\n> MASSpy: Building, simulating, and visualizing dynamic biological models in Python using mass action kinetics.\n> PLOS Computational Biology 17(1): e1008208. https://doi.org/10.1371/journal.pcbi.1008208\n\nAdditionally, 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](https://masspy.readthedocs.io/en/latest/references.html) and [Code Repositories](https://masspy.readthedocs.io/en/latest/additional/code_repositories.html) sections of the documentation.\n\n## Support\n\nNot sure how to [file an issue](.github/SUPPORT.md), want to [contribute](.github/CONTRIBUTING.md) to MASSpy, or just looking for some [general guidance](.github/FAQ.md)? Check out the [Support page](.github/SUPPORT.md)!\n\n## License\n\nThe **MASSpy** source is released under the [MIT license](https://github.com/SBRG/MASSpy/blob/main/LICENSE). However, please note that binary packages (e.g., GLPK, CPLEX, etc.) and other dependencies (e.g. [openCOBRA packages](https://opencobra.github.io/), [libRoadRunner](http://libroadrunner.org/), etc.) will be bound by their respective license agreements as well.\n\n[1]: https://img.shields.io/github/v/release/sbrg/masspy?label=MASSpy&sort=semver&style=plastic\n[2]: https://img.shields.io/pypi/pyversions/masspy?logo=python&style=plastic\n[3]: https://img.shields.io/github/workflow/status/sbrg/masspy/CI-CD?label=Tests&logo=GitHub%20Actions&style=plastic\n[4]: https://img.shields.io/readthedocs/masspy?label=docs&logo=Read%20the%20Docs&style=plastic\n[5]: https://img.shields.io/codecov/c/github/sbrg/masspy?logo=codecov&style=plastic\n[6]: https://img.shields.io/github/license/sbrg/masspy?style=plastic\n[7]: https://img.shields.io/docker/image-size/sbrg/masspy?label=Docker%20Img&logo=Docker&sort=semver&style=plastic\n[8]: https://img.shields.io/badge/code%20style-black-000000.svg?style=plastic\n[9]: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white&style=plastic\n[10]: https://img.shields.io/badge/DOI-10.1371%2Fjournal.pcbi.1008208-blue?style=plastic\n[11]: https://github.com/opencobra/cobrapy\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "MASSpy is a package for dynamic modeling of biological processes.",
    "version": "0.1.7",
    "split_keywords": [
        "python",
        "metabolism",
        "biology",
        "constraint-based modeling",
        "linear programming",
        "mixed-integer",
        "optimization",
        "flux-balance analysis",
        "reconstruction",
        "dynamic simulation",
        "kinetic modeling",
        "ordinary differential equations"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "22378e40e55f31d156f448713ad22d98",
                "sha256": "cde84d3744e8143d6a5a0b9d51a656874aabeea3de1f61371c234420df29b17c"
            },
            "downloads": -1,
            "filename": "masspy-0.1.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "22378e40e55f31d156f448713ad22d98",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "~=3.7",
            "size": 411741,
            "upload_time": "2022-12-09T02:34:41",
            "upload_time_iso_8601": "2022-12-09T02:34:41.120138Z",
            "url": "https://files.pythonhosted.org/packages/57/c7/4f3603f60c48ce8dbb696c8d0cc2c5694d08ebbe18c18737e7925e34ab2a/masspy-0.1.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "bd7bc7c26539dce547223f5499ad1e7b",
                "sha256": "1e7e7b73cc0706305a551c97884f9c38904525c543688ac806a120e48dc349fa"
            },
            "downloads": -1,
            "filename": "masspy-0.1.7.tar.gz",
            "has_sig": false,
            "md5_digest": "bd7bc7c26539dce547223f5499ad1e7b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "~=3.7",
            "size": 51555913,
            "upload_time": "2022-12-09T02:34:47",
            "upload_time_iso_8601": "2022-12-09T02:34:47.569863Z",
            "url": "https://files.pythonhosted.org/packages/69/e5/d5cf28f002197b7bc39d3fe8256efbaa3170447e0857d556f5731c22de02/masspy-0.1.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-09 02:34:47",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "SBRG",
    "github_project": "MASSpy",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "masspy"
}
        
Elapsed time: 0.12876s