Melodie: Agent-based Modeling in Python
Melodie is a framework for developing agent-based models (ABMs) in Python. The package and its examples are maintained on ABM4ALL. For introduction and tutorial of the package, please visit our documentation page.
The package name Melodie comes from an example which poetically explains the core concept of complexity theory: Emergence. In his bold book Emergent Evolution, C. Lloyd Morgan wrote: The emergent step, though it may seem more or less saltatory [a leap], is best regarded as a qualitative change of direction, or critical turning-point, in the course of events. Then, Morgan exemplified how melody emerges from chords by quoting Abt Vogler of Robert Browning:
"And I know not if,
save in this,
such gift be allowed to man,
That out of three sounds he frame,
not a fourth sound,
but a star."
Sitting in Karlsruhe, a lovely city in southern Germany, I take the German translation - Melodie - as the name of this package.
Suggested citation:
Yu, S.; Hou, Z.; (2023). Melodie: Agent-based Modeling in Python. Journal of Open Source Software, 8(83), 5100, https://doi.org/10.21105/joss.05100
Metadata
Release files for Melodie 1.1.1
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 |
|---|---|---|---|---|
| melodie-1.1.1.tar.gz | 105.1 kB | With provenance | Details for melodie-1.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| melodie-1.1.1-py3-none-any.whl | Python 3 | none | any | Details for melodie-1.1.1-py3-none-any.whl |
Total release size: 244.1 kB
Release files / melodie-1.1.1.tar.gz
| Download URL | melodie-1.1.1.tar.gz |
|---|---|
| Size | 105.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6d9d03e15617e20c2eb8a62288246354faa5440ff0d400a5279a67fc9effc903
|
|
BLAKE2b-256 checksum How to use checksums |
df4cd9fbe42e616ef9d9859f30826c97c8fd7e57757c56066aaed7e1af536f51
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Mar 28, 2026.
Transparency logRelease files / melodie-1.1.1-py3-none-any.whl
| Download URL | melodie-1.1.1-py3-none-any.whl |
|---|---|
| Size | 139.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
755cb3ad7257b2d0a87f4953b8b6d44ae6ba14ac0e7a7ade8499eb13eff4b8c6
|
|
BLAKE2b-256 checksum How to use checksums |
d720572249207026d99cc16b6bc2e5b2c47ead6fee16b568812d3d64c0e552bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Mar 28, 2026.
Transparency logSecurity for Melodie 1.1.1
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 melodie-1.1.1.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 Mar 28, 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.