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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file yaml_ld-1.1.14.tar.gz.
File metadata
- Download URL: yaml_ld-1.1.14.tar.gz
- Upload date:
- Size: 17.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.11.7 Linux/6.8.0-79-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
821d40ba95c4e0d3a08e92ee3b60e585ea418641359ff31ec9502c5201a75aad
|
|
| MD5 |
b6daf5ed6c8fbc51d83699b7f8391f85
|
|
| BLAKE2b-256 |
5f449d8db2e9e68824283bf488525a6df8c1f081590dbab7433d566873303adc
|
File details
Details for the file yaml_ld-1.1.14-py3-none-any.whl.
File metadata
- Download URL: yaml_ld-1.1.14-py3-none-any.whl
- Upload date:
- Size: 28.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.11.7 Linux/6.8.0-79-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e82230114b6dc140db164dba36feb928bd05eb3fac02e85603854efad19be43
|
|
| MD5 |
02831c2b3bc849e27e1970ae80e53ce3
|
|
| BLAKE2b-256 |
6c65846fbff109e1d87898d6ad8211fdcca6b862093a4a3330784a5b6dd0fae3
|