Skip to main content

Droplet Logo

Droplet

Small. Simple. Persistent.

Droplet is a lightweight, file-backed key-value database for Python, designed to provide simple, persistent data storage without the complexity of a traditional database.

Droplet stores your data locally in a single file and provides a small, straightforward API.

Features

  • 🔑 Key-value storage
  • 💾 Persistent file-based storage
  • 🐍 Built for Python
  • 📦 Support for common Python types
  • 🔄 CRUD operations
  • 📝 Export data to JSON

Example

from droplet import Droplet

db = Droplet()

db.open()

db.set("name", "Droplet")
db.set("type", "key/value")

print(db.get("name"))
print(db.get("type"))

db.close()

Vision

Droplet is intended to stay small, simple, and useful.

Droplet aims to be a lightweight database for Python projects that need persistent local storage without wanting to introduce a full database server or a complicated database layer.

Planned features include:

  • Transactions
  • Import from JSON support
  • TTL / expiring values

Status

Droplet is currently an early-stage project under active development. The API and file format may change as the project evolves.

More documentation and examples will be added as the project matures.

License

MIT

Metadata

Release files for droplet-db 0.1.2

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

Source distribution (sdist)

Source distribution for droplet-db 0.1.2
File Size Uploaded Provenance
droplet_db-0.1.2.tar.gz 16.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for droplet-db 0.1.2
File Interpreter ABI Platform
droplet_db-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 27.8 kB

Release files / droplet_db-0.1.2.tar.gz

Download URL droplet_db-0.1.2.tar.gz
Size 16.7 kB
Tags Source
SHA-256 checksum
How to use checksums
094358b41efc781a49bbeee89dc09ffbad3523be902a1f1b221add7b72f740e7
BLAKE2b-256 checksum
How to use checksums
d2aa8ae51a797fc4333e893401d4c46fb03bdd6cc257dc7024c2cface2e6d1ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / droplet_db-0.1.2-py3-none-any.whl

Download URL droplet_db-0.1.2-py3-none-any.whl
Size 11.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5254acccf2e848596aee8bf5d322b443b6f5d33523b7292434a81f3060f89b81
BLAKE2b-256 checksum
How to use checksums
d94d023e3b2a6c0cf290a0d49940b931d64948a0b7415324ed5bc6f232da1dad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Security for droplet-db 0.1.2

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