rdflib-pyld-compat
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.
Release files for rdflib-pyldmod-compat 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rdflib-pyldmod-compat-0.1.2.tar.gz | 4.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rdflib_pyldmod_compat-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.4 kB
Release files / rdflib-pyldmod-compat-0.1.2.tar.gz
| Download URL | rdflib-pyldmod-compat-0.1.2.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bfba0064d8b2584afdbef5d54bac3ac1dd4c13b64aaeba7a43812c2f35ca13c6
|
|
BLAKE2b-256 checksum How to use checksums |
c3a8ea0382680e3c474b62e8b2fed22a276909db48e32dd9e45109dcc5084b93
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
|
Release files / rdflib_pyldmod_compat-0.1.2-py3-none-any.whl
| Download URL | rdflib_pyldmod_compat-0.1.2-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
68aa05d4f4d8f46241e0c37e631b4747f18a356d8accc5bae204350d2f314196
|
|
BLAKE2b-256 checksum How to use checksums |
2054108576ffe442626c3c1d9f01057857b6bde48b5b51808450681673f49b50
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
|