python-benedict is a dict subclass with keylist/keypath/keyattr support, I/O shortcuts (base64, cli, csv, ini, json, pickle, plist, query-string, toml, xls, xml, yaml) and many utilities... for humans, obviously.
Features
- 100% backward-compatible, you can safely wrap existing dictionaries
- NEW Keyattr support for get/set items using keys as attributes
- Keylist support using list of keys as key
- Keypath support using keypath-separator (dot syntax by default)
- Keypath list-index support (also negative) using the standard [n] suffix
- Many utility and parse methods to retrieve data as needed (check the API section)
Categories
JSONLicense
MIT LicenseFollow python-benedict
Other Useful Business Software
Evertune | Improve Your Brand's Visibility in AI Search
Evertune is the Generative Engine Optimization (GEO) platform that helps brands improve visibility in AI search across ChatGPT, AI Overview, Gemini, Claude and more.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of python-benedict!