A tool for searching and managing plug-and-play devices
Project description
DeviceManager
Python device manager for plug-and-play devices. The DeviceManager allows you to search for connected devices and you can store them into a dicitonary by a user-defined name. By this, you will never have to guess the device's address again. The DeviceManager will search for updated addresses automatically. So you will always know your device's address, even if it got a new address after it was disconnected and reconnected. For this purpose, the DeviceManager is also serializable into a JSON-file. So your devices are not only stored within the session but also beyond and you have the ability to share your device dictionaries with your colleagues.
Currently supported device types are:
- USB devices
- Ethernet/LAN devices
Installation
To install the DeviceManager, perform the following steps:
- Clone this repository
git clone https://github.com/zea2/DeviceManager
- Navigate to the cloned repository
cd DeviceManager
-
Install the project
-
To install the DeviceManager, you need to know if you want to use the nmap-functionality. If not, install the package like this:
$ pip3 install .
-
If you want to use nmap to get better results when searching for network devices, use this:
$ pip3 install .[nmap]
To use the nmap-functionality the nmap-software is required additionally:
- On Windows you will need to download the software from https://nmap.org/download.html
- On Linux nmap can be installed with
sudo apt-get install nmap
On linux you eventually need to use the commands
pip3
orpython3
instead ofpip
orpython
. -
Documentation
You can find a documentation on how to setup and use the DeviceManager on readthedocs. There you will also find some examples, the API documentation on more...
Some useful example notebooks are located at docs/source/examples.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file device_manager-0.2.4.tar.gz
.
File metadata
- Download URL: device_manager-0.2.4.tar.gz
- Upload date:
- Size: 23.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dae7bff9bfab98ff9b296bf2f5c9d42ecab2d12e8617c510d32a4705b12cd158 |
|
MD5 | 87069b4723076d53a0e7d203654d55d5 |
|
BLAKE2b-256 | 7212bc32e3e939541acbb0e9917183e088950b96a0c007e1e6fc54f00bc07c00 |
File details
Details for the file device_manager-0.2.4-py3-none-any.whl
.
File metadata
- Download URL: device_manager-0.2.4-py3-none-any.whl
- Upload date:
- Size: 29.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 950c9ce0ea2e1eeb66e5e4b2fadb1e3ba08df9a2b6bb12e67dc750b83b278f49 |
|
MD5 | f7a3be10df49478d9df821497cd28557 |
|
BLAKE2b-256 | 30402d1a85f54835a7d84cea36d41e77a50ac17dc92ce5f56c68ea27a43f96e5 |