Giter Club home page Giter Club logo

workoutbuddy's Introduction

WorkoutBuddy

Platform: linux-64 License: GPL v3 Python

Overview

WorkoutBuddy is a workout database and plotting tool.

Install

If you wish to install the current master, use the following command:

pip install git+git://github.com/cedricduriau/workoutbuddy.git

Or a specific release version:

pip install git+git://github.com/cedricduriau/[email protected]

Usage

# set up database
workoutbuddy-cli set-up

# clear database
workoutbuddy-cli tear-down

# create exercise
workoutbuddy-cli create-exercise --name "pull up"

# list exercises
workoutbuddy-cli list-exercises

# log exercises
workoutbuddy-cli log-exercise --date "today" --exerciseid 1 --reps 20
workoutbuddy-cli log-exercise --date "01/01/2020" --exerciseid 1 --reps 20

# list logs
workoutbuddy-cli list-logs

# launch gui
workoutbuddy-gui

workoutbuddy's People

Contributors

cedricduriau avatar

Stargazers

 avatar Sven Fraeys avatar

Watchers

 avatar

workoutbuddy's Issues

error when exercise exists but no logs are present for it

Traceback (most recent call last):
  File "/home/cduriau/repo/workoutbuddy/python/workoutbuddy/gui/workoutbuddywidget.py", line 182, in _plot
    dataframe.loc[:, names].plot.area(stacked=True, ax=axis, alpha=0.75)
  File "/home/cduriau/venv3/lib/python3.8/site-packages/pandas/core/indexing.py", line 1762, in __getitem__
    return self._getitem_tuple(key)
  File "/home/cduriau/venv3/lib/python3.8/site-packages/pandas/core/indexing.py", line 1289, in _getitem_tuple
    retval = getattr(retval, self.name)._getitem_axis(key, axis=i)
  File "/home/cduriau/venv3/lib/python3.8/site-packages/pandas/core/indexing.py", line 1954, in _getitem_axis
    return self._getitem_iterable(key, axis=axis)
  File "/home/cduriau/venv3/lib/python3.8/site-packages/pandas/core/indexing.py", line 1595, in _getitem_iterable
    keyarr, indexer = self._get_listlike_indexer(key, axis, raise_missing=False)
  File "/home/cduriau/venv3/lib/python3.8/site-packages/pandas/core/indexing.py", line 1552, in _get_listlike_indexer
    self._validate_read_indexer(
  File "/home/cduriau/venv3/lib/python3.8/site-packages/pandas/core/indexing.py", line 1654, in _validate_read_indexer
    raise KeyError(
KeyError: 'Passing list-likes to .loc or [] with any missing labels is no longer supported, see https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#deprecate-loc-reindex-listlike'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.