prommis


Nameprommis JSON
Version 0.3.0 PyPI version JSON
download
home_pageNone
SummaryNone
upload_time2024-03-29 23:28:49
maintainerNone
docs_urlNone
authorNone
requires_pythonNone
licenseNone
keywords idaes energy systems chemical engineering process modeling
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # prommis
Process Optimization and Modeling for Minerals Sustainability

## Getting started (for PrOMMiS contributors)

Unless otherwise noted, these commands assume that the working directory is the root of the local clone of this repository (i.e. the directory containing this README file).

### Installation

```sh
conda create --name prommis-dev --yes python=3.11
conda activate prommis-dev
git clone https://github.com/prommis/prommis && cd prommis
pip install -r requirements-dev.txt
```

### Before committing

Before running any of these commands, ensure the `prommis-dev` Conda environment has been activated:

```sh
conda activate prommis-dev
```

#### Sort import statements

```sh
isort src/prommis
```

#### Formatting code

```sh
black .
```

#### Running linter (Pylint)

```sh
pylint prommis
```

#### Running spell checker (Typos)

```sh
typos
```

Note: if the `typos` executable is not found, it can be installed by running `conda install --yes -c conda-forge typos` after activating the `prommis-dev` Conda environment.

#### Running tests

```sh
pytest                          # run the complete test suite
pytest -k test_my_flowsheet.py  # run only test defined in the file named test_my_flowsheet.py
```

#### Building documentation

From the `docs/` subdirectory:

```sh
jupyter-book build .
```

#### Testing (executing) notebooks

From the `docs/` subdirectory:

```sh
pytest --nbmake -m "solution" .
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "prommis",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "IDAES, energy systems, chemical engineering, process modeling",
    "author": null,
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/95/89/d3a4682c707916e115b40f2a272881e0a1110934f8e3c33da2655643c950/prommis-0.3.0.tar.gz",
    "platform": null,
    "description": "# prommis\nProcess Optimization and Modeling for Minerals Sustainability\n\n## Getting started (for PrOMMiS contributors)\n\nUnless otherwise noted, these commands assume that the working directory is the root of the local clone of this repository (i.e. the directory containing this README file).\n\n### Installation\n\n```sh\nconda create --name prommis-dev --yes python=3.11\nconda activate prommis-dev\ngit clone https://github.com/prommis/prommis && cd prommis\npip install -r requirements-dev.txt\n```\n\n### Before committing\n\nBefore running any of these commands, ensure the `prommis-dev` Conda environment has been activated:\n\n```sh\nconda activate prommis-dev\n```\n\n#### Sort import statements\n\n```sh\nisort src/prommis\n```\n\n#### Formatting code\n\n```sh\nblack .\n```\n\n#### Running linter (Pylint)\n\n```sh\npylint prommis\n```\n\n#### Running spell checker (Typos)\n\n```sh\ntypos\n```\n\nNote: if the `typos` executable is not found, it can be installed by running `conda install --yes -c conda-forge typos` after activating the `prommis-dev` Conda environment.\n\n#### Running tests\n\n```sh\npytest                          # run the complete test suite\npytest -k test_my_flowsheet.py  # run only test defined in the file named test_my_flowsheet.py\n```\n\n#### Building documentation\n\nFrom the `docs/` subdirectory:\n\n```sh\njupyter-book build .\n```\n\n#### Testing (executing) notebooks\n\nFrom the `docs/` subdirectory:\n\n```sh\npytest --nbmake -m \"solution\" .\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": null,
    "version": "0.3.0",
    "project_urls": null,
    "split_keywords": [
        "idaes",
        " energy systems",
        " chemical engineering",
        " process modeling"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "68c1315a25f1c1055c15bbdca17fe315b00dc1462328e2cd1fb4f068962a9c46",
                "md5": "bc4e04f2cd743869b0029a8f9a2cc2df",
                "sha256": "5d752aa54352702c91913cf76b31b60a0655ca4b859962577cb5b47fec7e7662"
            },
            "downloads": -1,
            "filename": "prommis-0.3.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "bc4e04f2cd743869b0029a8f9a2cc2df",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 122715,
            "upload_time": "2024-03-29T23:28:47",
            "upload_time_iso_8601": "2024-03-29T23:28:47.656372Z",
            "url": "https://files.pythonhosted.org/packages/68/c1/315a25f1c1055c15bbdca17fe315b00dc1462328e2cd1fb4f068962a9c46/prommis-0.3.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9589d3a4682c707916e115b40f2a272881e0a1110934f8e3c33da2655643c950",
                "md5": "be4e1bc235a6f4d57fafecd020e768ef",
                "sha256": "3ee928c8c5e179b41d29448479db8d57a1db6ecfb4b1bcbae8e99679e3b841b8"
            },
            "downloads": -1,
            "filename": "prommis-0.3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "be4e1bc235a6f4d57fafecd020e768ef",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 963450,
            "upload_time": "2024-03-29T23:28:49",
            "upload_time_iso_8601": "2024-03-29T23:28:49.623423Z",
            "url": "https://files.pythonhosted.org/packages/95/89/d3a4682c707916e115b40f2a272881e0a1110934f8e3c33da2655643c950/prommis-0.3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-29 23:28:49",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "prommis"
}
        
Elapsed time: 0.23159s