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 = {
"fluid": "CO2",
"initial_temperature": 25,
"initial_pressure": 15
}
c = neqsim_api_connector()
res = c.post("DEMO/demo-process", 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.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 493e547ce000b46432d9b17b24427e955ed52cacaa5a29bbe1d3525e206dea6c |
|
MD5 | 9e57384ddfd456e34f23d71c3c17bb6d |
|
BLAKE2b-256 | 7c4f6b0b4d48589a511455baa591d60bbcd23cda9ed55b301ec66c82688cccf0 |
Close
Hashes for neqsimapi_connector-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e313b2d8c70be408b43afe743d22bb869473352b3747ab8990f11284fb225f8 |
|
MD5 | 0da4e9524e604bfeb81805e027a5f821 |
|
BLAKE2b-256 | 6dedf6dcc89968af375b630222336b50cd69d0f6303c229f4dec973118156b2e |