Introduction
Pykka makes it easier to build concurrent applications.
Pykka is a Python implementation of the actor model. The actor model introduces some simple rules to control the sharing of state and cooperation between execution units, which makes it easier to build concurrent applications.
Installation
Pykka has no dependencies other than Python 3.10 or newer. It can be installed from PyPI:
Next up, check out the Getting started docs or the Reference.
Project resources
History and inspiration
Pykka was originally created around 2011 as a formalization of concurrency patterns that emerged in the Mopidy music server. The original Pykka source code wasn't extracted from Mopidy, but it built and improved on the concepts from Mopidy. Mopidy was later ported to build on Pykka instead of its own concurrency abstractions.
Much of the naming of concepts and methods in Pykka was inspired by Jonas Bonér's conference talks around 2010 on Akka, a JVM implementation of the actor model. Pykka is not a Python port of Akka, and supports far fewer features.