Skip to main content

Library for parsing log files generated by Concept2 rowers.

Project description

Build status Coverage report

c2log

c2log is a library for parsing log files generated by the Concept2 PM5. Documentation can be found at https://rmoe.gitlab.io/c2log/.

Installation

Requirements:

Install from PyPi:

$ pip install c2log

Usage

>>> from c2log.logbook import LogBook
>>> logbook = LogBook.from_directory('/path/to/pm5/logs')
>>> logbook.workouts
>>> for workout in logbook.workouts:
...     print(workout.workout_name)
...
16073m
15849m
2x10:00/0:12r
0:06:54
14557m
4x750m/0:12r
14877m
6x500m/0:12r
>>>

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

c2log-0.1.1.tar.gz (28.7 kB view hashes)

Uploaded Source

Built Distribution

c2log-0.1.1-py3-none-any.whl (22.4 kB view hashes)

Uploaded Python 3

Supported by

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