Provides asynchronous authentication and access to Livebox
Project description
aiosysbus
Manage your Livebox in Python
Easily manage your Livebox in Python. Check your config, configure your dhcp, disable your wifi, monitor your LAN activity and many others, on LAN or remotely.
aiosysbus is a python library implementing fir the Livebox v3.
This project is based on stilllman/aiofreepybox, which provides the same features as aiofreepybox in a synchronous manner.
WARNING
Version 1.0.0 and above makes all these calls asynchronously. It breaks the compatibility of previous codes
Install
Use the PIP package manager
$ pip install aiosysbus
Or manually download and install the last version from github
$ git clone https://github.com/cyr-ius/aiosysbus.git
$ python setup.py install
Get started
aiosysbus < 1.0.0
# Import the aiosysbus package.
from aiosysbus import AIOSysbus
async def reboot()
# Instantiate the Sysbus class using default options.
lvbx = AIOSysbus('192.168.1.1','80','xxxxxx')
# Connect to the livebox with default options.
lvbx.connect()
# Do something useful, rebooting your livebox for example.
lvbx.system.reboot()
# Properly close the session.
lvbx.close()
aiosysbus >= 1.0.0
import asyncio
import logging
async def async_main() -> None:
# Instantiate the Sysbus class using default options.
api = AIOSysbus(username=xxxx, password=xxxx, host=HOST)
# Connect to the livebox.
await api.async_connect()
# Query example
parameters = {"parameters": {"expression": {"wifi": "wifi && .Active==False"}}}
devices = await api.devices.async_get_devices(parameters)
await api.async_close()
if __name__ == "__main__":
loop = asyncio.get_event_loop()
loop.run_until_complete(async_main())
Have a look at the example.py for a more complete overview.
Notes on HTTPS
Not implemented
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 aiosysbus-1.2.4.tar.gz.
File metadata
- Download URL: aiosysbus-1.2.4.tar.gz
- Upload date:
- Size: 44.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fac049c2a8717b3e4308dc0a5eb3bafaab5215b5aad25974c77aabe3a4e4c878
|
|
| MD5 |
e46045255f5ac4b4b1839ce425705a66
|
|
| BLAKE2b-256 |
77142872a456a749623e31177368aa59099ba7416b3e17163c789b7f3c81a0f7
|
Provenance
The following attestation bundles were made for aiosysbus-1.2.4.tar.gz:
Publisher:
python-publish.yml on cyr-ius/aiosysbus
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aiosysbus-1.2.4.tar.gz -
Subject digest:
fac049c2a8717b3e4308dc0a5eb3bafaab5215b5aad25974c77aabe3a4e4c878 - Sigstore transparency entry: 481909009
- Sigstore integration time:
-
Permalink:
cyr-ius/aiosysbus@4128dab0d81287bb522e13e03cad19eee7a50699 -
Branch / Tag:
refs/tags/1.2.4 - Owner: https://github.com/cyr-ius
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@4128dab0d81287bb522e13e03cad19eee7a50699 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file aiosysbus-1.2.4-py3-none-any.whl.
File metadata
- Download URL: aiosysbus-1.2.4-py3-none-any.whl
- Upload date:
- Size: 41.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 |
9117b1c940b5cb42949519f66903395be5cfa537f1e9fcfd3148c7eb811d951e
|
|
| MD5 |
73ed1c00018ae5e3f4135ceb9d7c6708
|
|
| BLAKE2b-256 |
578fbb4b42a080afcbe4c9f806ef52f37e51acdb764171d61b1e636491fe6276
|
Provenance
The following attestation bundles were made for aiosysbus-1.2.4-py3-none-any.whl:
Publisher:
python-publish.yml on cyr-ius/aiosysbus
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aiosysbus-1.2.4-py3-none-any.whl -
Subject digest:
9117b1c940b5cb42949519f66903395be5cfa537f1e9fcfd3148c7eb811d951e - Sigstore transparency entry: 481909011
- Sigstore integration time:
-
Permalink:
cyr-ius/aiosysbus@4128dab0d81287bb522e13e03cad19eee7a50699 -
Branch / Tag:
refs/tags/1.2.4 - Owner: https://github.com/cyr-ius
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@4128dab0d81287bb522e13e03cad19eee7a50699 -
Trigger Event:
workflow_dispatch
-
Statement type: