Skip to main content

PYTHEOS

DOI

Overview

Pytheos provides a tool set for a wide range of tasks in high pressure science:

  • calculate pressure from a number of built-in pressure scales

  • convert pressure scales

  • propagate uncertainties properly using the uncertainties package

  • fit pressure-volume and pressure-volume-temperature data sets using the scipy and lmfit packages

  • fit with a wide range of different equations and their combinations

Installation

This section describes how to download pytheos from GitHub and install it using conda. The procedure is suitable for macOS and Linux.

  1. Clone the GitHub repository

Clone the repository and enter the source directory:

git clone https://github.com/SHDShim/pytheos.git
cd pytheos
  1. Create a dedicated conda environment

Create a clean conda environment to avoid dependency conflicts:

conda create -n pytheos python=3.11 -y
conda activate pytheos

Python version 3.9 or newer is recommended.

  1. Install core dependencies

Install numerical and scientific dependencies from conda-forge:

conda install -c conda-forge numpy scipy matplotlib sympy pandas jupyter -y

If you plan to run the example notebooks, also install Jupyter support:

conda install -c conda-forge ipykernel nbconvert -y
python -m ipykernel install --user --name pytheos
  1. Install pytheos

From the repository root (where setup.py or pyproject.toml is located), install pytheos:

pip install .

Verify the installation:

python - <<EOF
import pytheos
print(pytheos.__version__)
EOF
  1. Test the installation

Run a simple test to confirm that core functionality works:

python - <<EOF
from pytheos import bm3_p, vinet_p
print(bm3_p(10.0, 160.0, 4.0, 4.0))
print(vinet_p(10.0, 160.0, 4.0))
EOF
  1. Updating pytheos

To update pytheos to the latest version from GitHub:

cd pytheos
git pull origin master
pip install .
  1. Clean removal

To completely remove pytheos and its conda environment:

conda deactivate
conda remove -n pytheos --all

Contact

Please contact Dan Shim (shdshim@gmail.com) for bug reports, comments, and suggestions. I am happy to include new pressure scales or other pressure scales in pytheos as well.

Examples and Tutorials

The pytheos package includes examples in Jupyter Notebook (under the examples folder), which demonstrate a range of operations, calculations, and fittings you can do with pytheos. Pytheos is designed to support data analysis using Jupyter Notebook as well as python scripts.

Documentation is available at: https://shdshim.github.io/pytheos-docs/.

How to cite

S.-H. Shim (2017) Pytheos - a python tool set for equations of state. Zenodo. http://doi.org/10.5281/zenodo.802392

Metadata

Release files for pytheos 0.0.2

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

Source distribution (sdist)

Source distribution for pytheos 0.0.2
File Size Uploaded Provenance
pytheos-0.0.2.tar.gz 30.6 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 75.3 kB

Release files / pytheos-0.0.2.tar.gz

Download URL pytheos-0.0.2.tar.gz
Size 30.6 kB
Tags Source
SHA-256 checksum
How to use checksums
edc93881728b0f8f9b4a60efc22f80bb0108466e9841798188531dc69f836b3f
BLAKE2b-256 checksum
How to use checksums
86db11d1d795f31844ed0e74c8ba14e22552a1000f2b8a9b02ee3374aab65bc7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release files / pytheos-0.0.2-py3-none-any.whl

Download URL pytheos-0.0.2-py3-none-any.whl
Size 44.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cee3384c5edcdf17eceffa85920090617aeb27c1a4e5fcbb617cdaad13a99a68
BLAKE2b-256 checksum
How to use checksums
0547c9043bca4181261000dd55e68747127f43a8b5f8525fab460467c06773b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Security for pytheos 0.0.2

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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