All theory is grey. In this section, we present various practical examples that demonstrate how to uses SimPy’s features.

Here’s a list of examples grouped by features they demonstrate.

Condition events



Resources: Container

Resources: Preemptive Resource

Shared events

Waiting for other processes

All examples

You have ideas for better examples? Please send them to our mainling list or make a pull request on bitbucket.