pykka
Pykka is a Python implementation of the actor model
Decision gist · record as of 2026-08-14
Yes. Pykka is production-stable, actively maintained, has zero known vulnerabilities, and installs with no dependencies. It's a solid choice if you want to adopt the actor model for concurrent Python applications without external framework overhead. Start here if traditional threading feels error-prone for your use case.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or newer.
- Low friction: pure Python wheel with no runtime dependencies, requires Python 3.10 or newer.
- Active maintenance with last commit 2026-08-01 and production-stable status.
License · maintenance · safety
Apache-2.0 (permissive) — Apache License 2.0 (permissive) allows commercial use, modification, and distribution with minimal restrictions—suitable for most projects.
last release 2026-03-14 (153 days) · last repo commit 2026-08-01 · 1,335 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 85,046 downloads/mo, #13,957 on PyPI
Alternatives
Verify before relying
pip install pykka
import pykka
class MyActor(pykka.ThreadingActor):
def on_receive(self, message):
return message.upper()
actor_ref = MyActor.start()
result = actor_ref.ask('hello')- Specific performance characteristics or throughput limits compared to other concurrency approaches.
- Whether the actor model implementation uses threads, processes, or async under the hood by default.
- Real-world adoption patterns beyond the listed wiki users.
What it is and what it does
Pykka brings the actor model—a well-established concurrency pattern—to Python. Instead of managing locks and shared state directly, you define actors as independent units that communicate through messages. Each actor runs in its own execution context and processes messages sequentially, eliminating many race conditions and deadlock issues that plague traditional threading.
The library provides a clean API for spawning actors, sending messages, and waiting for results. It has no external dependencies beyond Python itself, making it lightweight and easy to integrate into existing projects. Pykka is particularly useful when you need to coordinate work across multiple concurrent tasks without the complexity of manual thread management or the overhead of multiprocessing.
Use it for
- Building server applications that handle many concurrent client connections using actor-based request routing.
- Coordinating background workers or job processors that need to communicate and synchronize without explicit locks.
- Implementing event-driven systems where actors react to and forward messages between components.
- Prototyping distributed systems logic before moving to a full distributed actor framework.
- Simplifying complex threading code by replacing shared state with message passing between actors.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Pykka is production-stable, actively maintained, has zero known vulnerabilities, and installs with no dependencies. It's a solid choice if you want to adopt the actor model for concurrent Python applications without external framework overhead. Start here if traditional threading feels error-prone for your use case.
Install
pykka on PyPI
Before you install
Low friction: pure Python wheel with no runtime dependencies, requires Python 3.10 or newer. Active maintenance with last commit 2026-08-01 and production-stable status.
Requires Python 3.10 or newer.
License in practice
Apache License 2.0 (permissive) allows commercial use, modification, and distribution with minimal restrictions—suitable for most projects.
Quickstart
pip install pykka
import pykka
class MyActor(pykka.ThreadingActor):
def on_receive(self, message):
return message.upper()
actor_ref = MyActor.start()
result = actor_ref.ask('hello')
Verify before relying
- Specific performance characteristics or throughput limits compared to other concurrency approaches.
- Whether the actor model implementation uses threads, processes, or async under the hood by default.
- Real-world adoption patterns beyond the listed wiki users.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 153 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 85,046 / month, #13,957 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersTopic :: Software Development :: Libraries |
Evidence: pykka-4.4.2-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “threading abstraction”
- pykkaPykka is a Python implementation of the actor model that simplifies…
- PebblePebble provides decorators and pool abstractions to run functions in…
- ssh-pythonPython bindings to the libssh C library for SSH client operations,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also Spark · thespian · django-concurrency · apify · multitasking · pickleshare · faktory · oslo.concurrency · autogen-core · atomos