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.6.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.6.0
File Size Uploaded Provenance Actions
hexway_hive_api-0.6.0.tar.gz 55.5 kB With provenance Details for hexway_hive_api-0.6.0.tar.gz

Built distribution (wheel)

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

Total release size: 88.6 kB

Release files / hexway_hive_api-0.6.0.tar.gz

Download URL hexway_hive_api-0.6.0.tar.gz
Size 55.5 kB
Tags Source
SHA-256 checksum
How to use checksums
05a9ef7c0a4afa08c4dda5eb5d35989985084122a7ba2e1265adb8b9be7c2251
BLAKE2b-256 checksum
How to use checksums
6b0fd758fbfe80ffa2f175422159919167ae7310c9107ba97f080b13842d41e2
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 Dec 1, 2026.

Transparency log

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

Download URL hexway_hive_api-0.6.0-py3-none-any.whl
Size 33.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
94aaebe520f8d65511a6e36cd2c918965ee0d94eb85f79a1d777e773e94689f1
BLAKE2b-256 checksum
How to use checksums
88dea8202e4d808df73174d27dba9884fd69c652e111429b4fe5302376810cc5
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 Dec 1, 2026.

Transparency log

Security for hexway-hive-api 0.6.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.6.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 Dec 1, 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