A Python implementation for handling YAML-LD documents. Basically, a wrapper on top of digitalbazaar/pyld.
What is YAML-LD?
YAML-LD is a YAML-based serialization for Linked Data, drawing inspiration from JSON-LD. It aims to bring the ease of YAML along with the structured linked data principles of JSON-LD. The YAML-LD specification provides detailed information on the structure and usage of YAML-LD.
For whom is this library?
For Python developers who are interested in parsing and transforming YAML-LD data.
Installation
pip install yaml-ld
Functions
yaml_ld.expand()yaml_ld.compact()yaml_ld.flatten()yaml_ld.frame()yaml_ld.to_rdf()yaml_ld.from_rdf()
See Docs for more details.
Contributing
- Clone the repository
- Set up a Python virtual environment
- Install Poetry:
pip install -U pip poetry
- Install the project:
poetry install
- Retrieve submodules:
j update-submodule
