Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

neqsimapi_connector-0.4.0.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

neqsimapi_connector-0.4.0-py3-none-any.whl (4.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page