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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for litecache2-0.1.2.tar.gz
Algorithm Hash digest
SHA256 9e8d3f02c289104f9266ce61c57834665a8313488f237ec032babe0c946e83a8
MD5 72b4ce994acb07fd01412a7ce2751607
BLAKE2b-256 7f728d462797e3b8ac2b389de73a31daf544239ebb207d1f5081df1e4aea6024

See more details on using hashes here.

File details

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

File metadata

  • Download URL: litecache2-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 47e81925f334eb69ad8767b45e16beb48192b7d23d1048e58d154a67cc5a2954
MD5 f9dc39a02b8300f2d27e6aca85f02292
BLAKE2b-256 b85fb950debf961f39afc6a7d89560f99695fae4cbabd274c3d013b75bbadf79

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