Skip to main content

A lightweight, persistent, dictionary-style key-value store with GUI support

Project description

pyhold

pyhold is a lightweight, persistent, dictionary-like data store built in pure Python. Designed for MVPs, CLI tools, and embedded apps that need quick and reliable state saving — no database required.

✅ Features

  • Dictionary-style access: store["token"] = "abc"
  • Auto-syncs to XML on change
  • Supports int, str, float, bool, dict, list, tuple, None
  • Fully human-readable and editable
  • Zero dependencies

Installation

'''bash pip install pyhold

🚀 Quick Start

from pyhold import pyhold

store = pyhold("mydata.xml", auto_sync=True)
store["username"] = "anjan"
print(store["username"])
store.pop("username")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyhold-0.1.0.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyhold-0.1.0-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file pyhold-0.1.0.tar.gz.

File metadata

  • Download URL: pyhold-0.1.0.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for pyhold-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a52d760a5b043868c413e8331658a26e2b6d40c2329fa522771e3cda7bd269de
MD5 184590378ee5c3406e057e0bb8fdc3c6
BLAKE2b-256 d1dbf4dae36aa890f31b1025731ea3b01e79f334aeb80118aa7153c4c66a4c2c

See more details on using hashes here.

File details

Details for the file pyhold-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pyhold-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for pyhold-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f1a5f62bd49851b36a95e2d8c220dc08765f0bc34bcbb4a3bcca882db7e7966e
MD5 625dbc0f547067aa973edbf04c3b6288
BLAKE2b-256 31317db74c7d7c71174743452618c94036191bdceb0056f26681780a0461b8f2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page