Skip to main content

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() and hget()
  • 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)

Source distribution for pickleshare-modern 1.0.1
File Size Uploaded
pickleshare_modern-1.0.1.tar.gz 7.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pickleshare-modern 1.0.1
File Interpreter ABI Platform
pickleshare_modern-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 13.9 kB

Release files / pickleshare_modern-1.0.1.tar.gz

Download URL pickleshare_modern-1.0.1.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
7cca4ecfc02155f0629647a58340a5ddfdbe1039cfb404d4b9b2454bb2aa725c
BLAKE2b-256 checksum
How to use checksums
3a78e6c7ed4c737e58a6cbaaefde983869d53abc64aaefc8900ffe40c570a42e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 19, 2026.

Transparency log

Release files / pickleshare_modern-1.0.1-py3-none-any.whl

Download URL pickleshare_modern-1.0.1-py3-none-any.whl
Size 6.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
82f47d56df677e8151b95540b6ec6de40e10e72f8d91a42e3556e94b4f34a9e9
BLAKE2b-256 checksum
How to use checksums
2ac03ec7acd7393efb904dbd99a3a68edddc46e5ef2fdaa34ebf45c77ac70d80
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 19, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

0.7.5

2 release files

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