Skip to main content

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 --host localhost --port 6399

(development)

$ uv run litecache

using docker:

$ docker build -t litecache:latest .
$ docker run litecache:latest

Configuration


litecache can be configured using the following cli parameters:

--host
--port

Testing


To run the tests, use the following command:

uv run pytest

Metadata

Release files for litecache2 0.1.5

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

Source distribution (sdist)

Source distribution for litecache2 0.1.5
File Size Uploaded Provenance Actions
litecache2-0.1.5.tar.gz 5.0 kB Without provenance Details for litecache2-0.1.5.tar.gz

Built distribution (wheel)

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

Total release size: 10.4 kB

Release files / litecache2-0.1.5.tar.gz

Download URL litecache2-0.1.5.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b0e177098a1af47d2218712aee613b10a8a7421ea91b2df415ff3cc6850205d5
BLAKE2b-256 checksum
How to use checksums
28ffb56bdcd168fe0941a8e2200a26dfd2e8cc264010f3768a6c53103e108b2b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.13

Release files / litecache2-0.1.5-py3-none-any.whl

Download URL litecache2-0.1.5-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5aa808b6a9f53e3482cf1d1f302489cb589732bb8b9b2620ecca71edb8325541
BLAKE2b-256 checksum
How to use checksums
0d602f33e2a649af3b91564e5cf213e6d7c227a5529d8c5171d9dec146e6d88c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.13

Security for litecache2 0.1.5

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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