Assertions and Exceptions
This article explains the difference between assertions and exceptions and when to use which one.
This article explains the difference between assertions and exceptions and when to use which one.
How to get started with devpi and evaluate it for hosting a company’s packages.
I demonstrate how you can use pytest’s fixture system and the plug-in pytest-asyncio to reduce the boilerplate code required for testing networking libraries.
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 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.
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 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.
page 2 of 5