Interface to remote devices with auto creation of class methods and auto discovery of available remote devices in Linux, Windows, and Mac OS X
Project description
This Python package creates a class named RemoteDevice, which contains an instance of serial_device2.SerialDevice and adds methods to it, like auto discovery of available remote devices in Linux, Windows, and Mac OS X. This class automatically creates methods from available functions reported by the remote device when it is running the appropriate firmware.
Authors:
Peter Polidoro <polidorop@janelia.hhmi.org>
License:
BSD
Example Usage:
from remote_device import RemoteDevice dev = RemoteDevice() dev = RemoteDevice() # Automatically finds device if one available dev = RemoteDevice('/dev/ttyACM0') # Linux specific port dev = RemoteDevice('/dev/tty.usbmodem262471') # Mac OS X specific port dev = RemoteDevice('COM3') # Windows specific port dev.get_device_info() dev.get_methods() devs = RemoteDevices() # Automatically finds all available devices devs.items() dev = devs[name][serial_number]
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 Distributions
remote_device-1.0.zip
(12.3 kB
view details)
remote_device-1.0.tar.gz
(7.9 kB
view details)
File details
Details for the file remote_device-1.0.zip
.
File metadata
- Download URL: remote_device-1.0.zip
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab4b4d131aa98cba5d62170b66d4da2e4ffb749727b4c2cd5b1a94b5db5133c7 |
|
MD5 | 632348081dc37eb4789884f3bd318427 |
|
BLAKE2b-256 | efc46e039cd12b9bf18dcee501f04ccfdcf4c4f8481d56a59d0835243903b686 |
File details
Details for the file remote_device-1.0.tar.gz
.
File metadata
- Download URL: remote_device-1.0.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2fcbd6eb2641615934c2fd456ca08c889dba0f1b15081450026000f2dc675bb0 |
|
MD5 | 013754da92019471a523e98e91324036 |
|
BLAKE2b-256 | fbc6e68a323351237a5fb8d504e66f7aacafeb77f0c5c457aff1bfb11d54907d |