Skip to main content

Lightweight actor framework with supervision

Project description

A python actor framework.

https://img.shields.io/pypi/v/actors.svg

Features

  • 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.

Installation

Install from PyPI using pip:

$ pip install actors

Obligatory greeter

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

Documentation is available at http://pythonhosted.org/actors/.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

actors-0.5.1b1.tar.gz (21.3 kB view details)

Uploaded Source

File details

Details for the file actors-0.5.1b1.tar.gz.

File metadata

  • Download URL: actors-0.5.1b1.tar.gz
  • Upload date:
  • Size: 21.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for actors-0.5.1b1.tar.gz
Algorithm Hash digest
SHA256 2030cbc2c1c8729bd7c044e44085a2b13e923b633f36855c75d1d335d7125452
MD5 b02021d43a7078267433c3bac7a08a79
BLAKE2b-256 43d83db8131a52cf4ee1db46da738fb48484dbdf9132730143af8ed753fc9e76

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page