Skip to main content

ContactGlove Python SDK V2

English | 日本語

Receive ContactGlove3 Pro data from DivingStation over OSC. The SDK provides polling and callbacks for glove, ergonomics, skeleton, sensor, and controller data, and supports haptic requests.

Requirements

  • Python 3.10 or later; operation has been confirmed on Windows 11, macOS, and Ubuntu.
  • ContactGlove3 Pro and a running DivingStation installation. Configure and approve the connection in DivingStation.
  • python-osc>=1.7.5 and matplotlib>=3.7.5 are installed automatically; matplotlib is used by the viewer example.

Installation

From PyPI

python -m pip install contactglovesdk

From a distribution ZIP

Extract the distribution and install its bundled wheel, replacing X.Y.Z with its version:

python -m pip install ./contactglovesdk-X.Y.Z-py3-none-any.whl

Receive data

Start DivingStation and connect the glove first. This example assumes DivingStation is on the same machine and uses its default OSC port. Approve the connection in DivingStation if prompted. Press Ctrl+C to stop.

import time
from contactglovesdk import ContactGloveClient, Host

host = Host("DivingStation", "127.0.0.1", 25791)
with ContactGloveClient() as client:
    client.register_callback_for_glove_data_stream(print)
    client.connect_to_host(host)
    try:
        while True:
            time.sleep(1)
    except KeyboardInterrupt:
        pass
    finally:
        client.disconnect(host)

Documentation and support

The customer distribution also includes the API reference and license documents in its doc/ folder.

License

The SDK is licensed under Apache License 2.0. See NOTICE and third-party notices for attribution and dependency licenses.

Metadata

Release files for contactglovesdk 1.0.0

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

Source distribution (sdist)

Source distribution for contactglovesdk 1.0.0
File Size Uploaded Provenance Actions
contactglovesdk-1.0.0.tar.gz 3.0 MB With provenance Details for contactglovesdk-1.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 3.0 MB

Release files / contactglovesdk-1.0.0.tar.gz

Download URL contactglovesdk-1.0.0.tar.gz
Size 3.0 MB
Tags Source
SHA-256 checksum
How to use checksums
8a986c958e25abf0117eed4ac63836b903c47558b194c450e3abb19ec229c830
BLAKE2b-256 checksum
How to use checksums
eb9191eab200c393c89d4f78658d57f9920031bbc9f37652d4436588b6fd967f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

Release files / contactglovesdk-1.0.0-py3-none-any.whl

Download URL contactglovesdk-1.0.0-py3-none-any.whl
Size 29.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
862a0b0926521c5962515702617ef738839be7a9e9e9a9338a719a1f1139036b
BLAKE2b-256 checksum
How to use checksums
424075c950034aa35d6478aac2270c781fde4a81a43a646131fce7a15b47f495
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

Security for contactglovesdk 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for contactglovesdk-1.0.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files Full provenance

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