Skip to main content

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

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for remote_device, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size remote_device-1.0.tar.gz (7.9 kB) File type Source Python version None Upload date Hashes View
Filename, size remote_device-1.0.zip (12.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page