bthomehub5-devicelist
This library will return a dictionary containing information about the devices currently connected to a BT Home Hub 5 with a user specified IP Address.
Installation
pip install bthomhub5-devicelist
How to use
Example Usage:
import bthomehub5_devicelist
from pprint import pprint
def main():
# If an IP Address is not specified, it will default as 192.169.1.254
devicelist = bthomehub5_devicelist.get_devicelist('192.168.1.254')
pprint(devicelist)
if __name__ == '__main__':
main()
The library will return a dictionary with connected devices MAC addresses as keys and device names as values
The console output from running the example code will look like this:
>>>
{'4f:c9:32:04:d3:ec': 'Example-PC',
'3f:6a:66:49:d4:16': 'Example-IPhone',
'01:5d:e8:fb:c8:a9': 'Example-Smartlight',
'65:10:5c:6d:d0:2b': 'Example-Android'}
License
MIT - Feel free to go crazy with the code
Metadata
Release files for bthomehub5-devicelist 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bthomehub5-devicelist-0.1.1.tar.gz | 2.2 kB | Without provenance | Details for bthomehub5-devicelist-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bthomehub5_devicelist-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for bthomehub5_devicelist-0.1.1-py3-none-any.whl |
Total release size: 5.1 kB
Release files / bthomehub5-devicelist-0.1.1.tar.gz
| Download URL | bthomehub5-devicelist-0.1.1.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6d63302db14674c45c64b2156cea6d58c38e1735419b62b143d8f0aaf014eb30
|
|
BLAKE2b-256 checksum How to use checksums |
eb97e67419b7653bd23a99b7c3255f3617496c6636d9f7032e72be4b4823b21f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.5
|
Release files / bthomehub5_devicelist-0.1.1-py3-none-any.whl
| Download URL | bthomehub5_devicelist-0.1.1-py3-none-any.whl |
|---|---|
| Size | 2.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e7b9e2ea054d4a52b187e49343cea675c8078a6db28f88e322046260cd983cc6
|
|
BLAKE2b-256 checksum How to use checksums |
977abb778a4f736e881f40feb59e82d9350178a29adcdafcf68e48146c884834
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.5
|
Security for bthomehub5-devicelist 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.