Skip to main content

Sulfide liquid thermodynamic model of Kress

This project contains C++ and Python wrapper code (generated using PyBind11) that calculates thermodynamic properties of sulfide liquid according to the models of:

  • Kress, Victor (1997) Thermochemistry of sulfide liquids .1. The system O-S-Fe at 1 bar. Contributions to Mineralogy and Petrology, 127[1-2], 176-186
  • Kress, Victor (2000) Thermochemistry of sulfide liquids. II. Associated solution model for sulfide liquids in the system O-S-Fe. Contributions to Mineralogy and Petrology, 139[3], 316-325
  • Kress, Victor (2007) Thermochemistry of sulfide liquids III: Ni-bearing liquids at 1 bar. Contributions to Mineralogy and Petrology, 154[2], 191-204
  • Kress, Victor; Greene, Lori; Ortiz, Matthew; Mioduszewski, Luke (2008) Thermochemistry of sulfide liquids IV: density measurements and the thermodynamics of O-S-Fe-Ni-Cu liquids at low to moderate pressures. Contributions to Mineralogy and Petrology, 156[6], 785-797

Local installation

This package is installed locally using the setup.py stript with the command

pip install .

A Jupyter notebook is included (Tester.ipynb) to demonstrate usage. Installation scripts require cmake and a C++ compiler.

Remote installation (PyPI.org)

The package may be added as a dependency and installed via pip as

pip install SulfLiq

Note that installation requires a locally available C++ compiler (either clang or gcc) and has been tested on MacOS and Ubuntu, but not Windows.

Gitlab CI

On pushing a tagged commit of this repository to Gitlab, the CI configuration script will build an installable Python package and push that update to PyPI.org. For this purpose the following environment variables should be provided in Settings->CI->Variables:

GIT_SUBMODULE_STRATEGY recursive
TWINE_PASSWORD <token retrieved from your user account at PyPI.org>
TWINE_USERNAME=__token__

Metadata

Release files for SulfLiq 1.0.4

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

Source distribution (sdist)

Source distribution for SulfLiq 1.0.4
File Size Uploaded Provenance
sulfliq-1.0.4.tar.gz 345.4 kB Without provenance Details

Release files / sulfliq-1.0.4.tar.gz

Download URL sulfliq-1.0.4.tar.gz
Size 345.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c15873c676e4f28aae8563f3c36f50e42d1e14659215469583be0e99db8573af
BLAKE2b-256 checksum
How to use checksums
972fe35fb6e3ef63e25520b8956323a3d36a3a8a04b64470131891f5ac3631e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Security for SulfLiq 1.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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