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.
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