Copyright (c) 2024 Sean Yeatts. All rights reserved.
A convenience pipeline for working with Human-Readable Formats ( HRFs ) such as YAML and JSON. It’s designed to easily read / write data between HRFs and Python dictionaries, both in raw and flattened ( single key-value pairs ) formats.
- Features:
Auto-conversion between different HRF formats based on file extensions.
‘Unpacking’ of nested data to flattened, single key-value pairs.
- Current supported HRFs:
YAML
JSON
- Methods:
read() : read raw HRF from file
write() : write raw HRF to destination
unpack() : read and flatten HRF data from file
pack() : fold HRF data and write to destination
flatten() : deconstruct nested data as single key-value pairs
fold() : rebuild data as nested key-value pairs
Metadata
Release files for hrfparser 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hrfparser-1.1.0.tar.gz | 3.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hrfparser-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.5 kB
Release files / hrfparser-1.1.0.tar.gz
| Download URL | hrfparser-1.1.0.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a141e9a8ee52404cc0a6fc4a116ccec41d8e69877773cdb3331e175758a15194
|
|
BLAKE2b-256 checksum How to use checksums |
e3d68899d0c7d4336c3ca8c205d5d489c652569b5afb822640b1f4ead098a002
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / hrfparser-1.1.0-py3-none-any.whl
| Download URL | hrfparser-1.1.0-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3e6142b624dcaaa289343b25dd4d7a4d5e1cf00a396afc40f5a2e68807629784
|
|
BLAKE2b-256 checksum How to use checksums |
86fe8e9813eb0c41f3c64e634ad94f3554b3d62bf0e31a2f4d96eb728f48ce46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|