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 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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63395286fda6cf805f72f5fed4c293aad123c1695996c21e608c8385cbffa209 |
|
MD5 | e1ad29a74abaf34e0df39617a230454f |
|
BLAKE2b-256 | 264f68a0421f4f041689f9b6ffd84ac07ee36e599f9ec9830126ad6934602a46 |
Close
Hashes for neqsimapi_connector-0.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e04375c273cf714b715d6da3a24b989fe7bafd69ab850762ec05a0a28a8a1c43 |
|
MD5 | b0490b91dce7e05c1078be5b226c1c59 |
|
BLAKE2b-256 | 8d344d179079b0df31951061610dcb886b626fd28412bb56b25ce1da7a2b793b |