aiodistributor-0.0.2.1
توضیحات
Python asynchronous library for synchronizing replicated microservices
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX |
| نام فایل | aiodistributor-0.0.2.1 |
| نام | aiodistributor |
| نسخه کتابخانه | 0.0.2.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/malik89303/aiodistributor |
| آدرس اینترنتی | https://pypi.org/project/aiodistributor/ |
| مجوز | Apache License 2.0 |
# [aiodistributor](aiodistributor)
## Python Asynchronous Library for Synchronization of Replicated Microservices
[](https://codecov.io/gh/malik89303/aiodistributor)

#### This library provides a set of tools for synchronizing replicated microservices using Redis. The main goal is to facilitate inter-service communication, rate limiting, and throttling mechanisms in a distributed environment.
### Features:
- Distributed sliding counter for implementing rate limiting or throttle mechanisms.
- Distributed waiter for waiting for signals from other nodes or services and triggering the appropriate callback.
- Distributed task for managing and distributing tasks across multiple nodes or services.
- Distributed cache for caching data and sharing it among services.
- Distributed notifier for event-driven communication between nodes or services.
- Utilizes Redis for storage and message passing between nodes.
- Asynchronous and non-blocking design using Python's asyncio library.
### Dependencies
- Python 3.10+
- Redis server
- redis-py or aioredis
### Installation
To install the aiodistributor library, you can simply use pip:
```commandline
pip install aiodistributor
```
### Usage
Detailed examples and usage instructions can be found in [examples](examples) folder
### Contributing
Contributions are welcome! Please submit a pull request or create an issue to discuss proposed changes.
نیازمندی
| مقدار | نام |
|---|---|
| - | redis |
| - | ujson |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.10 | Python |
نحوه نصب
نصب پکیج whl aiodistributor-0.0.2.1:
pip install aiodistributor-0.0.2.1.whl
نصب پکیج tar.gz aiodistributor-0.0.2.1:
pip install aiodistributor-0.0.2.1.tar.gz