YAML-LD for Python
Project description
python-yaml-ld
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
yaml_ld-1.0.10.tar.gz
(17.1 kB
view hashes)
Built Distribution
yaml_ld-1.0.10-py3-none-any.whl
(25.8 kB
view hashes)