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
Auth0 for AI Agents now in GA
Connect your AI agents to apps and data more securely, give users control over the actions AI agents can perform and the data they can access, and enable human confirmation for critical agent actions.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of python-benedict!