Набор утилит для интеграции Redis с Telegram-ботами на Aiogram
Project description
aiogram-redis-utils
Набор асинхронных утилит для Telegram-ботов на Aiogram с использованием Redis.
Установка
pip install aiogram-redis-utils
Пример использования
from aiogram_redis_utils import MessageTracker
tracker = MessageTracker(redis, expiration=600)
await tracker.track(message)
await tracker.cleanup(bot)
Возможности
- Трекинг сообщений в Redis
- Очистка устаревших сообщений
- Планировщик фоновой очистки
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aiogram_redis_utils-0.1.0.tar.gz.
File metadata
- Download URL: aiogram_redis_utils-0.1.0.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
700be1214192ab5f7a2ea19e20adba1ab48695922cd0e02e471a576462e86d4b
|
|
| MD5 |
f85f0187c6bd4ffc6fcfefa251281dd9
|
|
| BLAKE2b-256 |
0599df6394c1c6af1e6340ff96b1badee98e5ad19e853c5254c3eb0ffa309626
|
File details
Details for the file aiogram_redis_utils-0.1.0-py3-none-any.whl.
File metadata
- Download URL: aiogram_redis_utils-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
280b0c08ac40c60df9ee1be3cd3c4266133c73ea6d1fb930e36bceaa03926d2f
|
|
| MD5 |
8e36ddba98ca0acfa7b094477d8cb925
|
|
| BLAKE2b-256 |
1b433c27e8610148a8d60618bafe018ec27cda20d4526e045fbea16d7f2859b7
|