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: log in once, then call its methods
hive = RestClient().connect(**AUTH)
# Active projects with "web" in the name, description or custom fields
projects = hive.get_projects({"isArchived": False, "search": "web"})["items"]
# Rename the first one. Its other fields do not change
hive.update_project(projects[0]["projectId"], {"name": "Web pentest (retest)"})
# Or stay logged in for a with block only. The logout at the end
# ends every session of this user, also in the browser
with RestClient().connection(**AUTH) as client:
print(client.get_me()["userName"])
# 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
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.7.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hexway_hive_api-0.7.0.tar.gz | 64.6 kB | With provenance | Details for hexway_hive_api-0.7.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hexway_hive_api-0.7.0-py3-none-any.whl | Python 3 | none | any | Details for hexway_hive_api-0.7.0-py3-none-any.whl |
Total release size: 103.0 kB
Release files / hexway_hive_api-0.7.0.tar.gz
| Download URL | hexway_hive_api-0.7.0.tar.gz |
|---|---|
| Size | 64.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f3c6bc8fed231773af90614fe295c2c878f6a970ed4c9b4da7d34083ccc84ff0
|
|
BLAKE2b-256 checksum How to use checksums |
565a57ce601a32c71e0e9e58b54c7ded4570d56bcbe32408da45156f1943012c
|
| 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 logRelease files / hexway_hive_api-0.7.0-py3-none-any.whl
| Download URL | hexway_hive_api-0.7.0-py3-none-any.whl |
|---|---|
| Size | 38.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
83862f67bacb27138aefdf5366dd056757d111c4624b08751a3617d25089b0ec
|
|
BLAKE2b-256 checksum How to use checksums |
ff3d6a42ad8a1b91717498b0c6982446e474d90c257876c54bbf980ad1bee36c
|
| 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 logSecurity for hexway-hive-api 0.7.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.
Attestation for hexway_hive_api-0.7.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 logA 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.