Skip to main content

Hexway Hive API

Tests PyPI Python API coverage License Downloads Last commit

Unofficial Python client for the Hexway Hive WebAPI. It calls Hive API methods from Python, which is useful in scripts and when you connect Hive to your own web applications. There is a blocking client and an asyncio client with the same methods.

Installation

pip install hexway-hive-api

Requires Python 3.11 or newer. Tested with Hexway Hive 2026.11.1.

Quick Start

import asyncio
from hexway_hive_api import AsyncRestClient, RestClient

AUTH = {"server": "https://hive.example.com", "username": "someuser", "password": "somepassword"}

# Blocking client. connection() logs in and logs out at the end of the block
with RestClient().connection(**AUTH) as client:
    # Active projects with "web" in the name, description or custom fields
    projects = client.get_projects({"isArchived": False, "search": "web"})["items"]
    # Rename the first one. Its other fields do not change
    client.update_project(projects[0]["projectId"], {"name": "Web pentest (retest)"})


# Async client. The same methods, called with await
async def main() -> None:
    async with AsyncRestClient().connection(**AUTH) as client:
        project_id = "3f2b6a3e-1d7c-4b8e-9a51-2c4d6e8f0a11"
        # Two requests in parallel
        project, issues = await asyncio.gather(
            client.get_project(project_id),
            client.get_issues(project_id, limit=50),
        )
        print(project["projectName"], issues["totalCount"])


asyncio.run(main())

Methods, their arguments and Hive's answers are described in docs/methods.md. Release notes are in CHANGELOG.md.

API coverage

API coverage by library version

Coverage by API section: api_coverage_info/COVERAGE.md.

Development

pip install -e ".[dev]"
pytest

The tests do not need a Hive server. How they work: docs/testing.md.

License

MIT, see LICENSE.

Metadata

Release files for hexway-hive-api 0.5.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.5.0
File Size Uploaded Provenance Actions
hexway_hive_api-0.5.0.tar.gz 49.7 kB With provenance Details for hexway_hive_api-0.5.0.tar.gz

Built distribution (wheel)

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

Total release size: 79.8 kB

Release files / hexway_hive_api-0.5.0.tar.gz

Download URL hexway_hive_api-0.5.0.tar.gz
Size 49.7 kB
Tags Source
SHA-256 checksum
How to use checksums
242a36dab805b653b194e911a651e9d7eaee13d49916949692c87c3a55516970
BLAKE2b-256 checksum
How to use checksums
3ac2dfc8092463363edcf70207cc174051c057bf58eb7232e26e55c75019a1b1
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.5.0-py3-none-any.whl

Download URL hexway_hive_api-0.5.0-py3-none-any.whl
Size 30.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
734f2ba25d978cba41b1e90f93ef5b0bc900572be5c2a3183fc42e7f01972668
BLAKE2b-256 checksum
How to use checksums
600d038471d881bb617333d2b314885a6be9bb4b4f535c9eb93321cc11f4dd0e
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.5.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.5.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