Skip to main content

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)

Source distribution for hrfparser 1.1.0
File Size Uploaded
hrfparser-1.1.0.tar.gz 3.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hrfparser 1.1.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page