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.0

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.0
File Size Uploaded Provenance
droplet_db-0.1.0.tar.gz 16.3 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 27.0 kB

Release files / droplet_db-0.1.0.tar.gz

Download URL droplet_db-0.1.0.tar.gz
Size 16.3 kB
Tags Source
SHA-256 checksum
How to use checksums
366f3ee35e83f1931dc88b4f5d008d38164788709b6a9378a497a6244fbccd73
BLAKE2b-256 checksum
How to use checksums
ab222f68fb35e58effc6b65ff565ffacb7d216da953ae2b321cd48352d0afb8a
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.0-py3-none-any.whl

Download URL droplet_db-0.1.0-py3-none-any.whl
Size 10.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
861ea45a62071653a6867a7a9b663964f29fd4035f8a5cc128c0c878cbcb6266
BLAKE2b-256 checksum
How to use checksums
29567b30c31144ae102f328c7d859d9d9990ba24674f716272d9d621a0aafe86
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.0

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