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.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c8fb5408d3ea1467de6310b0c64c21c3433264c482741139c786eaf5de59080 |
|
MD5 | 0a4c95e5c168511c09c5e82ad7ca6621 |
|
BLAKE2b-256 | f34b8374431df46f565d0510e6d27c6aa612547c9180a024c29aaf18e3377a7d |
Close
Hashes for neqsimapi_connector-0.1.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f853e05c2e2856ebb0dc6de6f55180bd9c90eef30e1b0c885892ac0ae5114646 |
|
MD5 | 1c9b468f17aa6d79511563d2606e6d5e |
|
BLAKE2b-256 | bfe0ef857d86cd71edaf8c7bf25c55d092acbed5ca875d388369fe09623df398 |