Testing (asyncio) coroutines with pytest

Pytest currently offers no helpers for testing (asyncio) coroutines. Its powerful plug-in architecture allows you fix that and write elegant tests for coroutines.

aiomas – A library for multi-agent systems and RPC based on asyncio

aiomas is a new, asyncio based library that helps you with creating distributed multi-agent systems. It allows different clocks (real-time, coupled to simulations, …) and different codecs (MsgPack, JSON) to be used. You can also just use the lower level abstractions for RPC or message based request-reply channels.

Master(ing) Passwords

Using good passwords is hard. You can’t remember complicated ones but you also don’t want store them in the cloud. Biometry is not a solution either. The master password algorithm comes to help. There are various implementations of it and I did one in Python.

SimPy: Real-time simulations

SimPy is a discrete-event simulation library for Python. It can perform simulations as fast as possible as well as in real time (or wall-clock time). This guide describes real-time simulations can be achieved in SimPy.

SimPy: Shared Resources

SimPy is a discrete-event simulation library for Python. This guide describes its shared resources and shows how you can use them to model things like producer/consumer problems.

SimPy: Process Interaction

SimPy is a discrete-event simulation library for Python. This guide describes how you can let processes interact with each other – because this is what makes simulation fun!

SimPy: Events

SimPy is a discrete-event simulation library for Python. This guide describes how events in SimPy work and which types of events SimPy offers.

page 1 of 4

older articles »