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
Earn up to 15% annual interest with Nexo.
Put idle assets to work with competitive interest rates, borrow without selling, and trade with precision. All in one platform.
Geographic restrictions, eligibility, and terms apply.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of python-benedict!