Skip to main content

Neufbox API Client

Build Status License Version

This is a python API client library to interact with Neufbox NB4, NB5, NB6, NB6V, NB6VAC modem/routers sold by Neuf Telecom, SFR or Red by SFR companies.

See the API specification for details about the API itself.

Installation

To install the package:

pip install neufbox-client

Getting started

Here is a simple example that retrieves the neufbox "system" information:

from neufbox import Client, username_password
from pprint import pprint


client = Client('192.168.1.1')
system_info = client.system.get_info()
pprint(system_info)

We can also login to access private information from the neufbox. A username_password helper is provided by the library, which sends the credentials (in hashed format) to validate the token received by the client from the neufbox (only if the neufbox allows username/password authentication):

client.login(username_password('admin', 'p4ssw0rd'))
wlan_info = client.wlan.get_info()
pprint(wlan_info)

The client also allows changing some parameters of the neufbox by using the setters available in the different namespaces. See the API specification for details.

You can also have a look on the demo file to see a working example.

Support

This project is hosted on Github. Please report issues via the bug tracker.

Release files for neufbox-client 1.0.0

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

Source distribution (sdist)

Source distribution for neufbox-client 1.0.0
File Size Uploaded
neufbox-client-1.0.0.tar.gz 19.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for neufbox-client 1.0.0
File Interpreter ABI Platform
neufbox_client-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 34.5 kB

Release files / neufbox-client-1.0.0.tar.gz

Download URL neufbox-client-1.0.0.tar.gz
Size 19.4 kB
Tags Source
SHA-256 checksum
How to use checksums
6c91e259c48abf7aed88df73e6604d633c5ff391400aa7d369660a4607e7aa37
BLAKE2b-256 checksum
How to use checksums
2ae7f00903a38db1722814475b03f032e3667ccdf164cc97d121d7a42a4ed3cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.5

Release files / neufbox_client-1.0.0-py3-none-any.whl

Download URL neufbox_client-1.0.0-py3-none-any.whl
Size 15.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
80a902221bef565ace3abc6419c34bca3b91f5e0ac04c616b4dca79d08fd5f02
BLAKE2b-256 checksum
How to use checksums
2a8009201c3e392f0b1cc90c8215ca8b398e461117d1f7b311b5e715d7affda6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.5

Release history Release notifications | RSS feed

This release

1.0.0 This release

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