Skip to main content

dynamoredis

Python client for dynamoredis — a truly serverless Redis: one DynamoDB table, a Lambda Function URL as the endpoint, ≈ $0 when idle. The redis-py API, standard library only. Part of Redefine AWS Serverless.

pip install dynamoredis
from dynamoredis import redis        # later: `import redis` against a real Redis, nothing else changes

r = redis.Redis(host="xxx.lambda-url.us-east-2.on.aws", username="admin", password="...")
r.set("greeting", "hello", ex=60)
r.get("greeting")                    # b"hello"
r.incr("hits")                       # atomic (DynamoDB ADD)
r.hset("user:1", mapping={"name": "alice", "age": 30})
r.zadd("board", {"alice": 10, "bob": 20}); r.zrange("board", 0, -1, withscores=True)
with r.pipeline(transaction=False) as p:
    p.set("a", 1); p.get("a"); p.execute()     # one request

Strings, keys/TTL, hashes, lists, sets, sorted sets, pipelines. Not supported (raises NotSupportedError): pub/sub, blocking commands, Lua, MULTI/EXEC/WATCH, streams — those need a server that holds connections; that is the moment to move to a real Redis.

The endpoint comes from deploying the main repository — same as any client needs its server. Compatibility with redis-py against Redis 7: REPORT.md.

Metadata

Release files for dynamoredis 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 dynamoredis 0.1.1
File Size Uploaded Provenance
dynamoredis-0.1.1.tar.gz 7.9 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 15.9 kB

Release files / dynamoredis-0.1.1.tar.gz

Download URL dynamoredis-0.1.1.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
1dcb9127376293e5a83905f3950281320f2014c6c032671abaa76386f8008e52
BLAKE2b-256 checksum
How to use checksums
7965f02caa359707f15a5a09a727a2d9f667a03f2f9c828b035981bef69db86f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

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

Download URL dynamoredis-0.1.1-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aaa2414c94fbdec545660602a4c7472c63641958761ef01c1038941fd8a52523
BLAKE2b-256 checksum
How to use checksums
04d2fb3b15eefb3377f5fb4d96cf59fcf5067f5a17b19f4f6a8dca4cde8efa46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for dynamoredis 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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

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