$npx skillfedfor your agent

simpy

Event discrete, process based simulation for Python.

Worth itPyPI Scientific/EngineeringReleased May 2026527.1K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — simpy-4.1.2-py3-none-any.whl
v4.1.2 · released 2026-05-24 · Python >=3.8

Yes. SimPy is a mature, actively maintained framework with zero dependencies, permissive licensing, and broad Python version support. It solves a specific, well-defined problem—discrete-event simulation—and does so with a clean, Pythonic API. Install it if you need to model systems with interacting processes and shared resources; skip it if your problem is continuous simulation or fixed-step modeling.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python >= 3.8; not designed for continuous simulations or fixed-step simulations where processes don't interact.
  • Low friction: pure Python wheel with no runtime dependencies, requires Python >= 3.8, and actively maintained with a recent release.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you can use, modify, and distribute SimPy with minimal restrictions, making it suitable for both open-source and commercial projects.

last release 2026-05-24 (82 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 527,054 downloads/mo, #6,171 on PyPI

Verify before relying

pip install simpy

import simpy

def clock(env, name, tick):
    while True:
        print(name, env.now)
        yield env.timeout(tick)

env = simpy.Environment()
env.process(clock(env, 'fast', 0.5))
env.run(until=2)
  • Performance characteristics and scalability limits for large-scale simulations.
  • Whether the package supports parallel or distributed simulation execution.
  • Typical use-case performance benchmarks compared to other discrete-event simulators.
Same gist for agents: .md · .json

What it is and what it does

SimPy is a discrete-event simulation framework built on standard Python that lets you model systems as processes defined by generator functions. You define active components (customers, vehicles, agents) and shared resources (servers, counters, tunnels) and then run the simulation to observe how the system behaves over time. The framework handles the event scheduling and process coordination for you.

It's designed for scenarios where you want to understand system behavior through simulation—how queues form, how resources get congested, how timing affects outcomes. You can run simulations as fast as the computer allows, synchronized to wall-clock time, or step through events manually for debugging. The framework is not suited for continuous simulations or fixed-step models where processes don't interact.

Use it for

  • Model customer flows through a bank or retail checkout to understand queue lengths and service times.
  • Simulate vehicle routing and congestion in a transportation network to optimize dispatch.
  • Test agent-based models where multiple autonomous entities interact with shared resources.
  • Prototype manufacturing or production systems to find bottlenecks before building.
  • Evaluate IT infrastructure (server load, request queuing) under different traffic patterns.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

SimPy is a mature, actively maintained framework with zero dependencies, permissive licensing, and broad Python version support. It solves a specific, well-defined problem—discrete-event simulation—and does so with a clean, Pythonic API. Install it if you need to model systems with interacting processes and shared resources; skip it if your problem is continuous simulation or fixed-step modeling.

Install

simpy on PyPI

Before you install

Low friction: pure Python wheel with no runtime dependencies, requires Python >= 3.8, and actively maintained with a recent release.

Requires Python >= 3.8; not designed for continuous simulations or fixed-step simulations where processes don't interact.

License in practice

MIT license is permissive; you can use, modify, and distribute SimPy with minimal restrictions, making it suitable for both open-source and commercial projects.

Quickstart

pip install simpy

import simpy

def clock(env, name, tick):
    while True:
        print(name, env.now)
        yield env.timeout(tick)

env = simpy.Environment()
env.process(clock(env, 'fast', 0.5))
env.run(until=2)

Verify before relying

  • Performance characteristics and scalability limits for large-scale simulations.
  • Whether the package supports parallel or distributed simulation execution.
  • Typical use-case performance benchmarks compared to other discrete-event simulators.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 82 days since the last release
First released
Downloads527,054 / month, #6,171 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersIntended Audience :: EducationIntended Audience :: Science/ResearchLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Scientific/Engineering

Evidence: simpy-4.1.2-py3-none-any.whl

Tags

Capabilities
discrete event simulation pythonprocess-based simulation frameworkevent-driven simulationagent-based modeling pythonresource congestion modelingsimulation with generatorsreal-time simulation framework
Topics
simulationdiscrete-eventmodeling

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “process-based simulation framework”

  • simpySimPy is a process-based discrete-event simulation framework that…
  • multiprocessingBackport of Python 2.6/3.0 multiprocessing to Python 2.4 and 2.5,…
  • mjlabmjlab provides a GPU-accelerated reinforcement learning and robotics…

Give your agent the search over MCP, or paste the wish link into any chat.

More Scientific/Engineering packages

numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
pandas Worth it
PyPI · Scientific/Engineering · released Jul 2026

pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.

BSD-3-Clausecompiled wheel · 3.11+
769.1Mdownloads / mo
scipy Worth it
PyPI · Libraries · released Jun 2026

scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.

BSD-3-Clausecompiled wheel · 3.12+
449.0Mdownloads / mo
scikit-learn Worth it
PyPI · Software Development · released Jun 2026

scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.

Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.

BSD-3-Clausecompiled wheel · 3.11+
235.5Mdownloads / mo
dill Worth it
PyPI · Software Development · released Jan 2026

dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.

BSD-3-Clausepure Python · 3.9+
208.1Mdownloads / mo
multiprocess Worth it
PyPI · Software Development · released Jan 2026

Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.

Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.

BSD-3-Clausepure Python · 3.9+
202.7Mdownloads / mo

See also salabim · bpy · pybamm · warp-lang · matscipy · ase · pvlib · OpenMM