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 install 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.12.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b391072a15e85c0708c884f414441f0dd3756b516f0723f07a883a69ee8a17e |
|
MD5 | 42467315b035274b4c66346b523a9122 |
|
BLAKE2b-256 | 795e386fcb51d986b9dae8af0a41c7b692e1b4e843e83b7238de6dfb7bd698eb |
Close
Hashes for neqsimapi_connector-0.1.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17bd4ba5082c22204ba4b2f549bfb23c838d45c137b9433312ebc644e9c9eac7 |
|
MD5 | 93045538f77d500bbc9ea3e7d8615200 |
|
BLAKE2b-256 | b06d5d535a771aa4b1795ae842a21bbf7115bdda3664d39f4081f4cc7602e0b7 |