Skip to main content

Connector for EE BrightBox and Smart Hub routers.

https://img.shields.io/travis/krygal/eebrightbox/master.svg https://img.shields.io/librariesio/github/krygal/eebrightbox.svg https://img.shields.io/codeclimate/maintainability-percentage/krygal/eebrightbox.svg https://img.shields.io/codeclimate/coverage/krygal/eebrightbox.svg https://img.shields.io/pypi/v/eebrightbox.svg https://img.shields.io/pypi/pyversions/eebrightbox.svg https://img.shields.io/pypi/l/eebrightbox.svg

Installation

pip install eebrightbox

Example

from eebrightbox import EERouter

config = {
    'version': 2,  # 2 - EE BrightBox 2, 3 - EE Smart Hub
    'host': '192.168.1.1', # optional
    'username': 'admin', # optional
    'password': 'admin_password', # found at the back of the router
}

with EERouter(config) as ee:
    active_devices = ee.get_active_devices()

    print(active_devices)
    # Output: [{'mac': '10:AD:E1:2C:68:FE', 'hostname': 'hostname1', 'port': 'wl1', 'ip': '192.168.1.111', 'ipv6': None, 'ipv6_ll': None, 'time_first_seen': datetime.datetime(2018, 12, 9, 14, 46, 28), 'time_last_active': datetime.datetime(2018, 12, 22, 14, 26, 3), 'activity': True, 'activity_ip': True, 'activity_ipv6': False, 'activity_ipv6_ll': True, 'dhcp_option': None, 'name': 'name1', 'os': None, 'device': None, 'device_oui': None, 'device_serial': None, 'device_class': None}, ...]

License

MIT License

Copyright (c) 2018 Krystian Galutowski

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Release files for eebrightbox 0.0.6

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

Source distribution (sdist)

Source distribution for eebrightbox 0.0.6
File Size Uploaded
eebrightbox-0.0.6.tar.gz 34.5 kB Details

Release files / eebrightbox-0.0.6.tar.gz

Download URL eebrightbox-0.0.6.tar.gz
Size 34.5 kB
Tags Source
SHA-256 checksum
How to use checksums
77270714205591c4f8f74c01e663b117a1fae466d8e4e7e0fec741d5f2cd1531
BLAKE2b-256 checksum
How to use checksums
a5cf579f02bd0e9a89dfb565d79d25398568eafff9f2ea44cb7938c072a6874e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.6.7

Release history Release notifications | RSS feed

This release

0.0.6 This release

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.1

1 release file

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