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

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.1
File Size Uploaded Provenance
droplet_db-0.1.1.tar.gz 16.6 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 27.7 kB

Release files / droplet_db-0.1.1.tar.gz

Download URL droplet_db-0.1.1.tar.gz
Size 16.6 kB
Tags Source
SHA-256 checksum
How to use checksums
5f85df1148400120bb2bcaecced4469858cb7e646d679f5a8e2a9b0e9a104186
BLAKE2b-256 checksum
How to use checksums
34974ae4a0df776c5004acb87e6955a2fa40e8d98c4148359212af46e5239a40
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.1-py3-none-any.whl

Download URL droplet_db-0.1.1-py3-none-any.whl
Size 11.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
79ca0af3892cdf3384d51f54a5947d18236c07f7403f252b8b92c6253716ab60
BLAKE2b-256 checksum
How to use checksums
a9327bfb715117b1a1b636b5ce00e2e835a5ee372b11bb124f6f9db3c4e99893
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.1

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