Skip to main content

Набор утилит для интеграции 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


Download files

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

Source Distribution

aiogram_redis_utils-0.1.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aiogram_redis_utils-0.1.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

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

Hashes for aiogram_redis_utils-0.1.0.tar.gz
Algorithm Hash digest
SHA256 700be1214192ab5f7a2ea19e20adba1ab48695922cd0e02e471a576462e86d4b
MD5 f85f0187c6bd4ffc6fcfefa251281dd9
BLAKE2b-256 0599df6394c1c6af1e6340ff96b1badee98e5ad19e853c5254c3eb0ffa309626

See more details on using hashes here.

File details

Details for the file aiogram_redis_utils-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for aiogram_redis_utils-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 280b0c08ac40c60df9ee1be3cd3c4266133c73ea6d1fb930e36bceaa03926d2f
MD5 8e36ddba98ca0acfa7b094477d8cb925
BLAKE2b-256 1b433c27e8610148a8d60618bafe018ec27cda20d4526e045fbea16d7f2859b7

See more details on using hashes here.

Supported by

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