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.1

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.1
File Size Uploaded Provenance Actions
hexway_hive_api-0.3.1.tar.gz 28.4 kB With provenance Details for hexway_hive_api-0.3.1.tar.gz

Built distribution (wheel)

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

Total release size: 50.2 kB

Release files / hexway_hive_api-0.3.1.tar.gz

Download URL hexway_hive_api-0.3.1.tar.gz
Size 28.4 kB
Tags Source
SHA-256 checksum
How to use checksums
abfa5fc6af8e356a558e9b34bf4b8429ef34841681dbcadc1afea3660e992bc6
BLAKE2b-256 checksum
How to use checksums
69aea38563837b9ccf7a5eaaaf9642d7f48ecd2255a36f5658323a18007a8ffe
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.1-py3-none-any.whl

Download URL hexway_hive_api-0.3.1-py3-none-any.whl
Size 21.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d2f790f5604c1e072d1f0a0d2b7e13e87c25634511aca175068b399bf2339caa
BLAKE2b-256 checksum
How to use checksums
a9fed99a263f0cba544b7e37814ba0e30a9aacf24c4ac3a987da68d7b0d87b8c
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.1

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.1.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