Skip to main content

RedNest

Redis dictionary & list nesting for Python objects using redis-py and Redis Hashes and Lists

Usage example

import redis

from rednest import Dictionary, List

# Initialize redis connection
redis = redis.Redis(...)

# Create your dictionary
my_dict = Dictionary(redis, "test-dict")
my_dict.test_value = "Hello World"
my_dict.numbers = [10, 20, 30]
my_dict.ages = {
	"User 1": 10,
	"User 2": 20,
	"User 3": 30,
}

# Change a user age
my_dict.ages["User 3"] = 40

# Show the variable types
print(type(my_dict.ages), type(my_dict.numbers))

# Show the entire dictionary
print(my_dict)

Starting a test server locally

To run a test server, you can use the following command to run a Redis server locally:

docker run --rm -it -p 6379:6379 redis/redis-stack-server

Metadata

Release files for rednest 0.7.0

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

Source distribution (sdist)

Source distribution for rednest 0.7.0
File Size Uploaded Provenance Actions
rednest-0.7.0.tar.gz 13.6 kB Without provenance Details for rednest-0.7.0.tar.gz

Built distribution (wheel)

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

Total release size: 24.1 kB

Release files / rednest-0.7.0.tar.gz

Download URL rednest-0.7.0.tar.gz
Size 13.6 kB
Tags Source
SHA-256 checksum
How to use checksums
ff75be467bcfd096d2ea9f234fc6f59203afcf1bc93d2322ec6d782bbfbe6946
BLAKE2b-256 checksum
How to use checksums
2fe87bff458e6356a7f5dbbfdded574cf04dd345d65f57cb242830b936956b9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release files / rednest-0.7.0-py3-none-any.whl

Download URL rednest-0.7.0-py3-none-any.whl
Size 10.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5c7d55fec37a93fcf0dbd8b300a8ebcd5bf419cad1b90ec7b6c876afe76884df
BLAKE2b-256 checksum
How to use checksums
d245926f7eb8651e4405f63e8dde8fa30b09093b68d5a00d2aad6ff8a42501b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Security for rednest 0.7.0

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