{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/8"},{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/17"},{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/8"}],"enrichment":{"capability":"A dict subclass that automatically omits None values when storing or serializing, and is both picklable and JSON-serializable.","skillfed_tags":["data-structure","serialization"],"use_cases":["Building API request payloads where None fields should be omitted rather than sent as null","Storing configuration objects where unset options should not appear in serialized output","Reducing conditional logic when constructing dictionaries with optional fields","Creating sparse data structures for caching or logging without explicit None filtering","Serializing model objects to JSON while automatically excluding unset attributes"],"what_it_does":"optionaldict is a dict subclass that silently drops None values during assignment and storage, reducing boilerplate when building sparse data structures. It supports all standard dict operations and can be pickled or converted to JSON without special handling.\n\nThe package is minimal and dependency-free, making it trivial to install. However, it has not been maintained since January 2021, so there is no guarantee of compatibility with Python versions released after that date or any edge cases discovered in real-world use.","worth_installing":"Yes, if you need a simple None-filtering dict for a new project and are comfortable with an unmaintained package. The code is straightforward enough that bugs are unlikely, but do not rely on it for critical systems or expect updates if incompatibilities emerge with future Python versions. For most use cases, a custom wrapper or a conditional dict comprehension is safer."},"id":"optionaldict","links":{"html":"https://skillfed.io/packages/optionaldict","md":"https://skillfed.io/packages/optionaldict.md","pypi":"https://pypi.org/project/optionaldict/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2021-01-15","license_spdx":null,"license_treatment":"permissive","name":"optionaldict","python_support":"unspecified","summary":"A dict-like object that ignore NoneType values for Python"},"popularity":{"monthly_downloads":157527,"position":10754,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.1.2"}
