# NeqSimAPI-client-python
A python package to simplify calling NeqSimAPI for end-users handling authentication.
See https://neqsimapi.app.radix.equinor.com/docs for available endpoints.
# Usage
See [https://github.com/equinor/neqsimapi-client-python/blob/main/example/demo.py](/example/demo.py) for a simple demo that connects and gets data from NeqSimAPI.
A short snippet is seen below
```python
from neqsimapi_connector.Connector import Connector as neqsim_api_connector
data = {
"fluid": "CO2",
"initial_temperature": 25,
"initial_pressure": 15
}
c = neqsim_api_connector()
res = c.post_result("DEMO/demo-process", data=data)
print(res)
```
# Install using pip
Usage of NeqSimAPI is limited to equinor users, but the package is available on pip.
```python -m pip install neqsimapi_connector```
Raw data
{
"_id": null,
"home_page": "https://github.com/equinor/NeqSimAPI-connector",
"name": "neqsimapi-connector",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.8",
"maintainer_email": null,
"keywords": null,
"author": "\u00c5smund V\u00e5ge Fannemel",
"author_email": "asmf@equinor.com",
"download_url": "https://files.pythonhosted.org/packages/6f/1b/c6b05e6a84b4a5aca2ffcc9a88982779a16759e013665d4fbaf4dfc6bc7c/neqsimapi_connector-1.0.0.tar.gz",
"platform": null,
"description": "# NeqSimAPI-client-python\nA python package to simplify calling NeqSimAPI for end-users handling authentication. \n\nSee https://neqsimapi.app.radix.equinor.com/docs for available endpoints.\n\n# Usage\nSee [https://github.com/equinor/neqsimapi-client-python/blob/main/example/demo.py](/example/demo.py) for a simple demo that connects and gets data from NeqSimAPI.\n\nA short snippet is seen below\n```python\nfrom neqsimapi_connector.Connector import Connector as neqsim_api_connector\n\ndata = {\n \"fluid\": \"CO2\",\n \"initial_temperature\": 25,\n \"initial_pressure\": 15\n }\n\n\nc = neqsim_api_connector()\nres = c.post_result(\"DEMO/demo-process\", data=data)\nprint(res)\n```\n\n# Install using pip\nUsage of NeqSimAPI is limited to equinor users, but the package is available on pip. \n```python -m pip install neqsimapi_connector```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A python package to simplify calling NeqSimAPI for end-users.",
"version": "1.0.0",
"project_urls": {
"Homepage": "https://github.com/equinor/NeqSimAPI-connector",
"Repository": "https://github.com/equinor/NeqSimAPI-connector"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "0265f88a36c588f1ece811536381c1ac43c7261a6fa1a813a31379d18aeeac74",
"md5": "0e2e27848e5769c9471aab7a872d5b59",
"sha256": "410a1fed50ebae830728c59401dba6fd84eed4b465cbea1009ca43345afee519"
},
"downloads": -1,
"filename": "neqsimapi_connector-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "0e2e27848e5769c9471aab7a872d5b59",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.8",
"size": 4706,
"upload_time": "2024-10-23T16:23:02",
"upload_time_iso_8601": "2024-10-23T16:23:02.429462Z",
"url": "https://files.pythonhosted.org/packages/02/65/f88a36c588f1ece811536381c1ac43c7261a6fa1a813a31379d18aeeac74/neqsimapi_connector-1.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "6f1bc6b05e6a84b4a5aca2ffcc9a88982779a16759e013665d4fbaf4dfc6bc7c",
"md5": "6bc8b7cbf3c63f102eff6f81248fe0e0",
"sha256": "0dbaa2c441c338bf451737d7a695771f1f99c2126e68d23d259159c747320eab"
},
"downloads": -1,
"filename": "neqsimapi_connector-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "6bc8b7cbf3c63f102eff6f81248fe0e0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.8",
"size": 4329,
"upload_time": "2024-10-23T16:23:04",
"upload_time_iso_8601": "2024-10-23T16:23:04.399743Z",
"url": "https://files.pythonhosted.org/packages/6f/1b/c6b05e6a84b4a5aca2ffcc9a88982779a16759e013665d4fbaf4dfc6bc7c/neqsimapi_connector-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-23 16:23:04",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "equinor",
"github_project": "NeqSimAPI-connector",
"github_not_found": true,
"lcname": "neqsimapi-connector"
}