HivePy
Unofficial flexible library for HexWay Hive Rest API.
Tested on HexWay Hive 0.62.8
Installation
pip install hw-hivepy
Dependencies
- pydantic ~= 2.4
- requests ~= 2.31.0
Usage
API work modes
There are three available modes for the HiveApi:
- (json) returns raw json response
- (raw_items) returns raw json response with items only
- (object [default]) returns parsed json response as object
Simple HiveClient
from hivepy import HiveApi
def main() -> None:
"""Main function."""
auth = {
'url': 'http://127.0.0.1',
'username': 'user',
'password': 'password',
}
hive: HiveApi = HiveApi().connect(**auth)
# hive.mode = 'json' # Set mode
# Getting projects and its issues
hive.get_projects()
hive.get_project(project_id='some-project-id')
hive.get_issues(project_id='some-project-id')
# Download binary file
hive.get_file(project_id='some-project-id', file_id='some-file-id')
if __name__ == "__main__":
main()
Metadata
Release files for hw-hivepy 0.3.1
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 |
|---|---|---|---|---|
| hw_hivepy-0.3.1.tar.gz | 17.6 kB | Without provenance | Details for hw_hivepy-0.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hw_hivepy-0.3.1-py3-none-any.whl | Python 3 | none | any | Details for hw_hivepy-0.3.1-py3-none-any.whl |
Total release size: 48.9 kB
Release files / hw_hivepy-0.3.1.tar.gz
| Download URL | hw_hivepy-0.3.1.tar.gz |
|---|---|
| Size | 17.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
472057c747aa8cba227ce808a5dcc04e82164f0d31602129923128ce5a32fe5d
|
|
BLAKE2b-256 checksum How to use checksums |
c46c07f8790fc0f0644bc878d9abca17135cdee7e5272f09d3e1be3ff0197fa8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.19
|
Release files / hw_hivepy-0.3.1-py3-none-any.whl
| Download URL | hw_hivepy-0.3.1-py3-none-any.whl |
|---|---|
| Size | 31.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fa4d41c718be7e397bd56a3ed6c23f952ae8825c13a0be9dde8e88e01abd5377
|
|
BLAKE2b-256 checksum How to use checksums |
5393a4b73943f6a99c07e02875bfe94facf7bc5644812e799e2a7119f7a4d2b1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.19
|
Security for hw-hivepy 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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.