Workout With Friends
Stay fit with a little motivation
|
Go to the source code of this file.
Classes | |
class | wowf.lib.utils.Storage |
Generic container class. More... |
Namespaces | |
namespace | wowf.lib.utils |
Functions | |
def | wowf.lib.utils.parse_workout_report |
Parse and extract the needed data from the csv of the workout report. | |
def | wowf.lib.utils.calculate_wilks_coefficient |
Calculate the wilkes coefficient for this user. | |
def | wowf.lib.utils.calculate_one_rep_max |
Calculate the estimated one rep max. | |
def | wowf.lib.utils.calculate_bmi |
Calculate a persons body mass index, given weight (kg) and height (m). | |
def | wowf.lib.utils.years_ago |
Calculate the difference in years between the start date and today. | |
def | wowf.lib.utils.get_subclasses |
Get all classes residing in a given module which subclass a given base class. | |
def | wowf.lib.utils.split_cslist |
Split a comma separated list by both newlines and commas. | |
def | wowf.lib.utils.current_timestamp |
def | wowf.lib.utils.to_user_timezone |
Convert a datetime from system timezone to the given timezone. | |
def | wowf.lib.utils.to_system_timezone |
Convert a datetime from the given timezone to system timezone. | |
def | wowf.lib.utils.parse_timedelta |
Get the days, hours, and minutes from a timedelta object. | |
def | wowf.lib.utils.settings_from_prefix |
Return a dictionary of settings all containing the same key prefix, with the prefix removed from the keys. |
Variables | |
string | wowf.lib.utils.TIMESTAMP = 'timestamp_epoch' |
string | wowf.lib.utils.DISTANCE = 'DISTANCE' |
string | wowf.lib.utils.HEARTRATE = 'HEARTRATE' |
string | wowf.lib.utils.CALORIEBURN = 'CALORIEBURN' |