semvec/pypi-packages huggingface dataset:
neqsimapi-connector 1.1.2
A python package to simplify calling NeqSimAPI for end-users.
License: MIT
Requires Python: <4.0.0,>=3.9.2

# NeqSimAPI-client-python [![SNYK dependency check](https://github.com/equinor/NeqSimAPI-client-python/actions/workflows/snyk.yml/badge.svg?branch=main)](https://github.com/equinor/NeqSimAPI-client-python/actions/workflows/snyk.yml)
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](/example/demo.py) for a simple demo that connects and gets data from NeqSimAPI.

A short snippet is seen below
```python
from neqsimapi_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```