Skip to main content

Setup

You can find the package, here.

pip3 install redis-persistence

Requirements

  • Python 3.8
  • Redis 3.5

Import

from redispersistence.persistence import RedisPersistence

Usage

You need to use this persistence with pyton-telegram-bot module.

redis_instance = Redis(host='localhost', port=6379, db=0)
persistence = RedisPersistence(redis_instance)
updater = Updater(BOT_TOKEN, persistence=persistence)

Download files

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

Source Distribution

redis-persistence-0.0.4.tar.gz (2.9 kB view details)

Uploaded Source

File details

Details for the file redis-persistence-0.0.4.tar.gz.

File metadata

  • Download URL: redis-persistence-0.0.4.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

File hashes

Hashes for redis-persistence-0.0.4.tar.gz
Algorithm Hash digest
SHA256 77f5b4ca7548faf5bf72be61120b85877db68c8d2da795c31d61bdbfaaa044a9
MD5 263bdbaa55b9c5536c8a30482d4e3bf4
BLAKE2b-256 938eba1f456c79c6f130464f7962f2febafeb707cc5851458d9d1b358b5bf008

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.4 This release

1 file

0.0.3

1 file

0.0.2

1 file

0.0.1

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page