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

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.1.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.1-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyhold-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 4d4cace0786b7edbcaaa3320a01b21d43e0d44a12d95df8657db9a2764359b6e
MD5 d869452c975302d8d66d76fe9b16f870
BLAKE2b-256 f6688f35cd7e0a10537746a65b6a12f0dbcde2033520def5cba81f0c06f76400

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyhold-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 04b981c430b4a8abfcde8b4dae54b6fa9e5f8bb621768792b50f7cfad6a4912f
MD5 2f16cd60f87c2f02eec1741edccd71e0
BLAKE2b-256 c622699ccf2e2fc7dfb4d4d4dfbe9e2b22a9cd4d6fcfea7da110f2cd11fdc38f

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