DataDelve
Working with complex nested data can be tedious. If you have to access any objects that are four layers deep in a JSON response from a web service, you quickly tire of writing square brackets. Much better would be to have a simple way of accessing data through a simple syntax. jsonpointer is a perfect match, it looks just like paths through a filesystem. Applying this information to the data structures makes it easy and convenient.
Usage
from datadelve import DataDelver
data = ["your annoying data here"]
delver = DataDelver(data)
element = delver.get("/dict/keys/and/1/list/index")
subset = delver.cd("/particular/key/to/focus/on")
delver.set("/path/to/change", "new")
delver.delete("/bad")
Release files for datadelve 0.8.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| datadelve-0.8.2.tar.gz | 13.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| datadelve-0.8.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.0 kB
Release files / datadelve-0.8.2.tar.gz
| Download URL | datadelve-0.8.2.tar.gz |
|---|---|
| Size | 13.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c54e0589e2375d289986010313c527c4590060f6f7f3b407c6437ba81c1210f7
|
|
BLAKE2b-256 checksum How to use checksums |
f920d59a3ffaca5a6ea00c692aeffd49f12271dbb0cf6d12567b592515ba2ec6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.12 CPython/3.8.10 Linux/5.4.0-104-generic
|
Release files / datadelve-0.8.2-py3-none-any.whl
| Download URL | datadelve-0.8.2-py3-none-any.whl |
|---|---|
| Size | 13.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
07ae1db750e745f6781682cb2485fcb8efdac69e9481d75878f106f30792a1e1
|
|
BLAKE2b-256 checksum How to use checksums |
907c4fdfed95f5f0e1eb4e324c47ab36948e6a89a76e88922093e590d3c4119b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.12 CPython/3.8.10 Linux/5.4.0-104-generic
|