Skip to main content

worm_library

Download Water-Organic-Rock-Microbe (WORM) Portal tutorial notebooks and demo files to your local environment.

Installation

pip install worm_library

Quick Start

After installation, run this in your computer's terminal to download the WORM-Library notebook to your current directory and launch Jupyter Lab:

Windows:

python -c "import worm_library; worm_library.get_library_notebook()"; jupyter lab WORM-Library.ipynb

Mac/Linux:

python -c "import worm_library; worm_library.get_library_notebook()" && jupyter lab WORM-Library.ipynb

This should open the WORM-Library notebook in your Jupyter Lab in your browser. It allows you to download the latest versions of WORM tutorials by running cells containing the desired tutorials.

Click on a cell with a tutorial that you want and then run it (SHIFT+ENTER while the cell is selected). When it is finished running, it will display a message saying that the tutorial is ready. Check the file browser for the tutorial folder that was downloaded. Double click on the folder to open it and access the downloaded tutorial notebook(s).

If you quit Jupyter Lab and want to return to it later, open your terminal and enter:

jupyter lab WORM-Library.ipynb

Usage

It is easiest for new users to use the WORM-Library.ipynb notebook to download desired tutorials.

More advanced users can use Python in a terminal to access demos:

import worm_library

# Download the main WORM-Library notebook (index of all tutorials)
worm_library.get_library_notebook()

# Download specific tutorials
worm_library.get_introduction_demo()            # Basic introduction
worm_library.get_reaction_properties_demo()     # Reaction properties tutorials
worm_library.get_univariant_curve_demo()        # Univariant curves / geothermometry

# Aqueous speciation tutorials
worm_library.get_intro_aqueous_speciation_demo()
worm_library.get_multi_aqueous_speciation_demo()
worm_library.get_charge_balance_demo()
worm_library.get_heterogeneous_equilibrium_demo()
worm_library.get_heterogeneous_equilibrium_gas_demo()
worm_library.get_alter_suppress_demo()
worm_library.get_custom_data0_demo()
worm_library.get_EQ3_demo()
worm_library.get_EQ6_demo()

# Mass transfer tutorials
worm_library.get_intro_mass_transfer_demo()
worm_library.get_mass_transfer_feature_demo()
worm_library.get_mixing_demo()

# Additional tutorials
worm_library.get_speciation_datasets_demo()
worm_library.get_energy_supply_demo()

# Thermodynamic property estimation
worm_library.get_intro_aqorg_demo()
worm_library.get_aqorg_feature_demo()
worm_library.get_complicator_demo()
worm_library.get_estimate_HKF_demo()

# Community notebooks
worm_library.get_Weeks_2025_demo()
worm_library.get_Trinh_2026_demo()
worm_library.get_whats_in_water_demo()

# Workshop materials
worm_library.get_workshop_demo("workshop_name")

# Clean up all downloaded demos
worm_library.delete_all_demos()

Each function downloads the relevant notebooks and data files to a Demo-* folder in your current working directory.

License

MIT License - see LICENSE for details.

Metadata

Release files for worm-library 1.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 worm-library 1.6.0
File Size Uploaded Provenance Actions
worm_library-1.6.0.tar.gz 7.5 kB Without provenance Details for worm_library-1.6.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for worm-library 1.6.0
File Interpreter ABI Platform Actions
worm_library-1.6.0-py3-none-any.whl Python 3 none any Details for worm_library-1.6.0-py3-none-any.whl

Total release size: 14.8 kB

Release files / worm_library-1.6.0.tar.gz

Download URL worm_library-1.6.0.tar.gz
Size 7.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7f179d46d3ecfabf72c07be9e1d443611cb66ce74941b55b12fc3d8602f75679
BLAKE2b-256 checksum
How to use checksums
bddb6fefaa17effc7175554f0c3c2b94873be11191419b46c422ba4e51e8681a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / worm_library-1.6.0-py3-none-any.whl

Download URL worm_library-1.6.0-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3e063c41cd4909dc65ffe9290615defce556f5d7f7f9bb1a2259727007e6f17c
BLAKE2b-256 checksum
How to use checksums
463dde2c5da2f8b43736fa2747bacd44dc8fd9ed05af704587235503cf56c6f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Security for worm-library 1.6.0

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