Skip to main content

A Python-based library to generate Pourbaix diagrams (potential/pH diagram)

Project description

PourPy

Binder

A Python-based library to generate Pourbaix diagrams (potential/pH diagram). PourPy is an open-source python package, capable of generating thermodynamic stability diagrams of solid phases and complexes in aqueous electrolytes. These so-called Pourbaix diagrams provide valuable information about the reactivity of chemical elements and compounds as a function of the electrochemical potential and the pH.

PourPy is intended as a tool, enabling users to inspect the reactivity of aqueous systems under full control of all chemical species considered. Users can define custom reactive systems containing elements, solid, aqueous and gaseous species thereof and build all (electro)chemical reactions to be displayed.

Dependencies

Here is the list of dependencies:

  • argparse
  • shapely (https://shapely.readthedocs.io/en/stable/)
  • bokeh (for using bokeh as plotting backend)
  • matplotlib (for using matplotlib as plotting backend)
  • python (<= 3.10) and pip to install the Python package

Optional : For generationg documentation

  • nbsphinx
  • sphinx-autoapi
  • sphinx_rtd_theme

Installation

Install the latest release from the Package repository:

pip install PourPy

Documentation

The latest documentation is available on readthedocs. Please refer to the documentation on how to use the PourPy package: pourbaix-diagrams.rtfd.io

Webapp

PourPy is also available as a webapp with all the functionalities PourPy Weabpp

Examples

For live and interacting examples mentioned in the documentation, please check the following link: Interactive examples

Contributing

Contributions to PourPy are welcome! Please follow the guidelines below.

Report an issue If you have an account on gitlab, you can submit an issue.

Submit a patch / merge-request Follow this guide to create a merge request on GitLab. Please target the repository's main branch.

License

PourPy is distributed under the terms of GNU LGPL v3

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pourpy-1.1.1.tar.gz (58.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

PourPy-1.1.1-py3-none-any.whl (46.3 kB view details)

Uploaded Python 3

File details

Details for the file pourpy-1.1.1.tar.gz.

File metadata

  • Download URL: pourpy-1.1.1.tar.gz
  • Upload date:
  • Size: 58.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for pourpy-1.1.1.tar.gz
Algorithm Hash digest
SHA256 a5906e457bdb0d5b0102f87890fa9b6eede45c8674caa2ff0873a0792830642c
MD5 b4f541d011f4a10dda62dd680c109ddd
BLAKE2b-256 b7c545865b6faf98306bf47a086d407d0909730b549e8aefd5242ddc076a498a

See more details on using hashes here.

File details

Details for the file PourPy-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: PourPy-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 46.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for PourPy-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 282dfa60ba8b9bd75ef5c1e0e5c1e7c96b43aade12e2f7978065b1636bc81092
MD5 3fcc9c6f48214db91e017d543c4c2593
BLAKE2b-256 7c886b93103c0d24a2267d463e499330e12084396beb584ad3f4680a5b6a356a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page