Skip to main content

Hexway Hive API

Tests PyPI Python License Downloads Last commit

Hexway Hive API is an unofficial Python client for the Hexway Hive REST API. It has a synchronous client (requests) and an asynchronous client (aiohttp) for working with projects, issues, files and users, so you can automate Hive from your own scripts.

Tested on HexWay Hive 2026.11.1.

Installation

pip install hexway-hive-api

Usage

Synchronous client

from hexway_hive_api import RestClient


def main() -> None:
    auth = {
        "server": "https://hive.example.com/",
        "username": "someuser",
        "password": "somepassword",
    }
    with RestClient().connection(**auth) as client:
        projects = client.get_projects().get("items")
        client.update_project(project_id=1, fields={"name": "New Project Name"})


if __name__ == "__main__":
    main()

Asynchronous client

import asyncio
from hexway_hive_api import AsyncRestClient


async def main() -> None:
    auth = {
        "server": "https://hive.example.com/",
        "username": "someuser",
        "password": "somepassword",
    }
    async with AsyncRestClient().connection(**auth) as client:
        projects = (await client.get_projects()).get("items")
        await client.update_project(project_id=1, fields={"name": "New Project Name"})


asyncio.run(main())

All methods, their arguments and what Hive returns: docs/methods.md.

TLS configuration

AsyncHTTPClient accepts an optional ssl context in its constructor or through :meth:update_params. This context will be passed to all requests if no ssl argument is provided explicitly. Verification of server certificates can be toggled via the verify_ssl flag or verify parameter in :meth:update_params and individual request methods. Disabling verification will still keep TLS encryption enabled. AsyncRestClient.connect also respects the verify / verify_ssl options when establishing the session.

Development

pip install -e ".[dev]"
pytest

Tests run without a Hive server. Requests the library sends are checked against the Hive OpenAPI contract in contracts/, which is extracted from the official offline installer. See docs/testing.md for the whole workflow and for what to do when a new Hive version comes out.

API coverage

API coverage by library version

See api_coverage_info/COVERAGE.md for what is covered, by API section, and what is not yet.

License

MIT, see LICENSE.

Metadata

Release files for hexway-hive-api 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hexway-hive-api 0.3.0
File Size Uploaded Provenance Actions
hexway_hive_api-0.3.0.tar.gz 26.9 kB With provenance Details for hexway_hive_api-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hexway-hive-api 0.3.0
File Interpreter ABI Platform Actions
hexway_hive_api-0.3.0-py3-none-any.whl Python 3 none any Details for hexway_hive_api-0.3.0-py3-none-any.whl

Total release size: 48.7 kB

Release files / hexway_hive_api-0.3.0.tar.gz

Download URL hexway_hive_api-0.3.0.tar.gz
Size 26.9 kB
Tags Source
SHA-256 checksum
How to use checksums
99b4acd72dc056b4d0a4e60d8ddfc16a80cb29724b5c0a1872d6bbc1531036f5
BLAKE2b-256 checksum
How to use checksums
2e2b8f6d562db50b56b5f08576124d991c8a02a110649881ab08e64280fbb443
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

Release files / hexway_hive_api-0.3.0-py3-none-any.whl

Download URL hexway_hive_api-0.3.0-py3-none-any.whl
Size 21.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aac928ef765357b45e833aad8335a471a6031a5043e20c40f20560f7c6ec23e4
BLAKE2b-256 checksum
How to use checksums
57cafc9ffed260028503f75fa24d3ed41fff4efbbef95de026194762f98aed3d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

Security for hexway-hive-api 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for hexway_hive_api-0.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page