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
Ship Agents Faster
Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of python-benedict!