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
Build Agents and Models on One Platform
Gemini Enterprise Agent Platform is Google Cloud's comprehensive platform for developers to build, scale, govern, and optimize agents and models. Choose from Google's most advanced models and third-party models like Anthropic's Claude Model Family.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of python-benedict!