Skip to main content

Pytzer

Tests Coverage pypi badge Conda Version DOI License: GPL v3 Ruff

Pytzer is a Python implementation of the Pitzer model for chemical activities in aqueous solutions [P91] plus solvers to determine the equilibrium state of the system.

Pytzer is in beta! Use at your own peril.

Installation

For general use

Install with pip (any OS):

pip install pytzer

On Mac or Linux, you can alternatively install from conda-forge:

conda install conda-forge::pytzer

However, the above will not work on Windows, because jax is not on conda-forge for Windows - so use pip instead.

Once installed, you will need to set the environment variable JAX_ENABLE_X64=True. For example, using conda:

conda env config vars set JAX_ENABLE_X64=True

Documentation

A work in progress at pytzer.hseao3.group.

Citation

Pytzer is maintained by Dr Matthew P. Humphreys at the NIOZ Royal Netherlands Institute for Sea Research (Texel, the Netherlands).

For now, the appropriate citation is:

Humphreys, Matthew P. and Schiller, Abigail J. (2024). Pytzer: the Pitzer model for chemical activities and equilibria in aqueous solutions in Python (beta). Zenodo. doi:10.5281/zenodo.2637914.

Please report which version of Pytzer you are using. You can find this in Python with:

import pytzer as pz
pz.hello()

Release files for Pytzer 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Pytzer 0.6.0
File Size Uploaded
pytzer-0.6.0.tar.gz 107.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Pytzer 0.6.0
File Interpreter ABI Platform
Pytzer-0.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 231.4 kB

Release files / pytzer-0.6.0.tar.gz

Download URL pytzer-0.6.0.tar.gz
Size 107.7 kB
Tags Source
SHA-256 checksum
How to use checksums
d6ac57c1cdc02e100f7a07272f49d67b6cdd5aac1f5dd57d551356dbcbc8c8c0
BLAKE2b-256 checksum
How to use checksums
e3e8e63a481663ccca9673e6824024532a1683e853c498a75b62a39bc6f20e04
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.0

Release files / Pytzer-0.6.0-py3-none-any.whl

Download URL Pytzer-0.6.0-py3-none-any.whl
Size 123.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b0f032edee6fba2373dd53a0da9cf8f99837d1041c8c5be3a747e25f0eff6f8b
BLAKE2b-256 checksum
How to use checksums
b04886110ff951c5236ca276c2b16e7f48e2f71e7fb96b75aeedd32ccc8f5b11
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.0

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

1 release file

0.2.2

3 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.12

2 release files

0.1.11

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page