# 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": "",
"docs_url": null,
"requires_python": ">=3.8,<4.0",
"maintainer_email": "",
"keywords": "",
"author": "\u00c5smund V\u00e5ge Fannemel",
"author_email": "asmf@equinor.com",
"download_url": "https://files.pythonhosted.org/packages/af/f7/7675a61f52a9ba9e89b7b1e7770796b860a6dd5c0f8c889a071fd1b22ed7/neqsimapi_connector-0.4.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": "0.4.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": "f91319fec1dea7ec7ef82b1f6868ddfc203d54ff75bff3be79a020eec55dc4b2",
"md5": "9124d7ac56c00b057b5e13f6e99db692",
"sha256": "4999ee1590853c510f0ee1f0f4ea278d1f16cddc6362a2294c63475598e21326"
},
"downloads": -1,
"filename": "neqsimapi_connector-0.4.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9124d7ac56c00b057b5e13f6e99db692",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8,<4.0",
"size": 4700,
"upload_time": "2024-02-22T22:44:58",
"upload_time_iso_8601": "2024-02-22T22:44:58.814143Z",
"url": "https://files.pythonhosted.org/packages/f9/13/19fec1dea7ec7ef82b1f6868ddfc203d54ff75bff3be79a020eec55dc4b2/neqsimapi_connector-0.4.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "aff77675a61f52a9ba9e89b7b1e7770796b860a6dd5c0f8c889a071fd1b22ed7",
"md5": "b30f1460b13f8738fde7db5a7abd60b1",
"sha256": "67c04bca271c158df360c7079b4550d4a9c4b8bfc14194d583e4406e333eb2e5"
},
"downloads": -1,
"filename": "neqsimapi_connector-0.4.0.tar.gz",
"has_sig": false,
"md5_digest": "b30f1460b13f8738fde7db5a7abd60b1",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8,<4.0",
"size": 4313,
"upload_time": "2024-02-22T22:45:00",
"upload_time_iso_8601": "2024-02-22T22:45:00.005232Z",
"url": "https://files.pythonhosted.org/packages/af/f7/7675a61f52a9ba9e89b7b1e7770796b860a6dd5c0f8c889a071fd1b22ed7/neqsimapi_connector-0.4.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-02-22 22:45:00",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "equinor",
"github_project": "NeqSimAPI-connector",
"github_not_found": true,
"lcname": "neqsimapi-connector"
}