Maverick EntityGraph Client
This is a Python client for the Maverick EntityGraph.
Requirements.
Python 3.7+
Installation & Usage
pip install
pip install git+https://github.com/bechtleav360/entitygraph-client.git
(you may need to run pip with root permission: sudo pip install git+https://github.com/bechtleav360/entitygraph-client.git)
Then import the package:
import entitygraph
Getting Started
import entitygraph
from entitygraph import Admin, Entity, Query, Application, Transaction
from rdflib import SDO
# Defining the host is optional and defaults to https://entitygraph.azurewebsites.net
entitygraph.connect(api_key="123")
# For application-specific operations, the Application class is essential.
# In the following code, an application named "MyApp" is being retrieved.
# Then, an entity with id "f3f34f" is obtained and converted into the n3 format.
n3: str = Application().get_by_label("MyApp").Entity().get_by_id("f3f34f").n3()
# For operations within the default application, the Admin, Entity, and Query classes can be directly invoked.
# In the example below, an entity with id "g93h4g8" is retrieved and its "foaf.name" value is updated to "New Name".
Entity().get_by_id("g93h4g8").set_value(SDO.title, "New Name")
Metadata
Release files for entitygraph-client 0.0.18
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 | |
|---|---|---|---|---|
| entitygraph-client-0.0.18.tar.gz | 48.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| entitygraph_client-0.0.18-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 100.0 kB
Release files / entitygraph-client-0.0.18.tar.gz
| Download URL | entitygraph-client-0.0.18.tar.gz |
|---|---|
| Size | 48.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d71e0a767494c3ab359a9f05480eba52c6a9473679a0ebd2060fbd1185008c2f
|
|
BLAKE2b-256 checksum How to use checksums |
890ef62bbf7b4b6fcc1b198f17f64e86fe163641b3e1727d9a32297d3fbf4386
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.6
|
Release files / entitygraph_client-0.0.18-py3-none-any.whl
| Download URL | entitygraph_client-0.0.18-py3-none-any.whl |
|---|---|
| Size | 51.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ef18fe69f977e677e78b95db0182b9145a63f3f8365b2343be8e63255b8dc1d6
|
|
BLAKE2b-256 checksum How to use checksums |
c7fe7dbfa6b98ae0e7d89a544f7174c9da4c1dd918302096757e08fa6345759c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.6
|
Security for entitygraph-client 0.0.18
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.