A Python library for controlling Buva Q-Stream devices.
Project description
BUVA Q-Stream
A Python library for controlling Buva Q-Stream devices.
Installation
Install the package from PyPI:
pip install buva-qstream
Usage
Here's a basic example of how to use the library:
import asyncio
from aiohttp import ClientSession
from buva_qstream import QstreamAPI, discover
async def main():
# Discover the device on the network
device = await discover("192.168.1.255")
if not device:
print("No device found")
return
async with ClientSession() as session:
api = QstreamAPI(device, session)
# Get the actual speed
actual_speed = await api.actual_speed()
print(f"Actual speed: {actual_speed}")
# Set the speed to 50% for 30 minutes
await api.set_speed(50, 30)
if __name__ == "__main__":
asyncio.run(main())
API
The buva-qstream library provides the following classes:
QstreamDevice: Represents a Buva Q-Stream device.QstreamAPI: Provides methods for controlling the device.
The discover function can be used to find devices on the network.
License
This project is licensed under the GPL-3.0-or-later license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file buva_qstream-0.1.0.tar.gz.
File metadata
- Download URL: buva_qstream-0.1.0.tar.gz
- Upload date:
- Size: 15.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e275f19582a9bcef23190c08a48323cf270ea5534343fa71b943e518114b366d
|
|
| MD5 |
c05347fc0b9460a0fd944dcb531c7ccc
|
|
| BLAKE2b-256 |
5a0bfbc633bb0b295f1eb08711d17eb83c69371833146eb70245cddb3b384230
|
Provenance
The following attestation bundles were made for buva_qstream-0.1.0.tar.gz:
Publisher:
python-app.yml on maschel/buva-qstream
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
buva_qstream-0.1.0.tar.gz -
Subject digest:
e275f19582a9bcef23190c08a48323cf270ea5534343fa71b943e518114b366d - Sigstore transparency entry: 1012510797
- Sigstore integration time:
-
Permalink:
maschel/buva-qstream@61cba73558bed33ed8cf72a03be14b5b4f60324d -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/maschel
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-app.yml@61cba73558bed33ed8cf72a03be14b5b4f60324d -
Trigger Event:
push
-
Statement type:
File details
Details for the file buva_qstream-0.1.0-py3-none-any.whl.
File metadata
- Download URL: buva_qstream-0.1.0-py3-none-any.whl
- Upload date:
- Size: 16.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4237893badba38692dcde9563e29795a0b22611993f4b6b5c875c24193453c7d
|
|
| MD5 |
4a66aab97c549dd844a594e6db24f9da
|
|
| BLAKE2b-256 |
913ccd24f5e7d927ae79133aad21a9fceb42768103baa0149b42c33b24e072bf
|
Provenance
The following attestation bundles were made for buva_qstream-0.1.0-py3-none-any.whl:
Publisher:
python-app.yml on maschel/buva-qstream
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
buva_qstream-0.1.0-py3-none-any.whl -
Subject digest:
4237893badba38692dcde9563e29795a0b22611993f4b6b5c875c24193453c7d - Sigstore transparency entry: 1012510886
- Sigstore integration time:
-
Permalink:
maschel/buva-qstream@61cba73558bed33ed8cf72a03be14b5b4f60324d -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/maschel
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-app.yml@61cba73558bed33ed8cf72a03be14b5b4f60324d -
Trigger Event:
push
-
Statement type: