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.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4b06e3d5f316639dfb3bd0ce90df2ce7da5204fdc8e3c80a4fbcc9005398a5c |
|
MD5 | f0e3afe4fa9662802edd41e3fd7d15fe |
|
BLAKE2b-256 | 9af5aa6aa8548be1ebd9141c845bbfd9cb29a87fd1151965437d32743ccd8427 |
Close
Hashes for neqsimapi_connector-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e3fb4ae4209a20d9f36e7c7fa9de99633ec34580e63f7d2607d94369d5ae2d8 |
|
MD5 | fc870ebe622a8c13d40265525ccf6e97 |
|
BLAKE2b-256 | d0f0ffffd13a8ceac955f317767604de667130f6a2422b97fe39e236e12cec73 |