semvec/pypi-packages huggingface dataset:
melodie 1.1.0
A general framework that can be used to establish agent-based models for specific uses.
License: MIT
Requires Python: >=3.8

# Melodie: Agent-based Modeling in Python

[![Tests](https://github.com/ABM4ALL/Melodie/actions/workflows/test.yml/badge.svg)](https://github.com/ABM4ALL/Melodie/actions/workflows/test.yml)
[![DOI](https://joss.theoj.org/papers/10.21105/joss.05100/status.svg)](https://doi.org/10.21105/joss.05100)

**Melodie** is a framework for developing agent-based models (ABMs) in Python.
The package and its examples are maintained on [ABM4ALL](https://github.com/ABM4ALL).
For introduction and tutorial of the package, please visit our [documentation](https://abm4all.github.io/Melodie/html/index.html) 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](https://en.wikipedia.org/wiki/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](https://en.wikipedia.org/wiki/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](docs/source/image/karlsruhe.png)

### 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
retirecan 0.1.4
A flexible retirement planning and portfolio simulation engine for Canadians
License: MIT
Requires Python: >=3.12
Keywords: retirement, finance, monte-carlo, simulation

# RetireCan – Canadian Retirement Planner & Optimizer

**RetireCan** tells you — in under 10 seconds — the single best way to save and withdraw money in Canada so you pay the least tax and die with the most money.

It automatically compares all realistic RRSP/TFSA/Non-registered contribution and withdrawal strategies and shows you the optimal one for your exact numbers.

## Features

- Interactive mode – just answer a few questions
- Tests every meaningful strategy combination (TFSA-first vs RRSP-first, spend taxable first, spend RRSP first, smooth withdrawals, etc.)
- Realistic Canadian tax treatment (RRSP deductions, TFSA tax-free growth/withdrawals, capital gains, dividend tax credits, OAS clawback aware)
- CPP and OAS integration
- Beautiful wealth-over-time chart
- 100% open source and zero dependencies beyond numpy/pandas/matplotlib

## Quick Start (30 seconds)

```bash
pip install retirecan
python -m retirecan
```