Skip to main content

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.

Local builds

In order to explore and contribute to this module, you can modify this module, build and install it locally.

# Uninstall any installed version

pip uninstall godirect

# Install the build tool (if you have not already)

pip install build

# Build the module

python -m build

# Install the module

pip install .

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.

Metadata

Release files for godirect 1.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for godirect 1.2.1
File Size Uploaded
godirect-1.2.1.tar.gz 33.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for godirect 1.2.1
File Interpreter ABI Platform
godirect-1.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 71.2 kB

Release files / godirect-1.2.1.tar.gz

Download URL godirect-1.2.1.tar.gz
Size 33.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d8fac756cd782659a6ae11e0abb1c8d80924bdb2d08d8edffca5fcaa5f8a2201
BLAKE2b-256 checksum
How to use checksums
a91d2683f6c0f1add36079c27ef5485131a9d646dd760a1ebda7c9f712786cae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release files / godirect-1.2.1-py3-none-any.whl

Download URL godirect-1.2.1-py3-none-any.whl
Size 37.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
79e31737fede29c011945f031b450cc70ad5c49e7beef2e2c35e50dbba814ffd
BLAKE2b-256 checksum
How to use checksums
c371410010d143517709b13da22b212db98f1c9388cf33735b186053a644d6ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release history Release notifications | RSS feed

This release

1.2.1 This release

2 release files

1.1.4

1 release file

1.1.3

2 release files

1.1.2

2 release files

1.1.1

3 release files

1.1.0

3 release files

1.0.7

3 release files

1.0.6

2 release files

1.0.5

3 release files

1.0.4

3 release files

1.0.3

3 release files

1.0.2

3 release files

1.0.1

3 release files

1.0.0

3 release files

0.9.9

3 release files

0.9.8

3 release files

0.9.7

3 release files

0.9.6

3 release files

0.9.5

3 release files

0.9.4

3 release files

0.9.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page