salabim
salabim - discrete event simulation in Python
What it is and what it does
Salabim is a discrete event simulation framework designed for modeling systems found in logistics, manufacturing, healthcare, and network analysis. It provides an object-oriented API with components, queues, resources, stores, and state tracking, allowing you to describe processes intuitively without yield statements. The library includes built-in data collection via monitors, 2D and 3D animation capabilities, tracing for debugging, and statistical sampling tools.
The package is cross-platform (Windows, macOS, Linux, iOS/iPadOS) and has minimal dependencies when animation is disabled. It follows a well-established process description method and is actively maintained with comprehensive documentation. The core developer provides direct support and consulting services.
Use it for:
- Model production facility workflows, material handling, and resource allocation to optimize throughput and identify bottlenecks.
- Simulate airport operations, hospital patient flows, or warehouse logistics to evaluate system designs before implementation.
- Analyze computer network behavior and packet routing under various load conditions.
- Create animated visualizations of simulations for stakeholder presentations or educational demonstrations.
- Collect and analyze statistical data from repeated simulation runs to support decision-making.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Salabim is a Python library for discrete event simulation (DES) that models systems with components, queues, resources, and stores, and provides 2D/3D animation and data collection without requiring yield statements for process control.
Yes. Salabim is a mature, actively maintained library with zero known vulnerabilities, low install friction, and permissive licensing. It is well-suited for anyone building discrete event simulations in Python, particularly those who prefer intuitive process description over yield-based coroutines. The built-in animation and data collection features add significant value for modeling and analysis workflows.
Install
salabim on PyPI
pip
pip install salabimuv
uv add salabimpoetry
poetry add salabimInstalling salabim
Before you install
Low install friction with no runtime dependencies; wheel-only distribution. Package is actively maintained with recent releases and a stable production status.
License in practice
MIT license is permissive, allowing commercial and private use with minimal restrictions; you may use, modify, and distribute salabim freely provided you include the license notice.
Quickstart
pip install salabim
import salabim as sim
env = sim.Environment()
env.run()
Requires Python 3.7 or later; animation features may require additional system libraries depending on your platform.
Verify before relying
- Whether animation features work out-of-the-box on all platforms or require separate graphics library installation.
- Performance characteristics and scalability limits for large-scale simulations.
- Whether the package is suitable for real-time simulation or primarily for offline modeling.
Package facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.7) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 51 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 101,819/month — #12,913 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: salabim-26.0.8-py3-none-any.whl
Tags
More Scientific/Engineering packages
NumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
pandaspandas provides fast, flexible data structures…
permissive · top 100 on PyPI
scipyscipy provides numerical algorithms for…
permissive · top 100 on PyPI
scikit-learnscikit-learn provides a comprehensive Python…
permissive · top 1,000 on PyPI
dilldill extends Python's pickle module to…
permissive · top 1,000 on PyPI
multiprocessMultiprocess is an enhanced fork of Python's…
permissive · top 1,000 on PyPI
simpySimPy is a process-based discrete-event…
permissive · top 15,000 on PyPI
manimManim is an animation engine that creates…
permissive · top 15,000 on PyPI
python-motion-planningImplements motion planning algorithms including…
copyleft · top 15,000 on PyPI
NREL-PySAMPySAM wraps NREL's System Advisor Model (SAM)…
permissive · top 15,000 on PyPI
pybammPyBaMM is a Python framework for simulating…
permissive · top 15,000 on PyPI
dwave-optimizationFormulates nonlinear optimization models…
permissive · top 15,000 on PyPI
relrel is a cross-platform asynchronous event…
permissive · top 15,000 on PyPI
cirq-pasqalCirq-Pasqal is a Cirq integration module that…
permissive · top 15,000 on PyPI
ansys-dpf-coreProvides a Python interface to Ansys Data…
permissive · top 15,000 on PyPI
pymunkPymunk is a 2D rigid body physics simulation…
permissive · top 15,000 on PyPI