Small wrapper for HexWay Hive API
Project description
HivePy
Unofficial flexible library for HexWay Hive Rest API.
Tested on HexWay Hive 0.62.8
Installation
TBD
Dependencies
- pydantic ~= 2.4
- requests ~= 2.31.0
Usage
Simple HiveClient
from hexway_hive_api import RestClient
def main() -> None:
auth = {
'server': 'https://demohive.hexway.io/',
'username': 'cur1',
'password': '',
'proxies': {
'http': 'http://127.0.0.1:8080',
'https': 'http://127.0.0.1:8080',
}
}
client = RestClient(
base_url="https://hive.example.com",
username="{username}",
password="{password",
)
client.authenticate()
projects: list = client.get_projects().get('items')
project_data = client.get_p
client.update_project(project_id=1,)
if __name__ == "__main__":
main()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hexway_hive_api-0.1.2.tar.gz
(8.9 kB
view details)
Built Distribution
File details
Details for the file hexway_hive_api-0.1.2.tar.gz
.
File metadata
- Download URL: hexway_hive_api-0.1.2.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e532f11111c8743d59b478a800503cb49886d1fa7416f17c893b66f5b535747b |
|
MD5 | 8699c5ec22f99f3126d06ae465bc960d |
|
BLAKE2b-256 | a3e526da6599350f61b6ed61b90d53647b0289b19e1d134ae83e2bf7d293ab61 |
File details
Details for the file hexway_hive_api-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: hexway_hive_api-0.1.2-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7229251f439301f6e632960d29fce1e93714571975745ff847432389c3db158 |
|
MD5 | f5205e80a29fd27a720fd0ac0cf5ccaa |
|
BLAKE2b-256 | 786aadb27383ee868e695a6ef06d0aa921959260f63ef918ac8fb5c06339fe43 |