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)

Release files for redis-persistence 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for redis-persistence 0.0.4
File Size Uploaded
redis-persistence-0.0.4.tar.gz 2.9 kB Details

Release files / redis-persistence-0.0.4.tar.gz

Download URL redis-persistence-0.0.4.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
77f5b4ca7548faf5bf72be61120b85877db68c8d2da795c31d61bdbfaaa044a9
BLAKE2b-256 checksum
How to use checksums
938eba1f456c79c6f130464f7962f2febafeb707cc5851458d9d1b358b5bf008
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.4 This release

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release 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