Skip to main content

Tools for geochemical data analysis.

Project description

pyrolite

pyrolite Logo

pyrolite Documentation pyOpenSci DOI License: CSIRO Modified BSD/MIT License Try pyrolite on Binder Chat on Gitter

pyrolite is a set of tools for making the most of your geochemical data.

The python package includes functions to work with compositional data, to transform geochemical variables (e.g. elements to oxides), functions for common plotting tasks (e.g. spiderplots, ternary diagrams, bivariate and ternary density diagrams), and numerous auxiliary utilities.

pyrolite is principally developed for use in geochemical research, but is also well suited to being incorporated into university-level geochemistry and petrology classes which wish to include a little Python. The documentation is continually evolving, and more examples and tutorials will gradually be added (feel free to request features or examples; see Contributing below).

Install

PyPI Compatible Python Versions pyrolite downloads

pip install pyrolite

If you want the most up to date development version, you can instead install directly from the GitHub repo. Note that breaking changes occur on this branch, and is not guaranteed to remain stable (check the Development and Build Status below). If you still want to try out the most recent bugfixes and yet-to-be-released features, you can setup an enviroinment using uv with:

git clone git://github.com/morganjwilliams/pyrolite.git@develop
git checkout develop
uv sync --extra dev

For more information, see the documentation's installation page, and the Getting Started Guide.

Examples

Check out the documentation for galleries of examples and tutorials. The corresponding sources of these examples exist as marked-up .py files in this repository (which get converted to Jupyter notebooks on ReadTheDocs); you can find them under the folders docs/source/gallery/examples and docs/source/gallery/tutorials.

Contributing

The long-term aim of this project is to be designed, built and supported by (and for) the geochemistry community. The project welcomes feature requests, bug reports and contributions to the code base, documentation and test suite. We're happy to help onboard new contributors and walk you through the process. Check out the Issues Board to get an idea of some of the some of the currently identified bugs and things we're looking to work on. For more information, see the documentation, particularly the Contributing page and Code of Conduct.

For a list of people who have helped build and improve pyrolite, check out the Contributors page.

If you'd like an idea of where the project might be heading in the near future, have a look at the current roadmap.

Citation

DOI Archive

If you use pyrolite extensively for your research, citation of the software would be particularly appreciated. It helps quantify the impact of the project (assisting those contributing through paid and volunteer work), and is one way to get the message out and help build the pyrolite community. For information on citing pyrolite, see the relevant docs page. A CITATION.cff file is also provided for reference.

Development & Build Status

Formatted with Ruff Code Quality

main develop
Unit Tests on main Unit Tests on Develop
Coverage Status Coverage Status

Maintainer: Morgan Williams (morgan.williams at csiro.au)

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

pyrolite-0.3.7.tar.gz (5.9 MB view details)

Uploaded Source

Built Distribution

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

pyrolite-0.3.7-py3-none-any.whl (6.1 MB view details)

Uploaded Python 3

File details

Details for the file pyrolite-0.3.7.tar.gz.

File metadata

  • Download URL: pyrolite-0.3.7.tar.gz
  • Upload date:
  • Size: 5.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for pyrolite-0.3.7.tar.gz
Algorithm Hash digest
SHA256 bc257792a611b2c5c8540537e6a8545b58704c7d5c81f19d4e4b3362ec9a1ad4
MD5 c307e10e7bf4bf5e86a58426966e6d12
BLAKE2b-256 b42a8cebd2179b25d85a36ce90f733de63b038d39f1efc13e572929c78563a74

See more details on using hashes here.

File details

Details for the file pyrolite-0.3.7-py3-none-any.whl.

File metadata

  • Download URL: pyrolite-0.3.7-py3-none-any.whl
  • Upload date:
  • Size: 6.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for pyrolite-0.3.7-py3-none-any.whl
Algorithm Hash digest
SHA256 1bf1aed4b6f58947c36bd3ceb117595abd70109538e48e09364baaf15111cf62
MD5 be7234c955485b16f9a53f87cf613d6d
BLAKE2b-256 95813dfbdcaab33fd9e33ce3876898313c1d036b9e5b125d6f1d16eeebd29d21

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