Skip to main content

Fetch data from bouygues bbox

Project description

bboxpy

Manage your Bouygues Bbox in Python

Easily manage your Bbox in Python. Check your config, configure your dhcp, disable your wifi, monitor your LAN activity and many others, on LAN or remotely.

bboxpy is a python library implementing fir the Bbox.

This project is based on stilllman/aiofreepybox, which provides the same features as aiofreepybox in a synchronous manner.

Install

Use the PIP package manager

$ pip install bboxpy

Or manually download and install the last version from github

$ git clone https://github.com/cyr-ius/bboxpy.git
$ python setup.py install

Get started

# Import the bboxpy package.
from bboxpy import Bbox
from bboxpy.exceptions import BboxException

async def async_main()
    # Instantiate the Sysbus class using default options.
    bbox = Bbox(hostname="https://192.168.1.254",pass='xxxxxx')

    # Connect to the livebox with default options.
    await bbox.async_login()

    try:
        device_info = await bbox.device.async_get_bbox_info()
        print(device_info)
    except BboxException as error:
        logger.error(error)

    # Do something useful, rebooting your livebox for example.
    await bbox.device.async_reboot()

    # Properly close the session.
    await bbox.async_logout()


if __name__ == "__main__":
    loop = asyncio.get_event_loop()
    loop.run_until_complete(async_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

bboxpy-1.3.1.tar.gz (24.2 kB view details)

Uploaded Source

Built Distribution

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

bboxpy-1.3.1-py3-none-any.whl (22.5 kB view details)

Uploaded Python 3

File details

Details for the file bboxpy-1.3.1.tar.gz.

File metadata

  • Download URL: bboxpy-1.3.1.tar.gz
  • Upload date:
  • Size: 24.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for bboxpy-1.3.1.tar.gz
Algorithm Hash digest
SHA256 190b1959bcac96ebbd99080d69f4a407670d97f8eb07b2de04cb229c107d8d18
MD5 984756c9fcd51eceacbdc8437ee50b7e
BLAKE2b-256 498f74f79987ceef5cef69eec0c2eec0b3d71e4c14caef073f8792f591503cff

See more details on using hashes here.

Provenance

The following attestation bundles were made for bboxpy-1.3.1.tar.gz:

Publisher: python-publish.yml on cyr-ius/bboxpy

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

File details

Details for the file bboxpy-1.3.1-py3-none-any.whl.

File metadata

  • Download URL: bboxpy-1.3.1-py3-none-any.whl
  • Upload date:
  • Size: 22.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for bboxpy-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 46dcc277f0119a2a4f09b2c3c4567e21a8194c060c2b38e60e3d15f3c5d50316
MD5 b22b684df3cb212d27044c9e176d6d31
BLAKE2b-256 b9c032cffe9cd44b97d2230950c9cab27e538449b12df17aa8feb1d49f87645a

See more details on using hashes here.

Provenance

The following attestation bundles were made for bboxpy-1.3.1-py3-none-any.whl:

Publisher: python-publish.yml on cyr-ius/bboxpy

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