This project has been archived by its maintainers, and is no longer receiving any updates.
aiofreepybox
Easily manage your freebox in Python using the Freebox OS API. Check your calls, manage your contacts, configure your dhcp, disable your wifi, monitor your LAN activity and many others, on LAN or remotely.
aiofreepybox is a python library implementing the freebox OS API. It handles the authentication process and provides a raw access to the freebox API in an asynchronous manner.
This project is based on fstercq/freepybox, which provides the same features as aiofreepybox in a synchronous manner.
Install
Use the PIP package manager
$ pip install aiofreepybox
Or manually download and install the last version from github
$ git clone https://github.com/stilllman/aiofreepybox.git
$ python setup.py install
Get started
# Import the aiofreepybox package.
from aiofreepybox import Freepybox
async def reboot()
# Instantiate the Freepybox class using default options.
fbx = Freepybox()
# Connect to the freebox with default options.
# Be ready to authorize the application on the Freebox.
await fbx.open('192.168.0.254')
# Do something useful, rebooting your freebox for example.
await fbx.system.reboot()
# Properly close the session.
await fbx.close()
Have a look at the example.py for a more complete overview.
Notes on HTTPS
When you access a Freebox with its default-assigned domain (ending in fbxos.fr), the library verifies its certificate by automatically trusting the Freebox certificate authority. If you want to avoid this, you can setup a custom domain name which will be associated with a Let's Encrypt certificate.
Resources
Freebox OS API documentation : http://dev.freebox.fr/sdk/os/
Metadata
Release files for aiofreepybox 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aiofreepybox-0.0.8.tar.gz | 35.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aiofreepybox-0.0.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 84.0 kB
Release files / aiofreepybox-0.0.8.tar.gz
| Download URL | aiofreepybox-0.0.8.tar.gz |
|---|---|
| Size | 35.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f152e2349bba3a06c726c0e6f7de226fac2910a6b13aacad0c4ae6b71571022e
|
|
BLAKE2b-256 checksum How to use checksums |
6966a541747fd418d3125fd724757ce837bf8fe8ee859090b61e7f0d05e2e9ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.4
|
Release files / aiofreepybox-0.0.8-py3-none-any.whl
| Download URL | aiofreepybox-0.0.8-py3-none-any.whl |
|---|---|
| Size | 48.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bde31b2ccabe033986074547c721ec193c09dfa6ec07d323b4ba59778af43ed7
|
|
BLAKE2b-256 checksum How to use checksums |
42cd5ff3d95a63e51a94f99dd4f7fa79de87872bd34b9d69f07107e8aa8eb51c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.4
|