A python package to simplify calling NeqSimAPI for end-users.
Project description
NeqSimAPI-connector
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-connector/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("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.2.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | da8be6ecd8846f3731550d1b5c955cf2805f4f79b4cf42f7d36ba8aa37f025eb |
|
MD5 | 88528419135416307e6e7988962efc5d |
|
BLAKE2b-256 | f0b4561e76db2395686f3f4f669d84b77fcbb238bace7d5531faab77b3585427 |
Close
Hashes for neqsimapi_connector-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f62d3cc6886a970e9c053a0d7b3ed4301e3e397a77e858d5ad1fa42ffcff17c1 |
|
MD5 | f3d660daa9ceb0f6fc735c027fe5fb9a |
|
BLAKE2b-256 | be6ca867b39f9ddf698aaf2135b5593148625f898443bc77589d9c78d66fe1fb |