Skip to main content

blues

redis subset in python3

0 AI. Check out "Build Your Own Redis" Challenge to do something similar!

Motivation

  1. get some additional practice with async programming in python3
  2. get better with pytest-asyncio and hypothesis
  3. (some) learning on data structures and redis internals

What's done

  1. Blues Stanza Protocol (RESP2 compatible)
  2. Blues Server (async), (strings, lists, streams) TODO: list implemented commands
  3. Blues Client (async)
  4. Blues CLI Client (async), mostly for manual testing, but pretty functional
  5. Transactions
  6. Optimistic Locking
  7. Replication

What's coming

  1. Persistence
  2. More if I can finish the above before the free challenge changes

Dependencies

  1. Typer - amazing library for Python CLIs

Dev Tools

  1. uv
  2. pytest
  3. hypothesis
  4. Zed

Attribution and Thanks

  1. "Build Your Own Redis" Challenge
  2. StringTrie implementation
  3. Typer

License

Apache 2.0

Author

© Chaitanya Mittal, 2026

Notice

Reach out if I have missed out an attribution or something needs to be removed! No harm intended.

Metadata

Release files for blues 0.1.2

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

Source distribution (sdist)

Source distribution for blues 0.1.2
File Size Uploaded Provenance Actions
blues-0.1.2.tar.gz 43.3 kB With provenance Details for blues-0.1.2.tar.gz

Built distribution (wheel)

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

Total release size: 81.8 kB

Release files / blues-0.1.2.tar.gz

Download URL blues-0.1.2.tar.gz
Size 43.3 kB
Tags Source
SHA-256 checksum
How to use checksums
60b0b288ad41351b9c7975de9d49acceeb23255ce432fd864580722d341ecd61
BLAKE2b-256 checksum
How to use checksums
60171fe9754e64345c6fc513caecb669ad3c736945b63913b307e96e9bb5b45f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 11, 2026.

Transparency log

Release files / blues-0.1.2-py3-none-any.whl

Download URL blues-0.1.2-py3-none-any.whl
Size 38.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d2aa0c4b73152771a46380a1991ffca004d7ed5a05261e93c1f1372e50e3c9a3
BLAKE2b-256 checksum
How to use checksums
9469b1e4fe70724ad67ef6e0fff5f5d8fe9843a80f53884fd8a4474a41490449
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 11, 2026.

Transparency log

Security for blues 0.1.2

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for blues-0.1.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 11, 2026.

Transparency log

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