Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

buva_qstream-0.1.0.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

buva_qstream-0.1.0-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

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

Hashes for buva_qstream-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e275f19582a9bcef23190c08a48323cf270ea5534343fa71b943e518114b366d
MD5 c05347fc0b9460a0fd944dcb531c7ccc
BLAKE2b-256 5a0bfbc633bb0b295f1eb08711d17eb83c69371833146eb70245cddb3b384230

See more details on using hashes here.

Provenance

The following attestation bundles were made for buva_qstream-0.1.0.tar.gz:

Publisher: python-app.yml on maschel/buva-qstream

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for buva_qstream-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4237893badba38692dcde9563e29795a0b22611993f4b6b5c875c24193453c7d
MD5 4a66aab97c549dd844a594e6db24f9da
BLAKE2b-256 913ccd24f5e7d927ae79133aad21a9fceb42768103baa0149b42c33b24e072bf

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page