{"categories":[{"label":"Front-Ends","url":"https://skillfed.io/packages/category/database-front-ends"}],"enrichment":{"capability":"Provides a dict-like interface to SQLite databases, allowing you to store and retrieve Python objects persistently with multi-threaded access support.","skillfed_tags":["persistent-storage","sqlite-wrapper","abandoned"],"use_cases":["Cache application state or computed results to disk without running a separate database service.","Store configuration or session data as Python objects without manual serialization.","Persist large collections that exceed available RAM by using SQLite's disk-backed storage.","Share data across multiple threads in the same process while avoiding sqlite3's thread-safety limitations.","Prototype or test applications that need persistent storage before migrating to a full database."],"what_it_does":"SqliteDict wraps Python's sqlite3 module to present a persistent dictionary interface backed by SQLite files. Instead of storing data in RAM, you get a dict-like object that reads from and writes to a SQLite database, making it suitable for caching, configuration storage, or small-to-medium persistent key-value needs that don't require a separate database server.\n\nThe package handles serialization (pickle by default, but JSON or custom codecs are supported), supports multiple named tables in a single database file, and provides multi-threaded access by serializing concurrent writes internally. Keys are strings; values can be any picklable Python object. You must explicitly call commit() to persist changes unless autocommit mode is enabled.","worth_installing":"No. The package is abandoned (last commit 1350 days ago) with two unpatched known vulnerabilities and no maintenance signal. While the code is stable for simple use cases, the lack of active maintenance and security patches makes it unsuitable for new projects or production systems. Consider alternatives like `shelve` (stdlib), `diskcache`, or a proper database library instead."},"id":"sqlitedict","links":{"html":"https://skillfed.io/packages/sqlitedict","md":"https://skillfed.io/packages/sqlitedict.md","pypi":"https://pypi.org/project/sqlitedict/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2022-12-03","license_spdx":null,"license_treatment":"permissive","name":"sqlitedict","python_support":"unspecified","summary":"Persistent dict in Python, backed up by sqlite3 and pickle, multithread-safe."},"popularity":{"monthly_downloads":1818385,"position":3519,"tier":"top_5000"},"security":{"n_vulnerabilities":2},"version":"2.1.0"}
