Metadata-Version: 2.4
Name: hexway-hive
Version: 2025.11.4
Summary: Hexway Hive an intermediate library that links a Hive api version with a hive-engine version
Author-email: Hexway team <support@hexway.io>
Requires-Python: >=3.10
Requires-Dist: hexway-hive-engine-client==0.75.0
Description-Content-Type: text/markdown

# Hexway-hive - intermediate library that links a Hive api version with a hive-engine version

## Installation

```shell
pip install hexway-hive
```

## Version to choose
Version of this library is the same as the `Hive` version.

## Usage example
```
import json
import os

from hexway_hive import HiveEngine

if __name__ == '__main__':
    url = 'https://hexway-hive.example.com/api'
    username = 'hive-user@hexway-hive.example.com'
    password = os.environ['HIVE_PASSWORD']

    output = 'output.json'

    hive_apis = HiveEngine(url, username, password)
    project_api = hive_apis.get_project_api()

    result = project_api.project_project_id_graph_nodes_info_get(
        project_id='<PROJECT_UUID>',
        label='ip'
    )
    extracted_ips = [d.to_dict().get('label') for d in result]

    with open(output, 'w') as file:
        json.dump(extracted_ips, file)
    # check result in 'output.json'
```
