Skip to main content

A Python package for interacting with Bluetooth Low Energy (BLE) compatible bike trainers and power meters

Project description

pycycling

A Python package for interacting with Bluetooth Low Energy (BLE) compatible bike trainers and power meters.

The package uses Bleak (Bluetooth Low Energy platform Agnostic Klient) behind the scenes to connect and communicate with bike trainers. Bleak is cross-platform with support for Windows, MacOS, and Linux. Therefore this module should also work on these operating systems. Please refer to the Bleak repository for more information about supported platforms.

Disclaimer

I take no responsibility if the use of this package breaks your turbo trainer or stationary bike. Use at your own risk! It has only been tested with a Tacx NEO 2T trainer, and Garmin Vector 3 power meter pedals.

Supported protocols

Protocol name Fully supported Partially supported Not supported
Cycling Speed and Cadence Service (CSCS)
Cycling Power Service (CPS)
Tacx Trainer Control (ANT+ FE-C over BLE)
Elite Sterzo Steering Service
FiTness Machine Service (FTMS)

Installation

Clone this repo and then run the following command from the root directory

python setup.py develop

Usage

Please refer to the examples folder for basic usage of the package

Useful documentation

Project details


Download files

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

Source Distribution

pycycling-0.0.3.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pycycling-0.0.3-py3-none-any.whl (142.0 kB view details)

Uploaded Python 3

File details

Details for the file pycycling-0.0.3.tar.gz.

File metadata

  • Download URL: pycycling-0.0.3.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for pycycling-0.0.3.tar.gz
Algorithm Hash digest
SHA256 a6c47fab363521cc99dba700059874d991324c99017201ef3ee30f1e6f08163e
MD5 881461542971ee3c37d6f9790e26f967
BLAKE2b-256 495d32a9a5f00df8aaf39171f0e0870be9f01e41406ba0e3276e6319dc101cf0

See more details on using hashes here.

File details

Details for the file pycycling-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: pycycling-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 142.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for pycycling-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 23101211525bb8139f7d3b8bfbee8038544b0b51702f151e80800cbf9afd5204
MD5 46aff9072e35a499895d63885628c3f6
BLAKE2b-256 c9ef4cb282ffdb7a8c4927feb820399887197193d25a2044b8ddd1b1a9b044fb

See more details on using hashes here.

Supported by

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