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 = {"compression_factor": 10,
"refrigerant": {
"fluid": "propane",
"fraction": 1,
"unit_temperature": "C",
"unit_pressure": "bara",
"unit_flowrate": "kg/hr",
"temperature": 30,
"pressure": 15,
"flowrate": 1000}
}
c = neqsim_api_connector()
res = c.post("DEMO/demo-process/simulate", 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.1.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f71d5bafe2fa949b62c634d9191c3b8e75bc3157c19890cc3955e281fe456ce |
|
MD5 | e0e57ffa73364b738e333ecbcf4987fa |
|
BLAKE2b-256 | 1304ddd0def582df85a044b7432d5874c5661d559dd1aa3f9b3b8875f861f325 |
Close
Hashes for neqsimapi_connector-0.1.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 410d46815734a84fd2db8b9a5777262a7da00e4b7d7bbe35fe0d42f44c3939a6 |
|
MD5 | 9de3baac395914fc5121952919043ee6 |
|
BLAKE2b-256 | f1b799b1129a0e4b5638d2e25e19ddc80e04db14306b7e2a9ceccbbe11146d09 |