This release is a pre-release and may not be stable for production use.
pymetrix
Applied macroeconometrics in Python, from data to forecast report. Estimate equations and systems, test them, solve models, run scenarios, manage forecast rounds and export reports, from Python scripts, Jupyter notebooks or a desktop app with guided forms. Every action becomes Python you can read and rerun.
Status: early pre-release. The source is at github.com/GeoffHeenan/pymetrix (BSD-3-Clause); hosted documentation will be published with the first 0.1 release. Interfaces may still change.
Install
This is a pre-release, so pip installs it only when asked. It needs Python 3.11 or later.
pip install --pre pymetrix # the core: estimation, tests, models, forecasting, projects
pip install --pre "pymetrix[all]" # with the desktop app, panel and volatility models, and report writers
Then pymetrix-gui opens the desktop app.
What it does
- Data: time series and panels with metadata, vintages and transformations; seasonal adjustment; filters.
- Estimation: least squares and IV, GMM, limited dependent variables, ARIMA and exponential smoothing, VARs and VECMs, Bayesian VARs, state-space and Markov-switching models, panel estimators, treatment effects.
- Testing: unit roots and cointegration, diagnostics, structural breaks, forecast comparison.
- Models: solve and estimate DSGE models, import Dynare
.modfiles, scenarios and optimal policy. - Forecasting: forecast rounds with judgement, backtests in real time, combinations.
- Reproducible projects: every dialog records the call it runs; a project saves the data and the steps and rebuilds the results when opened, and each result records its sample, method and data vintage.
Wherever a mature library exists (statsmodels, linearmodels, arch, SciPy), pymetrix uses it, and its own code is checked against libraries, published tables and hand formulas.
Licence
BSD-3-Clause. The bundled example datasets from elsewhere are listed with their sources and licences in
THIRD-PARTY-NOTICES.md, included in the package.
Metadata
Release files for pymetrix 0.1.0a20
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 |
|---|---|---|---|---|
| pymetrix-0.1.0a20.tar.gz | 2.5 MB | With provenance | Details for pymetrix-0.1.0a20.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pymetrix-0.1.0a20-py3-none-any.whl | Python 3 | none | any | Details for pymetrix-0.1.0a20-py3-none-any.whl |
Total release size: 5.2 MB
Release files / pymetrix-0.1.0a20.tar.gz
| Download URL | pymetrix-0.1.0a20.tar.gz |
|---|---|
| Size | 2.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1b0a4bc51168cdcf7066a63d13c57e2526e12215ec8748dc65df7f897711a8bc
|
|
BLAKE2b-256 checksum How to use checksums |
3e1493f11f5bd20595ca20e6d20bf0e4158c514353f353a541bb40d607291968
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 24, 2026.
Transparency logRelease files / pymetrix-0.1.0a20-py3-none-any.whl
| Download URL | pymetrix-0.1.0a20-py3-none-any.whl |
|---|---|
| Size | 2.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
78873a34b73f06fcfd6051281c6ccda49c5f9b9ee8392d6b60e297c48f466ca9
|
|
BLAKE2b-256 checksum How to use checksums |
f7d6380c6a7e492437e8fffeebb87281ae291ca82e8886ccd175bd59742584de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 24, 2026.
Transparency logSecurity for pymetrix 0.1.0a20
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 pymetrix-0.1.0a20.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 Nov 24, 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.