Skip to main content

freebox-api

PyPI GitHub Release Python Version License

Read the documentation at https://freebox-api.readthedocs.io/ Tests Codecov GitHub Activity

pre-commit Black

Features

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.

freebox-api 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 freebox-api in a synchronous manner.

Requirements

  • TODO

Installation

You can install freebox-api via pip from PyPI:

$ pip install freebox-api

Or manually download the last version from github and install it with Poetry

$ git clone https://github.com/hacf-fr/freebox-api.git
$ python poetry install

Usage

# Import the freebox-api package.
from freebox_api 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/

Contributing

Contributions are very welcome. To learn more, see the Contributor Guide.

License

Distributed under the terms of the GNU GPL v3 license, freebox-api is free and open source software.

Issues

If you encounter any problems, please file an issue along with a detailed description.

Credits

This project was generated from @cjolowicz’s Hypermodern Python Cookiecutter template.

Metadata

Release files for freebox-api 1.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for freebox-api 1.3.1
File Size Uploaded
freebox_api-1.3.1.tar.gz 39.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for freebox-api 1.3.1
File Interpreter ABI Platform
freebox_api-1.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 87.8 kB

Release files / freebox_api-1.3.1.tar.gz

Download URL freebox_api-1.3.1.tar.gz
Size 39.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4499889cb32a734f7dd64c7256420041593421ead4a122d27a8cabcd88909433
BLAKE2b-256 checksum
How to use checksums
e6bf253f22b1270dc5c1446acc72c1eed044796d418d2f0062fd46487b041fa4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / freebox_api-1.3.1-py3-none-any.whl

Download URL freebox_api-1.3.1-py3-none-any.whl
Size 48.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fb438c44d08293d7ca1a3d9ad55334a3e2905bdda270332345b7e30a1afbfa87
BLAKE2b-256 checksum
How to use checksums
1e20ed855413e9a7798ac7e12365b8d75feac595c9cf194afbd39c9bacd99d01
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

1.3.1 This release

2 release files

1.3.0

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.0.10

2 release files

0.0.9

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page