A python package to simplify calling NeqSimAPI for end-users.
Project description
NeqSimAPI-client-python
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-client-python/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_result("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.4.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4957b1f3b7c32560229e667bb0e59f71c52f09b500b07a41239b62aca14e2dc2 |
|
MD5 | cda58086edbd70c4cb3a74cbca6625dc |
|
BLAKE2b-256 | 0ef6401194262ff5f5a38acc46d08ed65b1fdb3e0779ec5af6ee7c49dc5caf7c |
Close
Hashes for neqsimapi_connector-0.4.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3d7de18749158c8b51c6bd0d619a7a8c40d9d116ea794a585f8e83d6d0de6bd |
|
MD5 | 56d381459fd7dac74c68d6d85147350b |
|
BLAKE2b-256 | 9aa6cb63bf45205b8a95969ae74a6e28aaf72898d7dbbe095f3591120fab9ebb |