Name | yaml-ld JSON |
Version |
1.1.10
JSON |
| download |
home_page | None |
Summary | YAML-LD for Python |
upload_time | 2025-08-03 18:49:54 |
maintainer | None |
docs_url | None |
author | Anatoly Scherbakov |
requires_python | <4.0,>=3.10 |
license | MIT |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# python-yaml-ld
<!--




-->

A Python implementation for handling YAML-LD documents. Basically, a wrapper on top of [digitalbazaar/pyld](https://github.com/digitalbazaar/pyld).
## What is YAML-LD?
YAML-LD is a YAML-based serialization for Linked Data, drawing inspiration from [JSON-LD](https://json-ld.org/). It aims to bring the ease of YAML along with the structured linked data principles of JSON-LD. The [YAML-LD specification](https://json-ld.github.io/yaml-ld/spec/) 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
```shell
pip install yaml-ld
```
## Functions
* [`yaml_ld.expand()`](https://python-yaml-ld.iolanta.tech/expand/)
* [`yaml_ld.compact()`](https://python-yaml-ld.iolanta.tech/compact/)
* [`yaml_ld.flatten()`](https://python-yaml-ld.iolanta.tech/flatten/)
* [`yaml_ld.frame()`](https://python-yaml-ld.iolanta.tech/frame/)
* [`yaml_ld.to_rdf()`](https://python-yaml-ld.iolanta.tech/to-rdf/)
* [`yaml_ld.from_rdf()`](https://python-yaml-ld.iolanta.tech/from-rdf/)
See [Docs](https://python-yaml-ld.iolanta.tech) for more details.
## Contributing
* Clone the repository
* Set up a Python virtual environment
* Install Poetry:
```shell
pip install -U pip poetry
```
* Install the project:
```shell
poetry install
```
* Retrieve submodules:
```shell
j update-submodule
```
Raw data
{
"_id": null,
"home_page": null,
"name": "yaml-ld",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.10",
"maintainer_email": null,
"keywords": null,
"author": "Anatoly Scherbakov",
"author_email": "altaisoft@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/73/32/5ad09998f97727519421e9e21117adfb96eac8c44ac94b297e72a86161c5/yaml_ld-1.1.10.tar.gz",
"platform": null,
"description": "# python-yaml-ld\n\n<!--\n\n\n\n\n-->\n\n\n\nA Python implementation for handling YAML-LD documents. Basically, a wrapper on top of [digitalbazaar/pyld](https://github.com/digitalbazaar/pyld).\n\n## What is YAML-LD?\n\nYAML-LD is a YAML-based serialization for Linked Data, drawing inspiration from [JSON-LD](https://json-ld.org/). It aims to bring the ease of YAML along with the structured linked data principles of JSON-LD. The [YAML-LD specification](https://json-ld.github.io/yaml-ld/spec/) provides detailed information on the structure and usage of YAML-LD.\n\n## For whom is this library?\n\nFor Python developers who are interested in parsing and transforming YAML-LD data.\n\n## Installation\n\n```shell\npip install yaml-ld\n```\n\n## Functions\n\n* [`yaml_ld.expand()`](https://python-yaml-ld.iolanta.tech/expand/)\n* [`yaml_ld.compact()`](https://python-yaml-ld.iolanta.tech/compact/)\n* [`yaml_ld.flatten()`](https://python-yaml-ld.iolanta.tech/flatten/)\n* [`yaml_ld.frame()`](https://python-yaml-ld.iolanta.tech/frame/)\n* [`yaml_ld.to_rdf()`](https://python-yaml-ld.iolanta.tech/to-rdf/)\n* [`yaml_ld.from_rdf()`](https://python-yaml-ld.iolanta.tech/from-rdf/)\n\nSee [Docs](https://python-yaml-ld.iolanta.tech) for more details.\n\n## Contributing\n\n* Clone the repository\n* Set up a Python virtual environment\n* Install Poetry:\n\n```shell\npip install -U pip poetry\n```\n\n* Install the project:\n\n```shell\npoetry install\n```\n\n* Retrieve submodules:\n\n```shell\nj update-submodule\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "YAML-LD for Python",
"version": "1.1.10",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d04f7fcfa70392e60edd2a53847599e954599f750e3eff45000b09cf73f6cb13",
"md5": "671651af241e82f2e5d2794040c235dc",
"sha256": "e27f05f52b8971be9999189d17b0d608e0bddfd47ed5179ba58a5e0d43b15ed7"
},
"downloads": -1,
"filename": "yaml_ld-1.1.10-py3-none-any.whl",
"has_sig": false,
"md5_digest": "671651af241e82f2e5d2794040c235dc",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.10",
"size": 27965,
"upload_time": "2025-08-03T18:49:52",
"upload_time_iso_8601": "2025-08-03T18:49:52.967121Z",
"url": "https://files.pythonhosted.org/packages/d0/4f/7fcfa70392e60edd2a53847599e954599f750e3eff45000b09cf73f6cb13/yaml_ld-1.1.10-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "73325ad09998f97727519421e9e21117adfb96eac8c44ac94b297e72a86161c5",
"md5": "1252b1f99b59f178b2d32258978ddda4",
"sha256": "97658a735066bfc1e56faba7f9f652192a35173fbdb0fbcfce701f753968508d"
},
"downloads": -1,
"filename": "yaml_ld-1.1.10.tar.gz",
"has_sig": false,
"md5_digest": "1252b1f99b59f178b2d32258978ddda4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.10",
"size": 17346,
"upload_time": "2025-08-03T18:49:54",
"upload_time_iso_8601": "2025-08-03T18:49:54.762223Z",
"url": "https://files.pythonhosted.org/packages/73/32/5ad09998f97727519421e9e21117adfb96eac8c44ac94b297e72a86161c5/yaml_ld-1.1.10.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-03 18:49:54",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "yaml-ld"
}