Project · Overview
Project¶
TSDynamics is developed in the open at El3ssar/TSDynamics by Daniel Estevez, under the MIT license. It is a Python library for studying dynamical systems — ODEs, delay and stochastic differential equations, and discrete maps — on a native Rust engine, with an analysis toolkit for supported built-in and user-defined systems. Individual analyses state which families and inputs they accept.
This section explains how to cite the software and its methods, contribute changes, and add a system or solver.
In this section¶
- Citation — the software BibTeX entry, plus the original
papers behind the methods and every built-in system. Each system carries its
literature
reference(and, where known, adoi) programmatically. - Contributing — dev setup with uv,
the quality gates (
ruff,mypy --strict, the two test tiers), change-scoped testing, Conventional Commits, and the PR flow. - Changelog — release notes, maintained automatically by python-semantic-release from the commit history.
- Adding a system — drop one class into the catalogue; the registry adds shared tests and a generated documentation page.
- Adding a solver — the recipe for contributing a new integration kernel to the Rust engine and mirroring it in the Python registry.
The shape of the project¶
TSDynamics ships as one wheel — the pure-Python tsdynamics package plus a
compiled tsdynamics._rust abi3 extension built from a Cargo workspace of
tsdyn-* crates. Because the extension is abi3 (targeting CPython 3.12), one
wheel per platform covers every CPython ≥ 3.12, and installing needs
no compiler — only building from source does (see Install).
Two conventions run through everything a contributor touches:
- Register models consistently. Concrete family subclasses register at class definition, making them available to shared tests, generated documentation and catalogue discovery. Add model-specific numerical tests when shared checks cannot establish correctness.
- Cite the original literature. Docstrings and docs pages cite the paper a method or model comes from, so the attribution points at the source rather than at whichever implementation we consulted.
Where things happen¶
| You want to | Go to |
|---|---|
| Report a bug or request a feature | Issue tracker |
| Cite the software or a method | Citation |
| Set up a dev environment | Contributing → Dev setup |
| See what changed in a release | Changelog · GitHub Releases |
| Contribute a new attractor / map / SDE | Adding a system |
| Contribute a new integration method | Adding a solver |
| Read the full API | API reference |