Skip to main content

Asynchronous GLObal REDis Interface

Implements a small interface around the basic redis.Redis() client meant to be shared across different files in the same process that need access to the same redis instance. This implementation has two major goals:

  1. Allow sharing the same Client object across different files without having to pass the object itself each time.
  2. Allow asynchronous calls to the redis interface, specially when submitting data to avoid any disruption in running code

Usage

The usage of this library is straight forward and it implements the basic redis.Redis() methods:

from glored import redis_client
import time

# Synchronous
redis_client.set('some_key', 'some_value')
result = redis_client.get('some_key')

# Asynchronous
redis_client.asynchronous.set('some_key', 'other_value')
time.sleep(1)
result = redis_client.get('some_key')

Metadata

Release files for glored 0.1.1

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

Source distribution (sdist)

Source distribution for glored 0.1.1
File Size Uploaded Provenance Actions
glored-0.1.1.tar.gz 4.3 kB Without provenance Details for glored-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for glored 0.1.1
File Interpreter ABI Platform Actions
glored-0.1.1-py3-none-any.whl Python 3 none any Details for glored-0.1.1-py3-none-any.whl

Total release size: 9.3 kB

Release files / glored-0.1.1.tar.gz

Download URL glored-0.1.1.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
474685384c54fe85477f1c5786807d7cf2586610540a2f3e09fafd95c1eea115
BLAKE2b-256 checksum
How to use checksums
dd61691f506a856b57ecd3b23f3996c445c69bdb5aceb39b91d8af3e3d1ba48f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.2

Release files / glored-0.1.1-py3-none-any.whl

Download URL glored-0.1.1-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
311aaa67f45a27c9e4b59cd0e935977b3781627efa6e42162e6945ce8aee86a1
BLAKE2b-256 checksum
How to use checksums
8717930f48fbe30145152b9d5a7a22e9d35339ad2c34ef50e3efa0dd1341e5a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.2

Security for glored 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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