This repository contains Python code for rock physics modules created in Equinor by Harald Flesche 2010 - ... Batzle-Wang and Span-Wagner fluid equations are implemented by Eivind Jahren and Jimmy Zurcher. Some models are based on original Matlab code by Tapan Mukerji at Stanford University and ported to Python by Harald Flesche.
The modules in this repository are implementations of rock physics models used in quantitative seismic analysis, in addition to some utilities for handling of seismic and well data. The repository started as internal Equinor plugins, and was extracted as a separate repository that could be used within other internal applications in 2023. In 2025 it was released under LGPL license.
The content of the library can be described as follows:
Functions with inputs and outputs consisting of numpy arrays or in some cases pandas dataframes. Data frames are used in the cases where there are many inputs and/or there is a need for checking the name of inputs, such as when there are multiple inputs of the same type which will have different purpose. It should be made clear in which cases data dataframes are expected. There is normally not any check on inputs, it is just the minimum definition of equations and other utilities.
Installation
This module can be installed through PyPI with:
pip install rock-physics-open
Alternatively, you can update the dependencies in your pyproject.toml file:
dependencies = [
"rock-physics-open == 1.0.1",
]
Metadata
Release files for rock-physics-open 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rock_physics_open-1.0.1.tar.gz | 20.7 MB | With provenance | Details for rock_physics_open-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rock_physics_open-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for rock_physics_open-1.0.1-py3-none-any.whl |
Total release size: 38.7 MB
Release files / rock_physics_open-1.0.1.tar.gz
| Download URL | rock_physics_open-1.0.1.tar.gz |
|---|---|
| Size | 20.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2280e5392aa9ff85bc1c6b2b5546a6554959242ed44739256a2f1d032cd873a2
|
|
BLAKE2b-256 checksum How to use checksums |
6dd273680d6e15789b6d1fdb94c84abe8c0f2c81798273c2e5b7c267bca8df01
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 9, 2026.
Transparency logRelease files / rock_physics_open-1.0.1-py3-none-any.whl
| Download URL | rock_physics_open-1.0.1-py3-none-any.whl |
|---|---|
| Size | 18.0 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e7dab0a72552fb611cbfe763e6fcfb7c834b1f31f2b8f0659ac7287bbcd605cf
|
|
BLAKE2b-256 checksum How to use checksums |
b2aa710647b3bf819024cb8ff1777a27d8e8d39f3c675690c3804575c296daf0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 9, 2026.
Transparency logSecurity for rock-physics-open 1.0.1
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for rock_physics_open-1.0.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 9, 2026.
Transparency logA 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.