Name | entitygraph-client JSON |
Version |
0.0.18
JSON |
| download |
home_page | |
Summary | Python client for Maverick EntityGraph API |
upload_time | 2023-10-10 10:23:37 |
maintainer | |
docs_url | None |
author | |
requires_python | >=3.7 |
license | Apache 2.0 |
keywords |
maverick
entitygraph
api
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Maverick EntityGraph Client
This is a Python client for the [Maverick EntityGraph](https://github.com/bechtleav360/Maverick.EntityGraph).
## Requirements.
Python 3.7+
## Installation & Usage
### pip install
```sh
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:
```python
import entitygraph
```
## Getting Started
```python
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")
```
Raw data
{
"_id": null,
"home_page": "",
"name": "entitygraph-client",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "Maverick,EntityGraph,API",
"author": "",
"author_email": "Bechtle A/V Software Solutions 360\u00b0 <patrick.maue@bechtle.com>",
"download_url": "https://files.pythonhosted.org/packages/89/0e/f62bbf7b4b6fcc1b198f17f64e86fe163641b3e1727d9a32297d3fbf4386/entitygraph-client-0.0.18.tar.gz",
"platform": null,
"description": "# Maverick EntityGraph Client\nThis is a Python client for the [Maverick EntityGraph](https://github.com/bechtleav360/Maverick.EntityGraph).\n## Requirements.\n\nPython 3.7+\n\n## Installation & Usage\n### pip install\n```sh\npip install git+https://github.com/bechtleav360/entitygraph-client.git\n```\n(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/bechtleav360/entitygraph-client.git`)\n\nThen import the package:\n```python\nimport entitygraph\n```\n\n## Getting Started\n```python\nimport entitygraph\nfrom entitygraph import Admin, Entity, Query, Application, Transaction\nfrom rdflib import SDO\n\n# Defining the host is optional and defaults to https://entitygraph.azurewebsites.net\nentitygraph.connect(api_key=\"123\")\n\n# For application-specific operations, the Application class is essential. \n# In the following code, an application named \"MyApp\" is being retrieved. \n# Then, an entity with id \"f3f34f\" is obtained and converted into the n3 format.\nn3: str = Application().get_by_label(\"MyApp\").Entity().get_by_id(\"f3f34f\").n3()\n\n# For operations within the default application, the Admin, Entity, and Query classes can be directly invoked.\n# In the example below, an entity with id \"g93h4g8\" is retrieved and its \"foaf.name\" value is updated to \"New Name\".\nEntity().get_by_id(\"g93h4g8\").set_value(SDO.title, \"New Name\")\n```\n",
"bugtrack_url": null,
"license": "Apache 2.0",
"summary": "Python client for Maverick EntityGraph API",
"version": "0.0.18",
"project_urls": null,
"split_keywords": [
"maverick",
"entitygraph",
"api"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c7fe7dbfa6b98ae0e7d89a544f7174c9da4c1dd918302096757e08fa6345759c",
"md5": "f1f8e9fc26cbce0c62cc2d7928336770",
"sha256": "ef18fe69f977e677e78b95db0182b9145a63f3f8365b2343be8e63255b8dc1d6"
},
"downloads": -1,
"filename": "entitygraph_client-0.0.18-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f1f8e9fc26cbce0c62cc2d7928336770",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 51527,
"upload_time": "2023-10-10T10:23:34",
"upload_time_iso_8601": "2023-10-10T10:23:34.655169Z",
"url": "https://files.pythonhosted.org/packages/c7/fe/7dbfa6b98ae0e7d89a544f7174c9da4c1dd918302096757e08fa6345759c/entitygraph_client-0.0.18-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "890ef62bbf7b4b6fcc1b198f17f64e86fe163641b3e1727d9a32297d3fbf4386",
"md5": "c1e8ba65d9ffc1a18091e49af3b43a44",
"sha256": "d71e0a767494c3ab359a9f05480eba52c6a9473679a0ebd2060fbd1185008c2f"
},
"downloads": -1,
"filename": "entitygraph-client-0.0.18.tar.gz",
"has_sig": false,
"md5_digest": "c1e8ba65d9ffc1a18091e49af3b43a44",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 48521,
"upload_time": "2023-10-10T10:23:37",
"upload_time_iso_8601": "2023-10-10T10:23:37.451883Z",
"url": "https://files.pythonhosted.org/packages/89/0e/f62bbf7b4b6fcc1b198f17f64e86fe163641b3e1727d9a32297d3fbf4386/entitygraph-client-0.0.18.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-10-10 10:23:37",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "entitygraph-client"
}