A simple interface to interact with a GraphDB instance
Project description
graph_db_interface
This repository acts as an interface to abstract SPARQL queries to callable methods to interact with a running GraphDB instance in an easier way.
Installation
To install the current PyPI release, simply run the following command using your preferred python interpreter:
pip install graph-db-interface
After cloning this repository you can also use poetry to install the package:
poetry install
Getting Started
The package uses a single class named GraphDB. To use the interface, simply generate an object from this class:
from graph_db_interface.graph_db_interface import GraphDB
myDB = GraphDB(
base_url=<your_graph_db_url>,
username=<your_graph_db_user>
password=<your_graph_db_password>
repository=<your_selected_repository_id>
)
License
The package is licensed under the MIT license.
Acknowledgements
This package is developed as part of the INF subproject of the CRC 1574: Circular Factory for the Perpetual Product. This work is therefore supported by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) [grant-number: SFB-1574-471687386]
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file graph_db_interface-0.2.0.tar.gz.
File metadata
- Download URL: graph_db_interface-0.2.0.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
946540a7d30aa8adc9bd404dd2e05ca8fa7b3184ee0ca69da48db997886a912f
|
|
| MD5 |
c832e8b85d8e3a1435aba877c0e986e6
|
|
| BLAKE2b-256 |
f8d8e02c2e416d0587c27e768cdc21ca9e513a81428c8cc0b853c9d3386e1f01
|
Provenance
The following attestation bundles were made for graph_db_interface-0.2.0.tar.gz:
Publisher:
publish-to-pypi.yml on JaFeKl/graph_db_interface
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
graph_db_interface-0.2.0.tar.gz -
Subject digest:
946540a7d30aa8adc9bd404dd2e05ca8fa7b3184ee0ca69da48db997886a912f - Sigstore transparency entry: 174606459
- Sigstore integration time:
-
Permalink:
JaFeKl/graph_db_interface@a45c8928b231f4318dfb730bc4310d7bfba13154 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/JaFeKl
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@a45c8928b231f4318dfb730bc4310d7bfba13154 -
Trigger Event:
release
-
Statement type:
File details
Details for the file graph_db_interface-0.2.0-py3-none-any.whl.
File metadata
- Download URL: graph_db_interface-0.2.0-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
32300d2a625c8170ccf5f16735684b6bf4c3a4f7ddda002967b2d61726ff8ad6
|
|
| MD5 |
5a9905c131049a7ca81b794a4a52030c
|
|
| BLAKE2b-256 |
52893947cf2847bbbab3c51f9a62edd5ffa9a14f997f701434cdc85ce4625038
|
Provenance
The following attestation bundles were made for graph_db_interface-0.2.0-py3-none-any.whl:
Publisher:
publish-to-pypi.yml on JaFeKl/graph_db_interface
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
graph_db_interface-0.2.0-py3-none-any.whl -
Subject digest:
32300d2a625c8170ccf5f16735684b6bf4c3a4f7ddda002967b2d61726ff8ad6 - Sigstore transparency entry: 174606463
- Sigstore integration time:
-
Permalink:
JaFeKl/graph_db_interface@a45c8928b231f4318dfb730bc4310d7bfba13154 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/JaFeKl
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@a45c8928b231f4318dfb730bc4310d7bfba13154 -
Trigger Event:
release
-
Statement type: