Open Sustainable Technology

A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

Browse accepted projects | Review proposed projects | Propose new project | Open Issues

prommis

Process Optimization and Modeling for Minerals Sustainability.
https://github.com/prommis/prommis

Last synced: about 20 hours ago
JSON representation

Repository metadata

Process Optimization and Modeling for Minerals Sustainability

README

        

# 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" .
```


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 2 days ago

Total Commits: 143
Total Committers: 16
Avg Commits per committer: 8.938
Development Distribution Score (DDS): 0.734

Commits in past year: 143
Committers in past year: 16
Avg Commits per committer in past year: 8.938
Development Distribution Score (DDS) in past year: 0.734

Name Email Commits
MarcusHolly m****y@k****m 38
Ludovico Bianchi l****i@l****v 31
Arkoprabho Dasgupta a****7@g****m 25
Andrew Lee a****e@n****v 11
MarcusHolly 9****y 9
Brandon Paul 8****4 7
Dan Gunter d****r@l****v 5
Jinliang Ma j****a@n****v 4
ArkoprabhoDasgupta 1****a 3
agarciadiego 4****o 2
ChrisLaliwala 1****a 2
Akintomiwa Ojo 1****o 2
agarciadiego a****g@k****m 1
Arkoprabho Dasgupta a****5@m****u 1
mollydougher 1****r 1
Keith Beattie k****e@l****v 1

Committer domains:


Issue and Pull Request metadata

Last synced: 2 days ago

Total issues: 24
Total pull requests: 66
Average time to close issues: 23 days
Average time to close pull requests: 12 days
Total issue authors: 6
Total pull request authors: 13
Average comments per issue: 0.75
Average comments per pull request: 2.82
Merged pull request: 48
Bot issues: 0
Bot pull requests: 0

Past year issues: 24
Past year pull requests: 66
Past year average time to close issues: 23 days
Past year average time to close pull requests: 12 days
Past year issue authors: 6
Past year pull request authors: 13
Past year average comments per issue: 0.75
Past year average comments per pull request: 2.82
Past year merged pull request: 48
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/prommis/prommis

Top Issue Authors

  • lbianchi-lbl (13)
  • bpaul4 (5)
  • MarcusHolly (3)
  • Agfritz (1)
  • dangunter (1)
  • ksbeattie (1)

Top Pull Request Authors

  • lbianchi-lbl (19)
  • MarcusHolly (10)
  • bpaul4 (7)
  • ArkoprabhoDasgupta (7)
  • ksbeattie (5)
  • ChrisLaliwala (4)
  • andrewlee94 (4)
  • mollydougher (2)
  • agarciadiego (2)
  • jinliangma (2)
  • Akintomiwaojo (2)
  • dangunter (1)
  • Lingyan90 (1)

Top Issue Labels

  • Priority:Normal (17)
  • Priority:High (5)
  • documentation (3)
  • Priority:Low (1)
  • IDAES (1)
  • Priority:Would be nice (1)
  • WaterTAP (1)

Top Pull Request Labels

  • Priority:Normal (37)
  • Priority:High (23)
  • WaterTAP (7)
  • documentation (3)
  • enhancement (3)
  • IDAES (2)
  • bug (1)

Package metadata

pypi.org: prommis

  • Homepage:
  • Documentation: https://prommis.readthedocs.io/
  • Licenses: BSD License
  • Latest release: 0.3.0 (published about 1 month ago)
  • Last Synced: 2024-05-10T09:07:46.580Z (2 days ago)
  • Versions: 4
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 71 Last month
  • Rankings:
    • Dependent packages count: 10.151%
    • Average: 38.561%
    • Dependent repos count: 66.971%
  • Maintainers (4)

Dependencies

.github/actions/install/action.yml actions
  • actions/checkout v3 composite
  • conda-incubator/setup-miniconda v2.3.0 composite
.github/workflows/core.yml actions
  • actions/checkout v4 composite
  • actions/setup-python v4 composite
  • prommis/prommis/.github/actions/install main composite
pyproject.toml pypi
  • idaes-pse >= 2.3.0rc1
  • pyomo >= 6.7.0
requirements-dev.txt pypi
  • astroid ==2.15.8 development
  • black ==23.11.0 development
  • isort * development
  • jupyter-book ==0.15. development
  • nbmake ==1.4.6 development
  • pylint ==2.17.7 development
  • pytest ==7. development

Score: 10.241101993736118