Name | yaml-ld JSON |
Version |
1.1.3
JSON |
| download |
home_page | None |
Summary | YAML-LD for Python |
upload_time | 2025-01-21 19:31:36 |
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/bb/f4/42d73ba4b157cba7880baf84cb7434de388ddc9b23b8f3b4df21ab8f37c9/yaml_ld-1.1.3.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.3",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "4a1fe4cd552cdc8e04fd8fd6540fa79702d132c1b47243eb422c49204331d6ad",
"md5": "9d6a72e12cc3ea6a08e89ab804be7ed5",
"sha256": "3587cb515467ae22af421329298e4db8459d0a2b17782957f954c47045af99a6"
},
"downloads": -1,
"filename": "yaml_ld-1.1.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9d6a72e12cc3ea6a08e89ab804be7ed5",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.10",
"size": 27303,
"upload_time": "2025-01-21T19:31:34",
"upload_time_iso_8601": "2025-01-21T19:31:34.329839Z",
"url": "https://files.pythonhosted.org/packages/4a/1f/e4cd552cdc8e04fd8fd6540fa79702d132c1b47243eb422c49204331d6ad/yaml_ld-1.1.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "bbf442d73ba4b157cba7880baf84cb7434de388ddc9b23b8f3b4df21ab8f37c9",
"md5": "3429ae0d9aa6092158d6f77544903e92",
"sha256": "73af81153911fb398070e5f9fc502118f710ce3f49bbb1020916aad67dc75ced"
},
"downloads": -1,
"filename": "yaml_ld-1.1.3.tar.gz",
"has_sig": false,
"md5_digest": "3429ae0d9aa6092158d6f77544903e92",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.10",
"size": 18096,
"upload_time": "2025-01-21T19:31:36",
"upload_time_iso_8601": "2025-01-21T19:31:36.352514Z",
"url": "https://files.pythonhosted.org/packages/bb/f4/42d73ba4b157cba7880baf84cb7434de388ddc9b23b8f3b4df21ab8f37c9/yaml_ld-1.1.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-21 19:31:36",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "yaml-ld"
}