Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

MATER

PyPI version Python Coverage Documentation License

MATER simulates how the stocks of a society change year after year: vehicles, buildings, factories, materials, energy, natural resources. You describe a system in a spreadsheet, one sheet per variable, with the level that each stock should reach. MATER computes how much each process must run to bring each stock towards that level, and writes every stock, flow and activity, year by year.

MATER (Multi-regional Assessment of Technologies, Energy and Resources) is an open-source framework, written in Python, for dynamic material flow analysis (dMFA), dynamic input-output analysis and biophysical assessments of technologies, energy and resources. Its central principle: a stock gap, the difference between a stock and its reference (the level it should reach), activates processes, and these processes change the stocks through the flow balance.

Install

New to Python? The installation guide takes you from nothing to a working MATER on Windows, macOS or Linux, with uv, which installs Python for you.

With uv, in a project: uv add mater. With pip, in a virtual environment of Python 3.11 or later: pip install mater.

Run a model

Download the example workbook mater_example.ods, a car value chain. Save these lines as simulate.py beside it:

import mater

mater.run_from_excel(
    "mater_example.ods",
    simulation_name="first_run",
    simulation_start_time=2021,
    simulation_end_time=2100,
)

Then run the script from a terminal opened in that folder:

uv run python simulate.py

The results are written to outputs/first_run. The tutorial Run your first simulation opens them in a spreadsheet and explains them.

Documentation

The documentation has five parts: Get started (installation and tutorials), the User guide (one page per task), The model (concepts and equations), the Reference (variables, formats, Python API) and Development. The data formats shared with the other tools of MATER are documented by the MATER ecosystem.

Versions

MATER is in the 0.x series: a new minor version may change how a model is written or what it computes, and its changes are listed in the CHANGELOG and the upgrade guides of the documentation. Pin the version you use for a study. Only the latest minor version receives fixes. MATER 0.17 runs on a new engine; models of 0.16 need the steps of the guide "Upgrade from 0.16 to 0.17".

Cite MATER

If you use MATER in academic work, cite the software version you used (HAL record hal-05614380) and the thesis that introduced the framework:

François Verzier. Modélisation du métabolisme de la société et de ses trajectoires de transition biophysique. 2025. DOI: 10.70675/89172c3czbb2bz45abz8b5fza3bb49f30f92

Machine-readable software metadata are in codemeta.json.

License

MATER is distributed under the GNU Lesser General Public License v3.0 or later (LGPL-3.0-or-later).

Contributing

Contributions are welcome: see CONTRIBUTING.md. To work on MATER itself:

git clone https://gricad-gitlab.univ-grenoble-alpes.fr/isterre-dynamic-modeling/mater-project/mater.git
cd mater
uv sync --all-groups
uv tool install just-bin
just test
just docs-build

Metadata

Release files for mater 0.17.0rc2

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

Source distribution (sdist)

Source distribution for mater 0.17.0rc2
File Size Uploaded Provenance Actions
mater-0.17.0rc2.tar.gz 2.0 MB Without provenance Details for mater-0.17.0rc2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mater 0.17.0rc2
File Interpreter ABI Platform Actions
mater-0.17.0rc2-py3-none-any.whl Python 3 none any Details for mater-0.17.0rc2-py3-none-any.whl

Total release size: 2.1 MB

Release files / mater-0.17.0rc2.tar.gz

Download URL mater-0.17.0rc2.tar.gz
Size 2.0 MB
Tags Source
SHA-256 checksum
How to use checksums
76cd40bc4a2c65e53d25fc5a7194bcfc20d17e0a85953007a486b9eb6a138783
BLAKE2b-256 checksum
How to use checksums
273b0cc9531242cc454bfaf6ee33337c95a08ecd45b99134141d78a294a8e1d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.30 {"installer":{"name":"uv","version":"0.11.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / mater-0.17.0rc2-py3-none-any.whl

Download URL mater-0.17.0rc2-py3-none-any.whl
Size 125.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f07192f1e0663106f9eaf7c78a5e3754da2ed8eead8faf66ea9fc01b1429df53
BLAKE2b-256 checksum
How to use checksums
95cc0850082dc69a50c222a17d1c57c5cdaae1d3bbc86f430240d91481a9cb03
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.30 {"installer":{"name":"uv","version":"0.11.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for mater 0.17.0rc2

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.

Release history Release notifications | RSS feed

This release
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