Skip to main content

The LiteStash Python project offers a lightning-fast, lightweight key-value storage solution. LiteStash provides a NoSQL API for seamless integration into your applications. The LiteStash database handles the data with SQLite transparently. Optimal use for caching, session management, and other high-performance use cases.

Project description

LiteStash

A key-value store for Python, built on SQLite with a NoSQL api and speed.

Overview

The LiteStash Python project offers a lightning-fast, lightweight key-value storage for Python applications. LiteStash provides a NoSQL API for seamless integration into your applications. Optimal use for caching, session management, and other high-performance use cases. LiteStash is for high-performance storage of key-value data that leverages SQLite's reliability and speed, optimized for scenarios where you need quick access to data.

Key-Value Store

With a simple, NoSQL-like API, LiteStash is easy to integrate into your Python applications, especially web frameworks like FastAPI and Django. Keys are hashed and indexed by Sqlite in the background. Each database handles at most four tables across sixteen distinct database files.

Features

  • Performance: Stores data in memory for near-instantaneous access.
  • Pydantic Data Validation: Ensures type safety and data integrity using Pydantic models.
  • Distributed Hash Table: Organizes data across multiple SQLite databases for scalability.
  • Pythonic API: Offers a simple and intuitive API for interacting with the key-value store.
  • Lightweight and Easy to Use: Minimal dependencies and straightforward setup.
  • Flexible Data Types: Supports string keys and various value types, including strings, numbers, booleans, lists, and dictionaries (serialized as JSON).

Use Cases

  • Caching: Store frequently accessed data, such as API responses, database query results, or computed values.
  • Session Management: Manage user sessions in web applications.
  • Temporary Data Storage: Store transient data for short-lived tasks or calculations.

Project

Thanks for checking out the beta release of LiteStash. More features are in the works. The Github is a mirror of the project at this time. LiteStash is under active development and working towards the first release.

Contact mail@mesotron.dev with questions & requests.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

litestash-0.1.0b2-py3-none-any.whl (32.8 kB view details)

Uploaded Python 3

File details

Details for the file litestash-0.1.0b2-py3-none-any.whl.

File metadata

  • Download URL: litestash-0.1.0b2-py3-none-any.whl
  • Upload date:
  • Size: 32.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for litestash-0.1.0b2-py3-none-any.whl
Algorithm Hash digest
SHA256 32f9c2d26d7eb2edaedd683bf22c82f9f9e576a0d1b8a59deddaea9a98c58a23
MD5 fd35ab14bcf0ed1dc2dd9ca549730ec8
BLAKE2b-256 f04ab3199f7189e7f7c28d59fbaa3ea9a1bcc22979152f15736092850d16e4cd

See more details on using hashes here.

Supported by

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