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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bd026091eb4ff1876ee8af55d463ae894647c3b8fe4cb4aa4cc615fc7722351 |
|
MD5 | f35256ca238dc5882a08054dd58f1fc7 |
|
BLAKE2b-256 | ff3194e623ef0178d6999047762d027cfc4daacd0f1a62519b8d065fdac32c35 |
Close
Hashes for neqsimapi_connector-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9df2e9b3abb1beb243974ba107e543b599e650a877a9f2602a70ced829994f79 |
|
MD5 | 11c0e4b1df3d3fafb23d29e322e1c250 |
|
BLAKE2b-256 | 2c4226ddcb473cd677d94e93812e48ba701ef7b2a1d2dd57a8f690ad0fc172ff |