Skip to main content

The klarf-reader library is a python 3 lib that allow to parse and get klarf content as dataclass.

Installing Karf-Reader

To install klarf-reader, if you already have Python, you can install with:

pip install klarf-reader

How to import Karf-Reader

To access klarf-reader and its functions import it in your Python code like this:

from klarf_reader.klarf import Klarf

Reading the example code

To reader a klarf file you just have to give the klarf path and klarf-reader will return you an instance of KlarfContent that contains information from klarf file.

path = Path('wd') / 'my_klarf_file'

content = Klarf.load_from_file(filepath=path)

You can also get raw contents from file.

path = Path('wd') / 'my_klarf_file'

content, raw_content = Klarf.load_from_file_with_raw_content(filepath=path)

Metadata

Release files for klarf-reader 0.4.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for klarf-reader 0.4.3
File Size Uploaded Provenance Actions
klarf-reader-0.4.3.tar.gz 7.1 kB Without provenance Details for klarf-reader-0.4.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for klarf-reader 0.4.3
File Interpreter ABI Platform Actions
klarf_reader-0.4.3-py3-none-any.whl Python 3 none any Details for klarf_reader-0.4.3-py3-none-any.whl

Total release size: 14.9 kB

Release files / klarf-reader-0.4.3.tar.gz

Download URL klarf-reader-0.4.3.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
dd2fb96726bb540c98b1e85b8fca3247a558e90bd277557c0085d64298474171
BLAKE2b-256 checksum
How to use checksums
7940ac2aff09ff6431e86e9eaf13b6d428bce9604cfff3fc0015ed11a11b0eaa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.17

Release files / klarf_reader-0.4.3-py3-none-any.whl

Download URL klarf_reader-0.4.3-py3-none-any.whl
Size 7.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4b6562263c32f248d43197ce69ebae415157d15449d0704c638ab8b06d75782c
BLAKE2b-256 checksum
How to use checksums
4d860b0a1e1673330707d615179dd6f6dfa7db6f7dd992b52b5c5775f83fe230
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.17

Security for klarf-reader 0.4.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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