Skip to main content

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

Project description

pycycling

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

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.

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.1.tar.gz (7.2 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.1-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pycycling-0.0.1.tar.gz
  • Upload date:
  • Size: 7.2 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.1.tar.gz
Algorithm Hash digest
SHA256 c5016b14f14dc564e998147486799bb6d70af873b53af98a1a674b17b241f0ad
MD5 2ec9466842d3627b2b329850cfa8673c
BLAKE2b-256 21a5d8b2d04ebe2c332f831372c6aa257a250452085332665f551f5edb002bda

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pycycling-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 8.1 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d57758abe6528ef191787e32a375e715f7cf24b65ed8bb6f749119d18e653ced
MD5 9a22ce53526b66fccb3ac98bd72a5468
BLAKE2b-256 2ab0a8fce560747f7cf9358392a0ebda7c5b33e8a765f04b2e81c8c15a005003

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