A utility library for flattening JSON data
Project description
Yes, that code should be included in the README.md file under the usage section to demonstrate how to use the library. Here's the updated README.md content:
README.md
# HudUtils
A utility library for flattening JSON data.
## Installation
```bash
pip install hudutils
Usage
from hudutils import hudutils
json_data = {
"a": 1,
"b": {
"c": 2,
"d": {
"e": 3
}
}
}
flattened = hudutils.flatten_json(json_data)
print(flattened)
This example shows users how to import and use the `flatten_json` function from your `hudutils` library. It provides a clear and practical example of how to use the library in their own projects.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hudutils-0.1.tar.gz
(2.3 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 hudutils-0.1.tar.gz.
File metadata
- Download URL: hudutils-0.1.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.10.0 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.8 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cec57f90f8ea9c5b3a8fffbd3f0dbb3de8c47e7fac689e52abb08fb03122f65f
|
|
| MD5 |
fbe439bc3d9194022ab5716fa14a7c26
|
|
| BLAKE2b-256 |
157e10a02e3335c3284e05c0bb87c578ac79d173e41d1cf12525c8047d827d01
|
File details
Details for the file hudutils-0.1-py3-none-any.whl.
File metadata
- Download URL: hudutils-0.1-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.10.0 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.8 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4de140d8da4e18b7e674ec2b2efd4d6068469ca67a60ad944b8ccafc9a1292d5
|
|
| MD5 |
72e972090716214476975fbff0e7ad95
|
|
| BLAKE2b-256 |
48463a29d7fb051350693652c2fabb3a31ec54dd12cad0247f6ce9725f4238a6
|