« Bitbucket stopped rendering README.txt for Python projects [resolved] django-sphinxdoc 1.1 »
.

SimPy 3 Preview

SimPy is a process-based and event-driven simulation framework written in pure Python. It can also be used for multi-agent systems and other eventloop-based applications.

After several months of work and various iterations of SimPy’s new API, we can finally present a preview with the most important features working.

Here is a simple example:

>>> import simpy
>>>
>>> def clock(env):
...     while True:
...         print(env.now)
...         yield env.timeout(1)
...
>>> env = simpy.Environment()
>>> env.start(clock(env))
Process(clock)
>>> simpy.simulate(env, until=3)
0
1
2

You can find the full announcement at Google+ and on our mailing list.

The code is at Bitbucket, the documentation at Read the Docs.

Comment

New comment

Required
Required, but not displayed
Optional
Format using ReStructuredText (Quickref)
  • *emphasis*, **strong**, ``inline code``
  • Blockquotes: indent each line to be quoted
  • Links w/ description: `Description <URL>`_
  • Highlighted code blocks: See here
captcha Please prove that you are human.