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)
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

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.2.tar.gz (9.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.2-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pycycling-0.0.2.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

File hashes

Hashes for pycycling-0.0.2.tar.gz
Algorithm Hash digest
SHA256 db8d9a091de6ed4f39720f0661c1779584e8541c12c53f671110a1183ae77225
MD5 97dcaa9a70df12774bd012ffebaf2de2
BLAKE2b-256 96a19a7650b4f45080cf1fd0d8508e77576807f5858f0de3a17391eca2277d3d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pycycling-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

File hashes

Hashes for pycycling-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1209804db4d9d0fc7316d1a53c00fc0cf725bbd441dc77482c6e03d4a3439b4c
MD5 ec8ea47dcb0f5651cc63528c32d2b2ed
BLAKE2b-256 bd94cb09a1278e5e0787111b0b6af00741b93a1930e759c9e3d8685e4870d8c3

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