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.
  • SQLite Utilizes SQLite on a ramdisk for data durability.
  • 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.0b1-py3-none-any.whl (32.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: litestash-0.1.0b1-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.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 80048bcf906d47ac3d9a36ad06455a9b0edc3a975e5b49df527b9c7f66bfb9c6
MD5 43925c32a56b73de7740222e0bebcfd4
BLAKE2b-256 24a2e2f2ae76a60e42daa264026f23caf57cd656d1bc3ae10514c55c294340e4

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