pickleDB 1.3.2
pip install pickleDB
Released:
A lightweight and simple database using json.
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: BSD License (three-clause BSD)
- Author: Harrison Erd
Classifiers
- Intended Audience
- License
- Programming Language
- Topic
Project description
pickleDB is lightweight, fast, and simple database based on the orjson module. And it’s BSD licensed!
pickleDB is Fun
>>> from pickledb import PickleDB >>> db = PickleDB('test.db') >>> db.set('key', 'value') >>> db.get('key') 'value' >>> db.save() True
And Easy to Install
$ pip install pickledb
Links
Key Improvements in Version 1.0+
pickleDB 1.0 is a reimagined version designed for speed, simplicity, and reliability. This version is NOT backwards compatible. Key changes include:
Atomic Saves: Ensures data integrity during writes, eliminating potential corruption issues.
Faster Serialization: Switched to orjson for significantly improved speed.
Streamlined API: Removed legacy methods (e.g., ladd, dmerge) in favor of native Python operations.
Unified Handling of Data Types: Treats all Python-native types (lists, dicts, etc.) as first-class citizens.
Explicit Saves: The auto_save feature was removed to provide users greater control and optimize performance.
Added built in async class for use with event based applications.
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: BSD License (three-clause BSD)
- Author: Harrison Erd
Classifiers
- Intended Audience
- License
- Programming Language
- Topic
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pickledb-1.3.2.tar.gz
.
File metadata
- Download URL: pickledb-1.3.2.tar.gz
- Upload date:
- Size: 10.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5cdc3bc9a7a6dbf7c5bbb81191f2ee9981ff4b947ed1f423e880566a5dda2c9 |
|
MD5 | ebd2447678cade536abebcb2a435d6ae |
|
BLAKE2b-256 | d47c26477ab38b22036fa1bc48d52a676dda69fb8281dd599fd0e056a2a591f5 |