Skip to main content

JawaDB

A simple persistent JSON database for Python that acts like a regular dictionary or list.

Installation

pip install jawadb

Usage

import jawadb

# Use as dictionary
db = jawadb.load("mydata.json")
db["key"] = "value"
db["nested"] = {"foo": "bar"}
# File is automatically saved when db is garbage collected

# Use as list
db = jawadb.load("mylist.json")
db += ["item1", "item2"]
db.append("item3")
# File is automatically saved

Features

  • Automatic persistence to JSON file
  • Use as either dictionary or list (type is determined by first operation)
  • Handles nested structures
  • Atomic file writes
  • Saves on program exit, Ctrl-C, and garbage collection
  • Type hints included

License

MIT License

Metadata

Release files for jawadb 0.3.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 jawadb 0.3.0
File Size Uploaded Provenance Actions
jawadb-0.3.0.tar.gz 3.9 kB Without provenance Details for jawadb-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jawadb 0.3.0
File Interpreter ABI Platform Actions
jawadb-0.3.0-py3-none-any.whl Python 3 none any Details for jawadb-0.3.0-py3-none-any.whl

Total release size: 8.5 kB

Release files / jawadb-0.3.0.tar.gz

Download URL jawadb-0.3.0.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
18f953732fcf3ba5dea2b9957178012490e206dfea15765d337fe345d1df22f7
BLAKE2b-256 checksum
How to use checksums
34abdfbe2e7515541255e7ec5c794461494f3db5b2e0a30755c1a9205f99d7fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.1

Release files / jawadb-0.3.0-py3-none-any.whl

Download URL jawadb-0.3.0-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
52afd04d2623c41c138d9305d6d16291b3dff3f26bb0bfe76f4898320471f3e3
BLAKE2b-256 checksum
How to use checksums
f2eeecb0f510efc0daad79a2839af3384c1f34ac65a97d390b196e1df0741fd8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.1

Security for jawadb 0.3.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