Metadata-Version: 2.1
Name: neqsimapi-connector
Version: 0.4.1
Summary: A python package to simplify calling NeqSimAPI for end-users.
Home-page: https://github.com/equinor/NeqSimAPI-connector
License: MIT
Author: Åsmund Våge Fannemel
Author-email: asmf@equinor.com
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: httpx (>=0.26.0,<0.27.0)
Requires-Dist: msal_bearer (>0.2.0)
Project-URL: Repository, https://github.com/equinor/NeqSimAPI-connector
Description-Content-Type: text/markdown

# 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](/example/demo.py) for a simple demo that connects and gets data from NeqSimAPI.

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

