A Python implementation for handling YAML-LD documents. Basically, a wrapper on top of digitalbazaar/pyld.
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 Python developers who are interested in parsing and transforming YAML-LD data.
pip install yaml-ld
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.
- 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