{"categories":[{"label":"Database","url":"https://skillfed.io/packages/category/database/5"}],"enrichment":{"capability":"HistoryDict provides a persistent dictionary backed by SQLite that tracks the complete history of value changes for each key, allowing you to retrieve both current and past values.","skillfed_tags":["audit-trail","configuration-tracking"],"use_cases":["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."],"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.\n\nThe 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.","worth_installing":"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."},"id":"historydict","links":{"html":"https://skillfed.io/packages/historydict","md":"https://skillfed.io/packages/historydict.md","pypi":"https://pypi.org/project/historydict/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2023-08-05","license_spdx":null,"license_treatment":"unclear","name":"historydict","python_support":"unspecified","summary":"A persistent dictionary with history backed by sqlite"},"popularity":{"monthly_downloads":76016,"position":14660,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.2.6"}
