Code Monkey home page Code Monkey logo

percentagetrainingbot's Introduction


Logo

Percentage Training Bot

Telegram Bot to spare time during your Percentage Based Training program. It keeps track of your weights in relation of your maximum capacity.

๐Ÿ“š Table of Contents

๐Ÿค– About The Project

Percentage Training Bot is a Telegram bot running on Python3 which can be used during a training session. The bot is useful for the Percentage Training Programs to improve phisical strength, such as the ones used in sports such as Powerlifting, Weightlifting or Crossfit.

The bot registers the user's true or estimated 1-rep max for a certain exercise (also known as PRs or RMs). Once registered, the user can access to the table showing all the percentages of that exercise by just typing /tables and selecting the exercise name.

๐Ÿ”จ Getting Started

  1. Insert your API_KEY and your PostgreSQL Database credentials in a .env file placed in the root directory.
  2. Install the dependencies by running:
    $> pip install -r requirements.txt
  3. Run the bot/main.py file to run your bot on Telegram.

Updates

Pull this repository for updates.

โš™๏ธ Commands

This is the list of commands available within the bot:

  • /start Starts the bot. It allows the bot to store user's first informations, such as chat ID and it's first name.
  • /help Show the list of available commands to the user.
  • /set Set the user's training type.
  • /exercise Allow the user to set his PRs for the exercise chosen.
  • /tables Display a keyboard that allows the user to see his PR's tables.

๐Ÿ”‘ LICENSE

Distributed under the GPL License. See LICENSE for more information.

Contributors

Daniele Pellegrini

percentagetrainingbot's People

Contributors

danielepelleg avatar

Watchers

 avatar

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.