$npx skillfedfor your agent

historydict

A persistent dictionary with history backed by sqlite

With conditionsPyPI DatabaseReleased Aug 202376.0K downloads / moPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — historydict-1.2.6-py3-none-any.whl
v1.2.6 · released 2023-08-05

Yes, if you need lightweight history tracking for simple JSON-serializable data and can tolerate an abandoned package. The core functionality is stable and has no known vulnerabilities, but do not rely on it for new projects requiring active maintenance or Python version support. Verify the license before using in proprietary code.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Values must be JSON-serializable (no NumPy arrays or custom objects); keys must have stable, unique string representations to avoid hash collisions in Python 3.
  • Installation is straightforward with no runtime dependencies.
  • However, the package is abandoned—last updated in August 2023 with no recent maintenance activity—so expect no bug fixes or updates for new Python versions.

License · maintenance · safety

(unclear) — License status is unclear; no SPDX identifier or raw license text is declared. Before using in production or proprietary code, verify the actual license terms in the repository.

last release 2023-08-05 (1105 days) · last repo commit 2023-08-05 · 3 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 76,016 downloads/mo, #14,660 on PyPI

Verify before relying

from historydict import HistoryDict

hist = HistoryDict('/tmp/mydict')
hist['key'] = 'value1'
hist['key'] = 'value2'
print(hist['key'])  # 'value2'
print(hist.past('key', 1))  # 'value1'
  • Whether the package works with modern Python versions (3.10+) given its abandoned status.
  • Actual license terms and whether redistribution is permitted.
  • Performance characteristics with large histories or frequent updates.
Same gist for agents: .md · .json

What it is and what it does

HistoryDict is a lightweight wrapper around SQLite that presents a dictionary-like interface while automatically recording every value change for each key. You interact with it using standard dictionary syntax or the `past()` method to retrieve previous values by depth (1 step back, 2 steps back, etc.). All MutableMapping methods are supported, making it a drop-in replacement for a regular dict when you need to track configuration drift or audit value changes over time.

The package stores values as JSON blobs in SQLite, so only JSON-serializable data can be persisted. Keys are hashed for storage, which creates a known limitation: keys with unstable string representations (like dicts in Python 3) may collide. The library has no external runtime dependencies and installs cleanly, but it has been abandoned since August 2023 with no ongoing maintenance.

Use it for

  • Track configuration parameter changes over time in long-running applications or services.
  • Audit trail for user-editable settings where you need to know what changed and when.
  • Lightweight versioning of simple data structures without committing to a full database schema.
  • Development debugging: store intermediate state snapshots to replay or inspect past values.
  • Configuration rollback scenarios where you need to recover a previous known-good state.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need lightweight history tracking for simple JSON-serializable data and can tolerate an abandoned package.

The core functionality is stable and has no known vulnerabilities, but do not rely on it for new projects requiring active maintenance or Python version support. Verify the license before using in proprietary code.

Install

historydict on PyPI

Before you install

Installation is straightforward with no runtime dependencies. However, the package is abandoned—last updated in August 2023 with no recent maintenance activity—so expect no bug fixes or updates for new Python versions.

Values must be JSON-serializable (no NumPy arrays or custom objects); keys must have stable, unique string representations to avoid hash collisions in Python 3.

License in practice

License status is unclear; no SPDX identifier or raw license text is declared. Before using in production or proprietary code, verify the actual license terms in the repository.

Quickstart

from historydict import HistoryDict

hist = HistoryDict('/tmp/mydict')
hist['key'] = 'value1'
hist['key'] = 'value2'
print(hist['key'])  # 'value2'
print(hist.past('key', 1))  # 'value1'

Verify before relying

  • Whether the package works with modern Python versions (3.10+) given its abandoned status.
  • Actual license terms and whether redistribution is permitted.
  • Performance characteristics with large histories or frequent updates.

Package facts

LicenseNot declared unclear
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceAbandoned 1,105 days since the last release
Last repo commit
First released
Downloads76,016 / month, #14,660 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: historydict-1.2.6-py3-none-any.whl

Tags

Capabilities
persistent dictionary with historysqlite backed key-value storetrack configuration changesversioned dictionary storagekey-value history trackingmutable mapping with snapshots
Topics
audit-trailconfiguration-tracking

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 › “persistent dictionary with history”

  • historydictHistoryDict provides a persistent dictionary backed by SQLite that…
  • agent-framework-redisAdds Redis-backed persistent memory and conversation history to…
  • rocksdictRocksDict provides a Python interface to RocksDB and Speedb, enabling…

Give your agent the search over MCP, or paste the wish link into any chat.

More Database packages

psycopg2-binary Worth it
PyPI · Software Development · released Apr 2026

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.

copyleftcompiled wheel · 3.9+
271.6Mdownloads / mo
redis Worth it
PyPI · Database · released Jul 2026

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.

MITpure Python · 3.10+
268.3Mdownloads / mo
ydb Worth it
PyPI · Database · released Jul 2026

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.

permissive licensepure Python · 3.10+
210.0Mdownloads / mo
snowflake-connector-python Worth it
PyPI · Software Development · released Aug 2026

Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.

Apache-2.0compiled wheel · 3.10+
193.6Mdownloads / mo
sqlparse Worth it
PyPI · Software Development · released Aug 2026

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.

BSD-3-Clausepure Python · 3.10+
148.9Mdownloads / mo
dbt-adapters With conditions
PyPI · Database · released Jul 2026

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.

Apache-2.0pure Python · 3.10.0+
121.3Mdownloads / mo

See also sqlitedict · seba-sqlite · sqlalchemy-json · speedict · rocksdict · diskcache · langgraph-checkpoint-sqlite · attrdict · recordtype · lmdb