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

Built distribution (wheel)

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

Total release size: 15.9 kB

Release files / dynamoredis-0.1.0.tar.gz

Download URL dynamoredis-0.1.0.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
25d2c5fcc920472ea1700ad6dd26a77ebf22dd186495cf951681b82e4611dec1
BLAKE2b-256 checksum
How to use checksums
ba8e7c16fd5bb9f41bc3833c77dd75953af21e4e1bc85442f07bf18c6aee859c
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.0-py3-none-any.whl

Download URL dynamoredis-0.1.0-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2d79f49c45a495ad108f20e6baf70187712ffe88606fadd00379121f6243b355
BLAKE2b-256 checksum
How to use checksums
5745f9425fbe5e86d9974452b53f31527f32f97b5ec077a71c8c18a57b3150ed
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.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.

Release history Release notifications | RSS feed

This release

0.1.0 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