simpy
Builds, tests, and analyzes bounded process-based discrete-event simulations in Python with SimPy 4.1.2: Environment, Timeout, Process, AnyOf/AllOf conditions, interrupts, Resource, PriorityResource, PreemptiveResource, Container, Store, time-weighted monitoring, and replication-based output analysis, plus bundled safe CLIs. Use when modeling queues, production lines, logistics, or service operations with generator processes; when contending entities need shared resources or preemption; when instrumenting queue length or utilization correctly; when running independent replications with seeds and confidence intervals; when debugging event ordering or run(until=) boundaries. Not for continuous-time ODE or agent-based modeling frameworks.
- Version
- 1.4
- License
- MIT
- Compatibility
- Upstream SimPy 4.1.2 supports Python 3.8+; bundled CLIs require Python 3.10+, uv, and SimPy 4.1.2. They use only SimPy and the standard library, operate on local bounded inputs, and make no network calls.
Pinned to revision df088027ff23, so it is the text this page describes rather than whatever the author pushed since.
Pre-approved tools experimental
Experimental field. Support varies between clients, so this list is what the author declared, not what your client will enforce.
- Read
- Write
- Edit
- Bash
- Glob
Files
- skills/simpy/SKILL.md
- skills/simpy/references/cli-guide.md
- skills/simpy/references/events.md
- skills/simpy/references/monitoring.md
- skills/simpy/references/process-interaction.md
- skills/simpy/references/real-time.md
- skills/simpy/references/resources.md
- skills/simpy/references/simulation-methodology.md
- skills/simpy/references/sources.md
- skills/simpy/scripts/_common.py
- skills/simpy/scripts/basic_simulation_template.py
- skills/simpy/scripts/bounded_queue_scenario.py
- skills/simpy/scripts/event_trace_summary.py
- skills/simpy/scripts/replication_runner.py
- skills/simpy/scripts/resource_monitor.py
- skills/simpy/scripts/validate_simulation_config.py
Every link opens the file at its source, pinned to the revision this page describes.