SimPy gives you process-based discrete-event simulation in Python using generator functions and an event scheduling system. You model entities competing for shared resources over time, like customers waiting for servers, packets moving through networks, or parts flowing through manufacturing lines. The framework handles three resource types (Resource, Container, Store) with priority and preemptive variants, plus event composition with AllOf and AnyOf operators. It's built for queue analysis and capacity planning where things arrive at irregular intervals and wait for constrained resources. If your simulation runs on fixed time steps or processes don't share resources, this isn't the right tool.

skills.sh installs
2.1K
GitHub stars
56.6K
last updated
Aug 21, 2026

Install

$ npx -y skills add k-dense-ai/scientific-agent-skills --skill simpy --agent claude-code

Installs into .claude/skills of the current project.

Files

SimPy

Scope

Use this skill for process-based discrete-event models where active entities yield events and contend for resources: queues, production systems, logistics, networks, service operations, inventory, and other event-driven systems.

SimPy supplies an event scheduler and modeling primitives. It does not choose a scientifically valid conceptual model, input distribution, warm-up, run length, replication count, estimand, or causal interpretation. Treat those as simulation-study methodology, not SimPy API behavior.

Current release and installation

Reviewed 2026-10-01 against current official documentation and the released source:

  • Latest stable: SimPy 4.1.2, released on PyPI 2026-05-24; source tag 4.1.2 points to commit f4381649.
  • Package metadata requires Python >=3.8 and classifies CPython 3.8-3.14 plus PyPy. SimPy has no runtime dependencies.
  • 4.1.2 adds Python 3.13/3.14 support and modern-interpreter test fixes.
  • Upstream and this skill are MIT-licensed.

Create a reproducible environment:

Sponsors

Details

Repository
github.com/k-dense-ai/scientific-agent-skills
Categories
Testing & QA, DevOps & CI/CD, AI & Agent Building
First seen
Jun 3, 2026

More from k-dense-ai/scientific-agent-skills

All 137
1k-dense-ai avatarwhat-if-oraclek-dense-ai/scientific-agent-skillsRun structured What-If scenario analysis with 4–6 branch possibility exploration (best, likely, worst, wild card, contrarian, second-order). Use when the user a2.1Kskills.sh installs
2netlify avatarskill-creatornetlify/context-and-toolsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an e2Kskills.sh installs
3kostja94 avatargoogle-search-consolekostja94/marketing-skillsWhen the user wants to analyze Google Search Console data, use the GSC API, or interpret search performance. Also use when the user mentions "GSC," "Search Cons2Kskills.sh installs
4k-dense-ai avatarpysamk-dense-ai/scientific-agent-skillsPython/HTSlib workflows for genomic files. Use when reading, querying, filtering, or writing SAM/BAM/CRAM, VCF/BCF, FASTA/FASTQ, or tabix data with pysam, inclu2Kskills.sh installs
5minimax-ai avatarflutter-devminimax-ai/skillsFlutter cross-platform development guide covering widget patterns, Riverpod/Bloc state management, GoRouter navigation, performance optimization, and platform-s2Kskills.sh installs
6gracefullight avatarbacktesting-trading-strategiesgracefullight/stock-checkerBacktest crypto and traditional trading strategies against historical data. Calculates performance metrics (Sharpe, Sortino, max drawdown), generates equity cur2Kskills.sh installs