https://github.com/alkasm/theta
Extensions for multithreaded Python applications.
https://github.com/alkasm/theta
datastore python queue threading
Last synced: 11 months ago
JSON representation
Extensions for multithreaded Python applications.
- Host: GitHub
- URL: https://github.com/alkasm/theta
- Owner: alkasm
- Created: 2020-01-17T10:00:02.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-01-11T21:31:45.000Z (over 2 years ago)
- Last Synced: 2025-07-21T03:30:38.477Z (12 months ago)
- Topics: datastore, python, queue, threading
- Language: Python
- Homepage: https://alkasm.github.io/theta
- Size: 620 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
𝜗
* `EvictingQueue` - queue with evicting, non-blocking puts, blocking gets with timeouts, and iteration semantics
* `StoppableThread` - thread with cancellation semantics
* `Store` - callback executor with thread-safe writers
[Read the docs](https://alkasm.github.io/theta/) for examples and the API reference.
## Install
```sh
pip install theta-alkasm
```
## Development
In a virtual environment:
```
$ poetry install
$ poetry check
$ poetry run pytest
$ poetry run black theta
$ poetry run mypy theta
```