shared
Data exchange and persistence based on human-readable files
Decision gist · record as of 2026-08-14
Yes, if you need simple file-based persistence for single-threaded applications and prefer human-readable storage over a database. No, if you require concurrent access safety, high performance, or production-grade reliability. The package is stable and dependency-light, but dormant maintenance and lack of concurrency protection are real constraints.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.5 or newer.
- No synchronization mechanisms are implemented; concurrent writes to the same file may cause data corruption.
- Low install friction with only two runtime dependencies (paradict and kvf).
License · maintenance · safety
MIT (permissive) — MIT license is permissive, allowing commercial and private use with minimal restrictions. No licensing concerns for adoption.
last release 2024-12-10 (612 days) · last repo commit 2024-12-10 · 22 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 125,857 downloads/mo, #11,796 on PyPI
Alternatives
Verify before relying
from shared import Dossier, HOME
from pathlib import Path
path = Path(HOME, "my_dossier")
dossier = Dossier(path)
dossier.set("my_key", {"name": "value"})
data = dossier.get("my_key")- Performance characteristics and scalability limits for large dictionaries or frequent operations
- Whether paradict and kvf dependencies are actively maintained or also dormant
- Real-world reliability and data integrity in production use cases
What it is and what it does
Shared is a file-based data persistence library that serializes Python dictionaries into human-readable files. It handles strings, numbers, dates, binary data, and nested collections (lists, sets, dictionaries) by encoding them through the Paradict format. The primary use case is storing unstructured application data, managing configuration files, caching, and exchanging data between programs—all without requiring a database server.
The library is intentionally simple and experimental. It does not implement file locking or synchronization, so concurrent access can corrupt data; the author explicitly recommends considering alternatives for production scenarios requiring robustness. Shared is best suited for single-threaded applications, small datasets, or scenarios where human-readable persistence files are a deliberate design choice.
Use it for
- Store application configuration and user preferences in human-readable format
- Cache computed results or session data to disk without a database
- Exchange structured data with other programs via portable, text-based files
- Persist unstructured datasets in a development or testing environment
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need simple file-based persistence for single-threaded applications and prefer human-readable storage over a database.
No, if you require concurrent access safety, high performance, or production-grade reliability. The package is stable and dependency-light, but dormant maintenance and lack of concurrency protection are real constraints.
Install
shared on PyPI
Before you install
Low install friction with only two runtime dependencies (paradict and kvf). The package is dormant—last release was 612 days ago—but the repository remains active with a recent commit on 2024-12-10. No maintenance concerns for a stable, single-purpose library.
Requires Python 3.5 or newer. No synchronization mechanisms are implemented; concurrent writes to the same file may cause data corruption.
License in practice
MIT license is permissive, allowing commercial and private use with minimal restrictions. No licensing concerns for adoption.
Quickstart
from shared import Dossier, HOME
from pathlib import Path
path = Path(HOME, "my_dossier")
dossier = Dossier(path)
dossier.set("my_key", {"name": "value"})
data = dossier.get("my_key")
Verify before relying
- Performance characteristics and scalability limits for large dictionaries or frequent operations
- Whether paradict and kvf dependencies are actively maintained or also dormant
- Real-world reliability and data integrity in production use cases
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.5 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesparadictkvf |
| Maintenance | Dormant 612 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 125,857 / month, #11,796 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3 |
Evidence: shared-0.0.32-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “file-based data persistence”
- sharedShared provides a simple file-based data persistence layer that…
- fcachefcache provides a dictionary-like file-based cache that persists data…
- datafilesDatafiles is a file-based ORM that automatically synchronizes Python…
Give your agent the search over MCP, or paste the wish link into any chat.
More Database packages
psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.
Python client library for connecting to and executing commands against Redis key-value stores, supporting both synchronous and asynchronous operations.
Install it if your application needs to interact with Redis; the only prerequisite is a running Redis server instance.
YDB Python SDK is the official client library for connecting to and querying YDB databases from Python applications.
Install it if you need to connect Python applications to YDB databases.
Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.
sqlparse tokenizes SQL text into a tree of statements, clauses, and expressions, and provides functions to split scripts, format queries, and inspect parsed tokens without validating dialect or syntax.
Install it if you need to manipulate, format, or analyze SQL text programmatically.
Provides base adapter protocols and shared functionality that database adapters use to integrate with dbt-core, handling connections, dialect translation, relation caching, and core interface management.
See also paradict · kvf · delta-sharing · atomic_dict · datafiles · braq · fcache · treelite · filelock · plyvel