thespian
Python Actor concurrency library
Decision gist · record as of 2026-08-14
Yes-with-conditions. Thespian is a mature, permissive-licensed framework for actor-based concurrency with no external dependencies, making it lightweight to integrate. However, install friction is high and the project shows signs of aging—no release in 520 days despite Production/Stable status. Install it if you need actor-model semantics and can accept limited active maintenance; avoid it if you require frequent updates or active community support.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- High install friction reported.
- The package has not seen a release in 520 days despite being marked as Production/Stable, and maintenance status is aging.
- No runtime dependencies to simplify setup, but the long gap since last activity suggests limited ongoing support.
License · maintenance · safety
MIT (permissive) — MIT license is permissive, allowing broad use including in commercial and proprietary projects with minimal restrictions—only requiring attribution and including the license text.
last release 2025-03-12 (520 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 135,094 downloads/mo, #11,454 on PyPI
Alternatives
Verify before relying
pip install thespian
from thespian.actors import Actor, ActorSystem
class HelloActor(Actor):
def receiveMessage(self, msg, sender):
self.send(sender, f"Hello from {self.myAddress}")
system = ActorSystem()
hello_ref = system.createActor(HelloActor)
response = system.ask(hello_ref, "Hi", timeout=1)
print(response)- Whether the 520-day gap since last release reflects intentional stability or abandonment of active maintenance.
- Current state of the project repository and whether it remains actively monitored for issues.
- Compatibility testing status with Python 3.10, 3.11, and 3.12 listed in classifiers.
What it is and what it does
Thespian is a Python library implementing the Actor Model, a concurrency paradigm where independent actors execute in parallel and coordinate through asynchronous message passing rather than shared state. It enables developers to build applications that are naturally concurrent, can run across multiple machines, and recover from failures by isolating work into separate actors. The framework handles actor lifecycle, message routing, and system coordination, making it suitable for cloud environments where nodes are dynamically added or removed.
The library is designed for applications requiring fault tolerance and scalability without tight coupling between components. Actors are location-independent, meaning the same code can run locally or distributed across a network with minimal changes. It supports CPython and PyPy across multiple Python versions, though the lack of recent releases and high install friction may indicate limited active development.
Use it for
- Build fault-tolerant microservices where individual actor failures don't crash the entire system.
- Implement distributed systems that scale across multiple machines with location-transparent actor communication.
- Create concurrent applications processing independent tasks asynchronously without managing threads or locks directly.
- Develop cloud-native applications that adapt to dynamic node availability by treating actors as mobile, independent units.
- Prototype actor-based algorithms or systems where message-passing semantics are more natural than shared-memory concurrency.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes-with-conditions.
Thespian is a mature, permissive-licensed framework for actor-based concurrency with no external dependencies, making it lightweight to integrate. However, install friction is high and the project shows signs of aging—no release in 520 days despite Production/Stable status. Install it if you need actor-model semantics and can accept limited active maintenance; avoid it if you require frequent updates or active community support.
Install
thespian on PyPI
Before you install
High install friction reported. The package has not seen a release in 520 days despite being marked as Production/Stable, and maintenance status is aging. No runtime dependencies to simplify setup, but the long gap since last activity suggests limited ongoing support.
License in practice
MIT license is permissive, allowing broad use including in commercial and proprietary projects with minimal restrictions—only requiring attribution and including the license text.
Quickstart
pip install thespian
from thespian.actors import Actor, ActorSystem
class HelloActor(Actor):
def receiveMessage(self, msg, sender):
self.send(sender, f"Hello from {self.myAddress}")
system = ActorSystem()
hello_ref = system.createActor(HelloActor)
response = system.ask(hello_ref, "Hi", timeout=1)
print(response)
Verify before relying
- Whether the 520-day gap since last release reflects intentional stability or abandonment of active maintenance.
- Current state of the project repository and whether it remains actively monitored for issues.
- Compatibility testing status with Python 3.10, 3.11, and 3.12 listed in classifiers.
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Aging 520 days since the last release |
| First released | |
| Downloads | 135,094 / month, #11,454 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 :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: System :: Distributed Computing |
Evidence: thespian-4.0.1.tar.gz
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 › “actor model framework python”
- thespianThespian provides an Actor Model framework for building concurrent,…
- SparkSpark is an async-first actor framework for Python that lets you…
- pykkaPykka is a Python implementation of the actor model that simplifies…
Give your agent the search over MCP, or paste the wish link into any chat.
More Distributed Computing packages
gRPC Python is an HTTP/2-based RPC framework that enables you to define and call remote procedures across network boundaries using protocol buffers for serialization.
Install it if you need RPC communication in a distributed system or are integrating with existing gRPC services.
execnet lets you spawn and communicate with Python interpreters across local processes, remote hosts, and different platforms, using a simple API for task distribution and inter-process messaging.
However, the aging maintenance status (275 days since last release) means you should verify it meets your concurrency and performance needs before committing to a…
Cloudpickle extends Python's standard pickle module to serialize lambda functions, interactively-defined functions and classes, and other constructs that the default pickle cannot handle, making it suitable for cluster computing and remote code execution.
Install it if you need to serialize lambda functions, interactively-defined code, or non-standard Python constructs for cluster computing or distributed execution.
Provides a unified, open()-compatible Python API for streaming large files from remote storage (S3, GCS, Azure, HDFS, SFTP, HTTP) and local filesystems, with transparent compression support.
Install it if you work with large files on cloud storage or remote systems and want to avoid writing boilerplate around multiple SDKs.
Portalocker provides cross-platform file locking with support for exclusive and shared locks, plus Redis-based distributed locks and process-aware PID file locking.
Install it if you need file or process coordination; the optional extras (pywin32, redis) are only required for specific lock types.
Ray is a distributed computing framework that scales Python applications from a single machine to multi-node clusters, providing abstractions for parallel tasks, stateful actors, and shared objects.
See also Spark · pykka · azure-servicebus · dapr · celery · hazelcast-python-client · anyio · temporalio · apify