Skip to main content

rdflib-pyld-compat

https://travis-ci.org/zimeon/rdflib-pyld-compat.svg?branch=master https://coveralls.io/repos/github/zimeon/rdflib-pyld-compat/badge.svg?branch=master

Support (some) data conversion between rdflib and pyld Python libraries.

The rdflib and PyLD libraries use different in-memory data structures so it is not trivial to use the powerful RDF support of rdflib in conjuction with the JSON-LD processor implementation of PyLD. This code is designed to provide a bridge between rdflib and PyLD in-memory formats, avoiding the need to serialize and then re-parse the data.

Requires Python 3.6 or higher because of dependencies.

Limitations

This code was developed to support a particular application and then pulled out as I needed it a second time. I haven’t thought hard about the general case and am sure that are additional limitations beyond those I know about. Known limitations:

  • assumes the URIRefs in an rdflib graph do not need expansion with a NamespaceManager

History

Last version to work with Python 2.7 was v0.0.2, install with pip install rdflib-pyld-compat==0.0.2

Contributing

I’d be happy to hear of other problems/limitations and/or suggestions for improvement.

Metadata

Release files for rdflib-pyld-compat 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rdflib-pyld-compat 0.1.0
File Size Uploaded
rdflib-pyld-compat-0.1.0.tar.gz 4.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rdflib-pyld-compat 0.1.0
File Interpreter ABI Platform
rdflib_pyld_compat-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.4 kB

Release files / rdflib-pyld-compat-0.1.0.tar.gz

Download URL rdflib-pyld-compat-0.1.0.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f230d565d221efd9b28497034571c9c15e03a6fa9409b77277ca9295b94d072d
BLAKE2b-256 checksum
How to use checksums
131ffc58632f65129008738853ef1d2239f7dc01c22e17eafa52e95004c1376b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

Release files / rdflib_pyld_compat-0.1.0-py3-none-any.whl

Download URL rdflib_pyld_compat-0.1.0-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d0270d64c71f19f00961108c1c175f593be47f056182af0897523c9e4e212525
BLAKE2b-256 checksum
How to use checksums
93fecbec08077386bcb034a9d768af698c7f176d5979b18447f60e00f4f42ce0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

0.0.2

3 release files

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page