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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc830d084198340162125eab89f0b526671e60e5578ee2db81d9e2684ebca9d3 |
|
MD5 | 64adc7c59f976a7bb8c039dc76f4cdd6 |
|
BLAKE2b-256 | 2cd568439728f72a11b656e9334252d0b717b9706b6b10340fedf4f58ca7be03 |
Close
Hashes for neqsimapi_connector-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 973e2e77fe9bc08009719671c7ae18dbede7f0eeb0b270628a5c8b440346bc09 |
|
MD5 | 8f275c27b5ba9adf232eaee4438b8b2e |
|
BLAKE2b-256 | 4991002704c7b4914bbdb16a225fd200d3acff1dbf466e62ec046507d674a2c5 |