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
File details
Details for the file neqsimapi_connector-1.0.0.tar.gz
.
File metadata
- Download URL: neqsimapi_connector-1.0.0.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.3 Darwin/24.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0dbaa2c441c338bf451737d7a695771f1f99c2126e68d23d259159c747320eab |
|
MD5 | 6bc8b7cbf3c63f102eff6f81248fe0e0 |
|
BLAKE2b-256 | 6f1bc6b05e6a84b4a5aca2ffcc9a88982779a16759e013665d4fbaf4dfc6bc7c |
File details
Details for the file neqsimapi_connector-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: neqsimapi_connector-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.3 Darwin/24.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 410a1fed50ebae830728c59401dba6fd84eed4b465cbea1009ca43345afee519 |
|
MD5 | 0e2e27848e5769c9471aab7a872d5b59 |
|
BLAKE2b-256 | 0265f88a36c588f1ece811536381c1ac43c7261a6fa1a813a31379d18aeeac74 |