Lightweight actor framework with supervision
Project DescriptionRelease History Download Files
A python actor framework.
- Easy to build concurrency with the actor model.
- Lightweight. Can run millions of actors on a single thread.
- Integrated supervision for managing actor lifetime and faults.
- Extensible with new executors and dispatchers.
- An Akka-like API.
Install from PyPI using pip:
$ pip install actors
from actors import Actor, ActorSystem class Greeter(Actor): def receive(self, message): print("Hello %s" % message) system = ActorSystem() greeter = system.actor_of(GreetingActor) greeter.tell("world") system.terminate()
Documentation is available at http://pythonhosted.org/actors/.