bboxpy


Namebboxpy JSON
Version 1.1.7 PyPI version JSON
download
home_page
SummaryFetch data from bouygues bbox
upload_time2024-01-26 07:18:56
maintainer
docs_urlNone
author
requires_python>=3.10.0
licenseGPL-3
keywords bouygues async bbox
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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

```bash
$ pip install bboxpy
```

Or manually download and install the last version from github

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

## Get started

```python
# 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())

```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "bboxpy",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10.0",
    "maintainer_email": "",
    "keywords": "bouygues,async,bbox",
    "author": "",
    "author_email": "Cyr-ius <cyr-ius@ipocus.net>",
    "download_url": "https://files.pythonhosted.org/packages/95/c3/a354d05b3904bad3a4732c300fed295b49e07d51078d99bb5f7d3726c6ff/bboxpy-1.1.7.tar.gz",
    "platform": "any",
    "description": "# bboxpy\n\nManage your Bouygues Bbox in Python\n\nEasily manage your Bbox in Python.\nCheck your config, configure your dhcp, disable your wifi, monitor your LAN activity and many others, on LAN or remotely.\n\nbboxpy is a python library implementing fir the Bbox.\n\nThis project is based on stilllman/aiofreepybox, which provides the same features as aiofreepybox in a synchronous manner.\n\n## Install\n\nUse the PIP package manager\n\n```bash\n$ pip install bboxpy\n```\n\nOr manually download and install the last version from github\n\n```bash\n$ git clone https://github.com/cyr-ius/bboxpy.git\n$ python setup.py install\n```\n\n## Get started\n\n```python\n# Import the bboxpy package.\nfrom bboxpy import Bbox\nfrom bboxpy.exceptions import BboxException\n\nasync def async_main()\n    # Instantiate the Sysbus class using default options.\n    bbox = Bbox(hostname=\"https://192.168.1.254\",pass='xxxxxx')\n\n    # Connect to the livebox with default options.\n    await bbox.async_login()\n\n    try:\n        device_info = await bbox.device.async_get_bbox_info()\n        print(device_info)\n    except BboxException as error:\n        logger.error(error)\n\n    # Do something useful, rebooting your livebox for example.\n    await bbox.device.async_reboot()\n\n    # Properly close the session.\n    await bbox.async_logout()\n\n\nif __name__ == \"__main__\":\n    loop = asyncio.get_event_loop()\n    loop.run_until_complete(async_main())\n\n```\n",
    "bugtrack_url": null,
    "license": "GPL-3",
    "summary": "Fetch data from bouygues bbox",
    "version": "1.1.7",
    "project_urls": null,
    "split_keywords": [
        "bouygues",
        "async",
        "bbox"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2b4a4c0f4a6994f961fa5971c33f1b2e0d36db95ac370a6d8058ddda985b21a4",
                "md5": "984c36b0828a8ddac43d61e292044e7b",
                "sha256": "7060e6f23e91e76c662cd5e993c65c159cdb08ac3bd7e0280fb945bcc1d9a293"
            },
            "downloads": -1,
            "filename": "bboxpy-1.1.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "984c36b0828a8ddac43d61e292044e7b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10.0",
            "size": 19763,
            "upload_time": "2024-01-26T07:18:55",
            "upload_time_iso_8601": "2024-01-26T07:18:55.105431Z",
            "url": "https://files.pythonhosted.org/packages/2b/4a/4c0f4a6994f961fa5971c33f1b2e0d36db95ac370a6d8058ddda985b21a4/bboxpy-1.1.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "95c3a354d05b3904bad3a4732c300fed295b49e07d51078d99bb5f7d3726c6ff",
                "md5": "2688c2e97815076206a161864d527a77",
                "sha256": "c12e2fc598a6a926ba43c53c856e8fa1ec159434712dc4910b3a6f5a22ff2c59"
            },
            "downloads": -1,
            "filename": "bboxpy-1.1.7.tar.gz",
            "has_sig": false,
            "md5_digest": "2688c2e97815076206a161864d527a77",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10.0",
            "size": 22516,
            "upload_time": "2024-01-26T07:18:56",
            "upload_time_iso_8601": "2024-01-26T07:18:56.774934Z",
            "url": "https://files.pythonhosted.org/packages/95/c3/a354d05b3904bad3a4732c300fed295b49e07d51078d99bb5f7d3726c6ff/bboxpy-1.1.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-26 07:18:56",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "bboxpy"
}
        
Elapsed time: 0.25824s