Skip to main content

Library to interface with GoDirect devices via USB and BLE

Project description

godirect

A Python module for reading from Vernier Go Direct® Sensors1 connected to USB or your system's on-board bluetooth radio. The module has been tested on Windows 10, macOS, and various Linux distros.

Take a look at the godirect-examples repository for ideas and a number of helpful examples.

Requirements

The following Python modules are required for godirect. They will be installed automatically as dependencies when installing godirect via pip.

  • bleak (native Bluetooth Low Energy stack for Mac, Windows and Linux)
  • hidapi (USB HID device support)

Installation

Automatically install all the dependencies for both USB and native BLE.

pip install godirect

Installation and Usage

Go to our Getting Started with Vernier Go Direct Sensors and Python document for detailed information regarding installation and usage of the godirect module.

Legacy Support for Bluegiga Dongle

Prior to version 1.1.0, some platforms required a Bluegiga BLE dongle to connect over BLE. While we recommend using the native BLE radio (through bleak), the old functionality has been left in the library. In order to use the Bluegiga BLE dongle, vernierpygatt must be installed. This is a fork of the pygatt project with a fix for the BGAPI on Windows. See the vernierpygatt PyPi page for details.

License

GNU General Public License v3 (GPLv3)

Vernier products are designed for educational use. Our products are not designed nor are they recommended for any industrial, medical, or commercial process such as life support, patient diagnosis, control of a manufacturing process, or industrial testing of any kind.

1 Go Direct spectrometers are not supported.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

godirect-1.1.4-py3-none-any.whl (36.8 kB view details)

Uploaded Python 3

File details

Details for the file godirect-1.1.4-py3-none-any.whl.

File metadata

  • Download URL: godirect-1.1.4-py3-none-any.whl
  • Upload date:
  • Size: 36.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.25.1 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

File hashes

Hashes for godirect-1.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3903887586091b04dc6ac02a8e3cee06e9d342e49e5d38c7e8ca739d479576f0
MD5 9580d23514aaa3e55910e771b673e402
BLAKE2b-256 41e6a9beaeee0c512d53b6c3ff27213f96fd508e18baa0b6bdb06e25dd28807d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page