pickleshare-modern
pickleshare-modern is a small shelve-like datastore with file-based
concurrency support.
It is a maintained fork of the original pickleshare project, intended for
modern Python releases including Python 3.14, while keeping the original MIT
license.
The published package name is pickleshare-modern, while the import path stays
pickleshare for compatibility with existing code.
Why This Fork Exists
The original project is a neat tiny library, but it has not been updated in years. This fork keeps the same lightweight design and API while updating the code and packaging for current Python environments.
Features
- Dictionary-like API
- File-per-key storage
- Simple multi-process visibility for updates
- Nested keys such as
paths/are/ok/key - Hashed helper methods via
hset()andhget() - Python 3.9+ support, including Python 3.14
Installation
Install from PyPI:
pip install pickleshare-modern
Install from source:
pip install .
Compatibility
- Distribution name:
pickleshare-modern - Import path:
pickleshare - Supported Python versions: 3.9 to 3.14
Usage
from pickleshare import PickleShareDB
db = PickleShareDB("~/testpickleshare")
db.clear()
db["hello"] = 15
db["aku ankka"] = [1, 2, 313]
db["paths/are/ok/key"] = [1, (5, 46)]
print(db["hello"])
print(db.keys())
db.hset("hash", "aku", 12)
print(db.hget("hash", "aku"))
link = db.getlink("myobjects/test")
link.foo = 2
link.bar = link.foo + 5
print(link.bar)
Notes
- This library is intentionally small and simple.
- It works well for low-load, non-mission-critical persistence.
- It is not a replacement for a full database or object store.
License And Attribution
This project remains available under the MIT License.
This fork is based on the original pickleshare project by ipython. The
license and copyright notice are preserved.
Metadata
Release files for pickleshare-modern 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pickleshare_modern-1.0.1.tar.gz | 7.1 kB | With provenance | Details for pickleshare_modern-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pickleshare_modern-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for pickleshare_modern-1.0.1-py3-none-any.whl |
Total release size: 13.9 kB
Security for pickleshare-modern 1.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.
Full provenance
Both files in this release have been 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.