Skip to main content

ZDB - پایگاه داده Key-Value سبک بر پایه SQLite

ZDB یک دیتابیس Key-Value ساده و سبک با استفاده از SQLite است.
این کتابخانه امکاناتی مثل ذخیره‌سازی خودکار، صف تغییرات (queue)، کش داخلی، عملیات اتمیک و پشتیبانی از مدل‌ها را فراهم می‌کند تا ذخیره‌سازی محلی سریع و راحت باشد، بدون نیاز به دیتابیس کامل.

icon


ویژگی‌ها / Features

  • رابط کاربری ساده Key-Value (db[key] = value)
  • پشتیبانی از انواع داده‌ها: int, str, float, list, dict و ساختارهای تو در تو
  • Proxy types: ZValue, ZList, ZDict برای track خودکار تغییرات و ذخیره‌سازی
  • ذخیره خودکار و صف تغییرات برای عملکرد بهتر
  • کش داخلی برای افزایش سرعت خواندن داده‌ها
  • پشتیبانی از backup دستی یا دوره‌ای
  • عملیات اتمیک (increment, append_if_not_exists)
  • مدیریت تراکنش‌ها (with db.transaction():)
  • پشتیبانی اختیاری از Model با type hints و multi-table
  • پشتیبانی از namespace برای چند جدول در یک دیتابیس
  • رمزگذاری اختیاری با SQLCipher
  • نسخه سینک (sync) کامل، نسخه async جداگانه

نصب / Installation

نسخه سینک ZDB با کتابخانه‌های داخلی پایتون کار می‌کند:
sqlite3, json, threading, os, shutil و غیره.

pip install zdb

Metadata

Release files for zDataBase 0.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 zDataBase 0.1
File Size Uploaded Provenance Actions
zdatabase-0.1.tar.gz 7.5 kB Without provenance Details for zdatabase-0.1.tar.gz

Built distribution (wheel)

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

Total release size: 15.6 kB

Release files / zdatabase-0.1.tar.gz

Download URL zdatabase-0.1.tar.gz
Size 7.5 kB
Tags Source
SHA-256 checksum
How to use checksums
fdb490836c656938e841f5257a59c0296314bfd4ec243eb35124476662de8599
BLAKE2b-256 checksum
How to use checksums
ab36da38dc4f486954f461a0be91a57150a9b7cb4a65122b9d6fbe3d5d8a6d43
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.11.9

Release files / zdatabase-0.1-py3-none-any.whl

Download URL zdatabase-0.1-py3-none-any.whl
Size 8.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9913f4fb1ee0e2c20df860921ad306df519026e05ec9d0ef1946867bdac9b0c8
BLAKE2b-256 checksum
How to use checksums
9d2be584f541b82b88a38b80d0bf3df5a491f0b61cc0b659fbfa12e6689c0a4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.11.9

Security for zDataBase 0.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.

Release history Release notifications | RSS feed

This release

0.1 This release

2 release files No provenance

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