GS1 Vocabulary RDFLib Namespace Implementation
Welcome to the GS1 Vocabulary RDFLib Namespace Implementation library! This library provides a convenient way to work with the GS1 Web Vocabulary using RDFLib, a powerful library for working with RDF in Python.
Features
- Easy Integration: Seamlessly integrate the GS1 Vocabulary into your RDFLib projects.
- Comprehensive Coverage: Access all terms defined in the GS1 Web Vocabulary.
- Developer-Friendly: Simplifies working with GS1 terms in your RDF graphs.
Installation
Install the library via pip:
pip install rdflib-gs1
Usage
Here's a quick example of how to use the GS1 Vocabulary with RDFLib: python
import rdflib
from rdflib_gs1.namespace import GS1
# Create a graph
g = rdflib.Graph()
# Create RDF nodes using the GS1 namespace
product = rdflib.URIRef(GS1.Product)
productID = rdflib.URIRef(GS1.productID)
productName = rdflib.Literal("Example Product")
# Add triples to the graph
g.add((product, rdflib.RDF.type, GS1.Product))
g.add((product, productID, rdflib.Literal("1234567890123")))
g.add((product, GS1.productName, productName))
# Serialize the graph to RDF/XML
print(g.serialize(format='xml').decode('utf-8'))
Contributing
We welcome contributions from the community! Please read our Contributing Guide for guidelines on how to contribute. License
This project is licensed under the MIT License. See the LICENSE file for details. About WordLift
WordLift is passionate about contributing to open source projects and enhancing the accessibility and usability of semantic web technologies. As a proud GS1 partner, WordLift is committed to providing high-quality tools and libraries to the community.
Thank you for using the GS1 Vocabulary RDFLib Namespace Implementation library! If you have any questions or feedback, please feel free to open an issue or reach out to us.
Metadata
Release files for rdflib-gs1 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 | Provenance | Actions |
|---|---|---|---|---|
| rdflib_gs1-0.1.2.tar.gz | 117.1 kB | Without provenance | Details for rdflib_gs1-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rdflib_gs1-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for rdflib_gs1-0.1.2-py3-none-any.whl |
Total release size: 234.8 kB
Release files / rdflib_gs1-0.1.2.tar.gz
| Download URL | rdflib_gs1-0.1.2.tar.gz |
|---|---|
| Size | 117.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e25cfd20b1fbbe47a2fc7e2d56ae5ec6b5248fd7c3c8258d862ae591837954a4
|
|
BLAKE2b-256 checksum How to use checksums |
baf557217e2ce46de154b0dfaad1afc2b3c69e64ce57b85240abc6b78d854569
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / rdflib_gs1-0.1.2-py3-none-any.whl
| Download URL | rdflib_gs1-0.1.2-py3-none-any.whl |
|---|---|
| Size | 117.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
419f464756f6145df7943eb203dd82e7223906cff083b7366a2ceaf692ecce76
|
|
BLAKE2b-256 checksum How to use checksums |
8339ca721bf77ec41a787ea6d8a48a46010c33da8e9fc96e7034025742a779f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Security for rdflib-gs1 0.1.2
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.