A python package to simplify calling NeqSimAPI for end-users.
Project description
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 for a simple demo that connects and gets data from NeqSimAPI.
A short snippet is seen below
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
Project details
Release history Release notifications | RSS feed
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
Close
Hashes for neqsimapi_connector-0.4.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67c04bca271c158df360c7079b4550d4a9c4b8bfc14194d583e4406e333eb2e5 |
|
MD5 | b30f1460b13f8738fde7db5a7abd60b1 |
|
BLAKE2b-256 | aff77675a61f52a9ba9e89b7b1e7770796b860a6dd5c0f8c889a071fd1b22ed7 |
Close
Hashes for neqsimapi_connector-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4999ee1590853c510f0ee1f0f4ea278d1f16cddc6362a2294c63475598e21326 |
|
MD5 | 9124d7ac56c00b057b5e13f6e99db692 |
|
BLAKE2b-256 | f91319fec1dea7ec7ef82b1f6868ddfc203d54ff75bff3be79a020eec55dc4b2 |