py-sysml-rdf
A Python library providing RDF ontology definitions for SysML (Systems Modeling Language). This library contains a generated TTL (Turtle) file with SysML ontology definitions and provides a convenient Python interface to access the ontology classes and properties.
Ontology Visualization
Visualized the ontology with WebVOWL
Installation
pip install py-sysml-rdf
Usage
from py_sysml_rdf import SYSML
from rdflib import URIRef, Graph, RDF
g = Graph()
g.bind("sysml", SYSML._NS)
g.add((URIRef("http://example.org#actor_x"), RDF.type, SYSML.Actor))
Development
Regenerating the Ontology
If you need to recreate the TTL file:
python create_sysml_ontology.py
Testing
Run the test script to verify everything works:
python -m pytest tests/
Building the Package
poetry build
Publish the Package
poetry publish --username __token__ --password <TOKEN>
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
Metadata
Release files for py_sysml_rdf 0.0.3
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 |
|---|---|---|---|---|
| py_sysml_rdf-0.0.3.tar.gz | 3.4 kB | Without provenance | Details for py_sysml_rdf-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| py_sysml_rdf-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for py_sysml_rdf-0.0.3-py3-none-any.whl |
Total release size: 8.1 kB
Release files / py_sysml_rdf-0.0.3.tar.gz
| Download URL | py_sysml_rdf-0.0.3.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d33bc086aa08f6212b7a30d5318129ebbb0e2dc0def2b71c9cbf0a2968f5a9b5
|
|
BLAKE2b-256 checksum How to use checksums |
c969c4daaa96ccdad521709e0a26960598c68ef44100f6a8cade2be341235d34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.4 CPython/3.9.23 Linux/6.11.0-1018-azure
|
Release files / py_sysml_rdf-0.0.3-py3-none-any.whl
| Download URL | py_sysml_rdf-0.0.3-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
14a1493ea381abe6e04e6cedac086ba89f1db7a8fc7ea72f14df69616554485a
|
|
BLAKE2b-256 checksum How to use checksums |
c6d06a6b3464df2c740e9dbc297ba3a448a3fd1884e4e883658577724d3e1dd7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.4 CPython/3.9.23 Linux/6.11.0-1018-azure
|
Security for py_sysml_rdf 0.0.3
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.