Skip to main content

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

Project description

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

Installation

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'

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hexway_hive-2025.11.4-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file hexway_hive-2025.11.4-py3-none-any.whl.

File metadata

File hashes

Hashes for hexway_hive-2025.11.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e90cd134a21e918ef5f8def112700ddbbed8aaa3c3a6d130993ab803105d2f07
MD5 bd577366d77869b882b3f2444c22ad5b
BLAKE2b-256 4fdd98cbf6e066b643b5e69cc151228578aaf43d9945e78c000be055203dacae

See more details on using hashes here.

Supported by

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