https://github.com/prokil/aact
AAct -- An actor model library in Python
https://github.com/prokil/aact
actor-model asyncio pubsub redis
Last synced: 4 months ago
JSON representation
AAct -- An actor model library in Python
- Host: GitHub
- URL: https://github.com/prokil/aact
- Owner: ProKil
- License: mit
- Created: 2024-09-06T21:40:38.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-03T15:57:32.000Z (6 months ago)
- Last Synced: 2025-06-25T15:06:14.149Z (4 months ago)
- Topics: actor-model, asyncio, pubsub, redis
- Language: Python
- Homepage: https://aact.dev
- Size: 1.42 MB
- Stars: 9
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# AAct -- An actor model library in Python
*Designed for communicating sensors, neural networks, agents, users, and environments.*## Installation
### Pre-requisites
- Python 3.10 or later
- pip
- Docker (for installing Redis)### Install
```bash
pip install aact
```### Examples
#### Tick and print
```bash
docker run -d --name redis-stack -p 6379:6379 -p 8001:8001 redis/redis-stack:latest
aact run-dataflow examples/example.toml
```You will see a tick printed every second.
#### Looped speaker and listener
```bash
pip install aact[audio]
docker run -d --name redis-stack -p 6379:6379 -p 8001:8001 redis/redis-stack:latest
aact run-dataflow examples/speaker_listener.toml
```