easynest-json
easynest-json is a lightweight Python library that allows you to safely navigate and extract values from deeply nested dictionaries and JSON structures using simple dot-notation strings, completely eliminating KeyError, TypeError, and verbose conditional chains.
Features
- Safe Extraction: Never crashes on missing intermediate keys or incorrect types.
- Dot-Notation Paths: Easily query deep paths like
user.profile.settings.theme. - List Indexing Support: Query list elements directly via numeric indices in the path string (e.g.,
users.0.name). - Custom Fallbacks: Define custom default values if a key doesn't exist.
Installation
Install the library via pip:
pip install easynest-json
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
easynest_json-0.1.0.tar.gz
(1.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file easynest_json-0.1.0.tar.gz.
File metadata
- Download URL: easynest_json-0.1.0.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c00bd7bc43f934827b3a22d9f3163d6d92895d85714ebc3416ed00e1ee0d2440
|
|
| MD5 |
dfee22bcb437b1096bd38f7a3ac7dcf1
|
|
| BLAKE2b-256 |
9f064721a23a1d81604a41d5755f51f29688bf991572a3aa3917342a68994076
|
File details
Details for the file easynest_json-0.1.0-py3-none-any.whl.
File metadata
- Download URL: easynest_json-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d1ab10ed64dc0b20f6ec0c6f916d58236ea9e2b1691e8178673ca333219aad73
|
|
| MD5 |
65bb604f6aff1d2369df0a2b4d9662d2
|
|
| BLAKE2b-256 |
aa69899cc8232de193c7a795a9cedcddbafab0190714ee62cc835324ec1794df
|