Skip to content

A Python project to calculate the running pace, the predicted running time (marathon, half-marathon or any other distance), saving and viewing runs (with date, time, pace and observations). It uses SQLite3 to create a local data bank with the runs saved by the user.

License

Notifications You must be signed in to change notification settings

0jonjo/calcpace-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CALCPACE

[PT-BR]

Um projeto em Python para calcular o pace de corrida, o tempo de corrida previsto (maratona, meia-maratona ou qualquer outra distância), salvar e visualizar corridas (com data, tempo, pace e observações). Ele utiliza o SQLite3 para criar um banco de dados local com as corridas salvas pelo usuário.

Opção 1 - CALC PACE

Coloque a distancia (XX.XX km) e o tempo de corrida (HH:MM:SS). Ele retorna o pace (HH:MM:SS).

Opção 2 - CALC TEMPO CORRIDA

Coloque a distancia (XX.XX km) o pace (HH:MM:SS). Ele retorna o tempo de corrida previsto (HH:MM:SS).

Opção 3 - SALVAR CORRIDA

Coloque a data (DD/MM/AAAA) distancia (XX.XX km), tempo de corrida (HH:MM:SS) e observações (opcional). Ele calcula e registra automaticamente o pace.

Opção 4 - DELETAR CORRIDA

São exibidas todas as corridas salvas e há a opção de colocar a data (DD/MM/AAAA) da corrida salva que você deseja excluir.

Opção 5 - VER CORRIDAS SALVAS

Exibe todas as corridas salvas com os dados na ordem: DATA - DISTÂNCIA - TEMPO TOTAL - PACE - OBSERVAÇÔES.

[EN]

A Python project to calculate the running pace, the predicted running time (marathon, half-marathon or any other distance), saving and viewing runs (with date, time, pace and notes). It uses SQLite3 to create a local data bank with the runs saved by the user.

Option 1 - CALC PACE

Enter the distance (XX.XX km) and the running time (HH:MM:SS). It returns the pace (HH:MM:SS).

Option 2 - CALC RUNNING TIME

Place the distance (XX.XX km) to the pace (HH:MM:SS). It returns the predicted running time (HH:MM:SS).

Option 3 - SAVE RUN

Enter the date (DD/MM/YYYY) distance (XX.XX km), running time (HH:MM:SS) and notes (optional). It automatically calculates and records the pace.

Option 4 - DELETE RUN

All saved runs are displayed and you have the option of entering the date (DD/MM/YYYY) of the saved run that you want to delete.

Option 5 - VIEW SAVED RUNS

Displays all saved runs with the data in order: DATE - DISTANCE - TOTAL TIME - PACE - NOTES.

About

A Python project to calculate the running pace, the predicted running time (marathon, half-marathon or any other distance), saving and viewing runs (with date, time, pace and observations). It uses SQLite3 to create a local data bank with the runs saved by the user.

Topics

Resources

License

Stars

Watchers

Forks

Languages