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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file litecache2-0.1.1.tar.gz.
File metadata
- Download URL: litecache2-0.1.1.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e26b6fb3a02fc8122e59e9440486f9d7ffe96caaeb12d27a52b0ff7755db3119
|
|
| MD5 |
26836f8aa49cbc59c8dcaf621a2c4464
|
|
| BLAKE2b-256 |
73250ed520d461a960ef5b9a5e8e0f7600af1a308be12e298d720f9fa2fcbc59
|
File details
Details for the file litecache2-0.1.1-py3-none-any.whl.
File metadata
- Download URL: litecache2-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
65ccea4283bcb42cfb4660743129ea7486707760b1dd9b64b68da6d3e363c5bf
|
|
| MD5 |
b8dfb8960f14b1a8d8ccc4fe569d8ce9
|
|
| BLAKE2b-256 |
480dbc5d509df921bfe233b1725bd3b37de0a5c65e0d0e7f6714245c1708f938
|