rheodata 📊
Curated, quality-checked rheology datasets — for training, simulation, and benchmarking.
Machine learning on rheology is starving for data it can trust. Raw curves scraped from the internet arrive with unknown geometries, missing temperatures, unlabelled units, and figures digitised without a record of it. A dataset you cannot trust is worse than no dataset at all — it launders its own uncertainty into your conclusions.
rheodata fixes the supply side: a pip-installable library of experimental rheology datasets
where every dataset carries its provenance (native instrument values vs digitised from a
published figure), its measurement record (geometry, temperature, protocol, units), and its
citation (source paper + DOI). Nothing enters the catalog without passing schema and data
validation — sorted shear rates, no NaNs, sample ids that match the metadata.
🔍 Discover — rheodata.search(material="carbopol", experiment="flow_curve")
📖 Inspect — rheodata.info(id) prints material, paper + clickable DOI, figure, measurement, samples
📦 Load — rheodata.load(id) gives a tidy DataFrame plus the full metadata dict
📈 Plot — rheodata.plot(id) draws the experiment-appropriate figure (twin-axis flow curves, G′/G″ sweeps, …)
🔧 Fit — rheodata.to_rheofit(id, sample) hands a flow curve to rheofit in exactly the shape it expects
Quickstart
pip install rheopy-rheodata
import rheodata
rheodata.list() # every dataset, one row each
rheodata.search(material="carbopol") # substring filters, case-insensitive
rheodata.search(experiment="flow_curve", tag="yield-stress")
rheodata.search(query="wormlike micelles") # title / description / material
rheodata.info("caggioni_pg_carbopol_2pct") # readable summary + DOI link
ds = rheodata.load("caggioni_pg_carbopol_2pct")
ds.df.head() # tidy data
ds.meta["measurement"] # type, geometry, temperature, protocol
fig = rheodata.plot("caggioni_pg_carbopol_2pct") # one curve per sample
fig.savefig("caggioni_pg_carbopol_2pct.png")
fit_df = rheodata.to_rheofit("caggioni_pg_carbopol_2pct", sample="carbopol_2pct")
# → DataFrame with "Shear rate / 1/s" and "Stress / Pa", x sorted ascending
The CLI mirrors the API:
rheodata list
rheodata search --material Carbopol --experiment flow_curve
rheodata info caggioni_pg_carbopol_2pct
rheodata install-skill # install the data-discovery agent skill
How a dataset is stored
Each dataset is a directory rheodata/datasets/<id>/ with two files:
dataset.yaml— title, description, material, source paper + DOI, figure, provenance origin, measurement (type, geometry, temperature, details, protocol), the sample table, thecolumns:mapping (csv headers may carry units), and tags.data.csv— tidy data: one row per measurement point, column names from the yaml.
On import, the registry validates every dataset: required metadata keys, DOI shape
(^10\.\S+/\S+), csv columns matching the yaml, numeric x sorted ascending per sample, no
NaNs in x/y, and sample ids matching the metadata. A dataset that fails validation fails
loudly, naming the dataset — corrupt data never loads silently.
Citing
Always cite the source paper, not just the package. Every dataset's metadata carries its
paper and DOI — rheodata.info(id) prints a clickable link. If you publish work built on
rheodata datasets, cite the papers and mention rheodata as the source of the curated files.
Contributing
New datasets are curated through the GitHub issue workflow: open an issue on the
rheodata repository with the source paper or data file
and the proposed metadata. Please don't invent dataset ids or commit data yourself — curation
keeps the catalog trustworthy. See docs (link below) for the contributor guide.
Documentation
Full documentation lives at the rheodata docs site (wired up separately) — including the dataset schema reference, the contributor guide, and the API reference.
License
MIT — see LICENSE.
Metadata
Release files for rheopy-rheodata 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rheopy_rheodata-0.1.0.tar.gz | 72.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rheopy_rheodata-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 140.7 kB
Release files / rheopy_rheodata-0.1.0.tar.gz
| Download URL | rheopy_rheodata-0.1.0.tar.gz |
|---|---|
| Size | 72.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4cb25b630a9c49d4aaf96eb9bfa7c454923923633e829929502c103488dd8617
|
|
BLAKE2b-256 checksum How to use checksums |
6f11d0aa3ba7591906a5d15e9c3e065ddbbe2078a7e55e882f49a9c72e13f57d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 29, 2026.
Transparency logRelease files / rheopy_rheodata-0.1.0-py3-none-any.whl
| Download URL | rheopy_rheodata-0.1.0-py3-none-any.whl |
|---|---|
| Size | 67.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c6b5f7ab6349bd9fb4845437554411ed34a2b35e3275e81395e7b5ccf8a63d16
|
|
BLAKE2b-256 checksum How to use checksums |
cf1530cbe9e1ad450b210b81deb790fbb47615b9e6dcc8eee201a15e598f572a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 29, 2026.
Transparency log