Pykka is easy to use concurrency using the actor model
Project description
The goal of Pykka is to provide easy to use concurrency abstractions for Python by using the actor model.
Pykka provides an actor API with two different implementations:
ThreadingActor is built on the Python Standard Library’s threading and Queue modules, and has no dependencies outside Python itself. It plays well together with non-actor threads.
GeventActor is built on the gevent library. gevent is a coroutine-based Python networking library that uses greenlet to provide a high-level synchronous API on top of libevent event loop. It is generally faster, but doesn’t like playing with other threads.
Much of the naming in Pykka is inspired by the Akka project which implements actors on the JVM. Though, Pykka does not aim to be a Python port of Akka.
Project resources
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file Pykka-0.12.tar.gz
.
File metadata
- Download URL: Pykka-0.12.tar.gz
- Upload date:
- Size: 26.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5c165353317150e783ee55e3d008af43919fd05b32f8b4684bb636458aa1fe3 |
|
MD5 | d3576fc0f2ab18f7406e3d0d6cd413f7 |
|
BLAKE2b-256 | c0d3d654a227fb85f78584db3a62a470a0a1964302870cd3cade70ed93e035b9 |