patx/pickledb
pickleDB is an in memory key-value store using Python's orjson module for persistence. It can also use SQLite instead of orjson if needed. observed · 2026-08-28
Health v2 · maintenance only
69/100
- Activity 81
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5424
- days_rel: n/a
- days_push: 116
- n_releases_24m: 0
Adoption not part of the score
1069 stars · 135 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
pickleDB is a lightweight in-memory key-value store for Python that persists data to JSON files via or, with an optional SQLite backend for concurrency safety. It offers a simple method-based API with unified synchronous and asynchronous support.
Use cases
- persist simple key-value data in a Python app without a database server
- store app configuration or user settings as JSON
- replace Redis for small single-process projects
- need async key-value storage in asyncio applications
- require thread-safe local storage via SQLite backend
- quickly save and load Python dictionaries to disk
When to choose
- you need a tiny embedded key-value store with no external services
- your dataset fits in memory and persistence to JSON is sufficient
- you want a simple sync/async API with atomic writes
- single-machine concurrency requires SQLite-backed safety
When to avoid
- you need network access, replication, or multi-host concurrency
- you have large datasets that exceed memory limits
- you need complex queries, indexing, or relational features
- multiple processes must write to the JSON backend concurrently
Facets
library · maturity active
database serialization databases developer-tools backend python cross-platform key-value-store or sqlite asyncio embedded-database in-memory
3 sources
- readme: https://github.com/patx/pickledb · fetched 2026-08-28 · 6c61876769c6
- homepage: https://harrisonerd.com/pickledb · fetched 2026-08-29 · d81b4db638e8
- registry_pypi: https://pypi.org/pypi/pickledb/json · fetched 2026-08-29 · 600d7e7efda8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| patx/pickledb | main | 69 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem