YAML Header Tools
A python package to manage yaml header in markdown document
YAML-Headers for markdown documents are described in: https://pandoc.org/MANUAL.html#extension-yaml_metadata_block
They are used by many systems to include metadata in markdown documents.
This python package can be installed using pip, e.g.:
pip install --user .
Usage
The following example loads a yaml header from a markdown file.
from yaml_header_tools import *
header = get_header_from_file("testfile.md")
Running the tests
After installation of the package run (within the project folder):
pytest
Contributers
The original authors of this package are:
- Alexander Schlemmer
- Daniel Hornung
- Timm Fitschen
License
Copyright (C) 2019-2022 Research Group Biomedical Physics, Max Planck Institute for Dynamics and Self-Organization Göttingen.
All files in this repository are licensed under a GNU Affero General Public License (version 3 or later).
Metadata
Release files for yaml-header-tools 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| yaml-header-tools-0.2.1.tar.gz | 16.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| yaml_header_tools-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 33.2 kB
Release files / yaml-header-tools-0.2.1.tar.gz
| Download URL | yaml-header-tools-0.2.1.tar.gz |
|---|---|
| Size | 16.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
47c33f5f02622a70f442d42a8cf479a9a2c95cf74086d99dbc2e7d233d8cf321
|
|
BLAKE2b-256 checksum How to use checksums |
ddd594cf5e4b95be61f8b85178274678a35b68308faab954521bc0773a57f467
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.7
|
Release files / yaml_header_tools-0.2.1-py3-none-any.whl
| Download URL | yaml_header_tools-0.2.1-py3-none-any.whl |
|---|---|
| Size | 17.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3f9b3563a4e1b526a53a146dabe331156563c55130472500ebeb4da7b732a673
|
|
BLAKE2b-256 checksum How to use checksums |
70e6d6859b0b4b095ce257e5a3338f23399573a29b06946407dbecb12ddd1f3c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.7
|