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 litecache2

or

pip install git+https://github.com/psqnt/litecache.git

Usage


Basic Example

$ litecache

(development)

$ 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.3.tar.gz (4.2 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.3-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for litecache2-0.1.3.tar.gz
Algorithm Hash digest
SHA256 a8a27cc838b7529b2177f784061c7bb37069da1c0c42e5be1b009817b9e9cd96
MD5 16474c31abb2ea7421715eb8dc93fc5b
BLAKE2b-256 c4bfaaf01469ee3d70b5ec63bed10d6be0f678c350f1d090a1f4b1077f3cadee

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for litecache2-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7d72cf78d4a45fd548308f0d6370ae4fc8c6b3fe91089f31e3b00bf9f30a8cb8
MD5 76c93a62f18bb411e8eff860829a337d
BLAKE2b-256 b9cbb2aa9c01b73730cdc811cfa4410c641b3c587ce726d8bef197f36a334905

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