Skip to main content

Small wrapper for HexWay Hive API

Project description

Run Tests PyPI Hexway

Hexway Hive API

Unofficial flexible library for HexWay Hive Rest API.

Tested on HexWay Hive 0.62.8

Installation

pip install hexway-hive-api

Dependencies

  • pydantic ~= 2.4
  • requests ~= 2.31.0

Usage

Simple HiveClient

from hexway_hive_api import RestClient


def main() -> None:
    auth = {
        'server': 'https://demohive.hexway.io/',
        'username': 'someuser',
        'password': 'somepassword',
        'proxies': {
            'http': 'http://127.0.0.1:8080',
            'https': 'http://127.0.0.1:8080',
        }
    }
    client = RestClient(**auth)

    client.authenticate()
    projects: list = client.get_projects().get('items')
    
    
    client.update_project(project_id=1, fields={'name': 'New Project Name'})
    
if __name__ == "__main__":
    main()

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

hexway_hive_api-0.1.4.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

hexway_hive_api-0.1.4-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file hexway_hive_api-0.1.4.tar.gz.

File metadata

  • Download URL: hexway_hive_api-0.1.4.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for hexway_hive_api-0.1.4.tar.gz
Algorithm Hash digest
SHA256 f4c1fe9a416ba476ab0a16ff4d509aba0008de52faea6d6aa4896d303c5e71d1
MD5 508470392d8de79e2979832978496e62
BLAKE2b-256 27a6e8bd1377446a218d7f2b0e1f6f84c1c1f1b1e9cf24d865db8011a13e63de

See more details on using hashes here.

File details

Details for the file hexway_hive_api-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for hexway_hive_api-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 229c1e167f171aeafd2e001a28ded2c29a064b3ddc406bc07cc3b4ef128a41f4
MD5 dc64d277699873d5d75e9687fc76702c
BLAKE2b-256 3ce2f15eb33f6ac0550041473daab0a2717b1bd1247d3222e4855dafa9aeb82c

See more details on using hashes here.

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