MacroStat
A Package providing multiple tools for the statistical analysis and treatment of macroeconomic simulation models, with a particular focus on Agent-based and Stock-Flow Consistent Models
The purpose of this project is to provide a statistical toolbox for the analysis of Agent-based Models. The toolbox is developed in python and aims to provide a simple interface for researchers to attach their model, such that simulations can be steered from within the toolbox and the relevant analysis can be run (such as sensitivities, confidence intervals, and simulation studies). Only the analysis itself requires python, while the models can be written in any language.
The code was developed using Python 3.10. Backwards compatibility is not guaranteed
Installation
This project requires Python v3.10 or later.
To install the latest version of the package from PyPI:
pip install macrostat
Or, directly from GitHub:
pip install git+https://github.com/KarlNaumann/MacroStat.git#egg=macrostat
Continuous Integration
MacroStat runs on GitHub Actions across Linux (ubuntu-latest) and Windows (windows-latest) for Python 3.11, 3.12, and 3.13. The full test suite including slow-marked tests runs nightly on master. macOS is not currently covered; it is tracked as a follow-up before the planned JOSS submission.
Development Installation
For development, install the package in editable mode. This project uses uv for dependency management:
uv sync # Install all dependencies uv pip install -e . # Install package in editable mode
After this, you can run tests with:
uv run pytest
If you’d like to contribute to the package, please read the CONTRIBUTING.md guide.
Making Changes & Contributing
This project uses pre-commit, please make sure to install it before making any changes:
pip install pre-commit cd MacroStat pre-commit install
It is a good idea to update the hooks to the latest version:
pre-commit autoupdate
Don’t forget to tell your contributors to also install and use pre-commit.
Contact
Karl Naumann-Woleske - karlnaumann.com
Project Link: [https://github.com/KarlNaumann/MacroStat](https://github.com/KarlNaumann/MacroStat)
Note
This project has been set up using PyScaffold 4.5. For details and usage information on PyScaffold see https://pyscaffold.org/.
Metadata
Release files for MacroStat 0.6.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 | Provenance | Actions |
|---|---|---|---|---|
| macrostat-0.6.0.tar.gz | 5.5 MB | Without provenance | Details for macrostat-0.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| macrostat-0.6.0-py3-none-any.whl | Python 3 | none | any | Details for macrostat-0.6.0-py3-none-any.whl |
Total release size: 5.7 MB
Release files / macrostat-0.6.0.tar.gz
| Download URL | macrostat-0.6.0.tar.gz |
|---|---|
| Size | 5.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
34822ee086e5fb1df35ed8cc9d188351c0f0a22a143e9fd32b77ed2de77f4340
|
|
BLAKE2b-256 checksum How to use checksums |
b0f81e299f46c1858fe2f66fc20970f2e164166cbfae472ada419dbc89861053
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / macrostat-0.6.0-py3-none-any.whl
| Download URL | macrostat-0.6.0-py3-none-any.whl |
|---|---|
| Size | 246.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
922da689e39e773892bf7afdbdd6c9cbf45be54b3b5fdc4c27a2500bd86b597a
|
|
BLAKE2b-256 checksum How to use checksums |
54992059db40b2fa459722a12c66085939006895c5b84b500090e6648616ff9c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Security for MacroStat 0.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.