Skip to main content

Melodie: Agent-based Modeling in Python

Tests DOI

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.

Karlsruhe

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)

Source distribution for Melodie 1.1.1
File Size Uploaded
melodie-1.1.1.tar.gz 105.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Melodie 1.1.1
File Interpreter ABI Platform
melodie-1.1.1-py3-none-any.whl Python 3 none any Details

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 log

Release 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 log

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files

1.1.0

1 release file

1.0.1

1 release file

1.0.0

1 release file

0.7.0

10 release files

0.5.0

12 release files

0.4.1

12 release files

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