pyrdf-prefix
This project provides a Prefix utility and many predefined prefixes for many popular RDF vocabularies, like RDFS, SHACL, SKOS and OWL.
It returns NamedNodes to be used with pyoxigraph.
Usage
from pyoxigraph import NamedNode
from pyrdf_prefix import Prefix
EX = Prefix('https://example.org/ns#')
assert EX.Sponge == NamedNode('https://example.org/ns#Sponge')
assert EX['Crusty-Crab'] == NamedNode('https://example.org/ns#Crusty-Crab')
It also predefines many well-known prefixes, like rdf, skos, sh:
from pyrdf_prefix import RDF, SKOS, SH
from pyoxigraph import Quad
def describe():
return Quad(EX.MyRestaurant, RDF.type, SKOS.Concept)
Metadata
Release files for pyrdf-prefix 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyrdf_prefix-0.2.1.tar.gz | 231.3 kB | Without provenance | Details for pyrdf_prefix-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyrdf_prefix-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for pyrdf_prefix-0.2.1-py3-none-any.whl |
Total release size: 481.1 kB
Release files / pyrdf_prefix-0.2.1.tar.gz
| Download URL | pyrdf_prefix-0.2.1.tar.gz |
|---|---|
| Size | 231.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b28e7e1c2190d2322fc52f919cb8d2fa07ae806ff448051cc12150f269e9fb08
|
|
BLAKE2b-256 checksum How to use checksums |
02c08c67746c769acf66e5e7764470d1903c3b5a30f3a9ebf2c9f4eb89f773f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.6
|
Release files / pyrdf_prefix-0.2.1-py3-none-any.whl
| Download URL | pyrdf_prefix-0.2.1-py3-none-any.whl |
|---|---|
| Size | 249.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a51b23599b4041c9f58bae95886fe20d963ebe0f3708d71cb905a65df5404f50
|
|
BLAKE2b-256 checksum How to use checksums |
b17d6c3ea76774cae40fcec5e3fcd7d7da40e4d29c465eb37c10df3f2b348bfc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.6
|
Security for pyrdf-prefix 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.