Skip to main content

A lightweight async TCP dictionary server with RESP support

Project description

litecache

===========================================================

Introduction


litecache is a basic in-memory key-value store written in Python supporting a subset of RESP (redis serialization language)

Features


  • Key-Value Cache: Store and retrieve data using a simple key-value pair system
  • RESP: support a subset of resp so should work with any redis client (SET,GET,DEL)
  • Simple: small code base and fairly readable so should be easy to understand and make updates to

Installation


To install litecache, run the following command:

pip install litecache

Usage


Basic Example

uv run litecache

Configuration


litecache can be configured using the following environment variables:

TODO

Testing


To run the tests, use the following command:

uv run pytest

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

litecache2-0.1.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

litecache2-0.1.0-py3-none-any.whl (1.5 kB view details)

Uploaded Python 3

File details

Details for the file litecache2-0.1.0.tar.gz.

File metadata

  • Download URL: litecache2-0.1.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.13

File hashes

Hashes for litecache2-0.1.0.tar.gz
Algorithm Hash digest
SHA256 74784fe9e3e2dcfd81e9d3443576bdbd0ae5b2fb2faeeca462754043fc08f7ae
MD5 81403bf900dd2969004a92b2a6716c7b
BLAKE2b-256 f9a1845169839094015ef7875ba85ea6023861fbe5f0ef27d1bb3972e164de1a

See more details on using hashes here.

File details

Details for the file litecache2-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: litecache2-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 1.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.13

File hashes

Hashes for litecache2-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c9e6704965f8cd87ce43e8ace5c29493567d599b7aeee20c158343867859388f
MD5 73bbe55b39e74fe410e42418c7540e41
BLAKE2b-256 f53f06cf761b31003dbbfe62cd303cf31656e5cc4bbf6995289bbd9b873c78bf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page