Skip to main content

A simple Redis based lock

Project description

### Overview A distributed asynchronous lock built on top of the Redis PubSub, Get and Set methods. This takes inspiration from the asyncio Lock whereby futures are used instead of the polling done by the multiprocessing Lock.

### Requirements - Redis - Python 3.12.6 If you don’t have Redis but have docker you can simply run this command. docker run –name <name> -d -p 6379:6379

If you want to see the messages being sent back and forth in real-time you can do ` docker exec -it <name> redis-cli SUBSCRIBE <key>.live or <key>.broadcast `

### Contact https://www.linkedin.com/in/jadore-t-49379a295/ https://twitter.com/jtzenz

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

r_mutex-1.0.1.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

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

r_mutex-1.0.1-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file r_mutex-1.0.1.tar.gz.

File metadata

  • Download URL: r_mutex-1.0.1.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.6

File hashes

Hashes for r_mutex-1.0.1.tar.gz
Algorithm Hash digest
SHA256 50fd12a840448a5498ce6cf6f61a42e8b40cc881699af58fc2277e52e84f0c18
MD5 1201acc2e5a717c6c6cbcaeb914baa74
BLAKE2b-256 d3bf046e1138fc8e02bee2076130970cd6d2b460a6a11ab84983be252392178b

See more details on using hashes here.

File details

Details for the file r_mutex-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: r_mutex-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.6

File hashes

Hashes for r_mutex-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fda59882c5d3460c8f5881d8f9c9929638542f6b0a0ac49bfe000b3d6b40bf1c
MD5 0020d99219e861670df8d0e9f3966eca
BLAKE2b-256 32af14a8c6de677b1b6617a826cac649fb1e5418553f09103d6ee76d7152e4c5

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