A Python-based fitness management application that helps users generate personalized workout routines and nutrition plans based on their personal data, health conditions, and fitness goals.
The goal of this project is to simulate a real-world fitness assistant system that:
- Collects user data through structured input
- Evaluates health and fitness conditions
- Generates personalized diet plans
- Recommends workout routines based on experience level
- Interactive CLI (Command-Line Interface)
- Input validation and error handling
- Personalized calorie and macronutrient calculations
- Health condition assessment
- Fitness experience evaluation
- Custom workout routine generator
- Python
- Jupyter Notebook / Python Script
- Basic CLI (input/output handling)
- Python programming fundamentals
- Conditional logic and control flow
- Function design and modular programming
- User input validation
- Data processing and calculations
- CLI-based application design
- The user enters personal information (age, gender, height)
- The program evaluates health conditions
- The user provides fitness experience and lifestyle data
- The system calculates:
- Daily calorie needs
- Macronutrient distribution (protein, carbs, fats)
- Based on user goals, the program recommends:
- Diet plan (bulking, cutting, recomposition)
- Workout routine (beginner, intermediate, advanced)
- Open the notebook:
jupyter notebook gym-fitness-app.ipynb- Run all cells.
The final project that I developed and created for this course is entitled "GYM PROGRAM: Start your New Lifestyle”. Basically, the main objective of this programming code is to provide a graphical interface in which users can interact without any kind of problem or confusion. This means that users can have complete freedom to receive and give information, which in turn can be modified by them and displayed by the program in the session.
Moreover, I would like to mention that among so many topics, I finally decided on the "GYM" as the main topic of my code, since personally I am really interested in any type of information about it, and I like to talk a lot about it. That is why I decided to design a strategy or structure for my code, which would be based on solving one of the most controversial and common problems that certain people, both beginners and advanced, have when they start doing physical activity. By this, I mean the general and specific count of macronutrients that a person must consume to achieve a certain goal, including the amount in grams and calories of protein, fat, and carbohydrates. In addition, it should be noted that although it is true that this program is designed to provide a viable and detailed program to users who do not know the subject, it also focuses mainly on providing information that benefits the health of those people who are suitable for performing any type of physical activity.
During the process of creating and executing this code, I was able to learn several things, but the most important was that learning any type of coding language has its advantages and disadvantages. In the case of advantages, thanks to the diverse and very broad programming language that the "Python" program is composed of, it is possible to design, modify, and structure many interfaces in which any person or user has the ability and freedom to interact. In the same way, thanks to the fact that this program provides many different types of functions, operators, and methods, a large number of ideas can be generated to be developed. By this, I mean that anyone who has knowledge of making good use of this programming language can have the ability to select a specific topic, guide it, and modify it for the creation of a code, with their respective purpose. On the other hand, in the case of disadvantages, even though it is true that this program provides the designer with many features and elements to develop any type of code, sometimes certain errors can occur during programming. However, personally, this was not a big obstacle for me, since thanks to what I learned in class and my own research, I was able to improve my critical thinking regarding the search for appropriate and beneficial solutions for programming.
Finally, I would like to mention that there was a stage during the completion of this project, which I liked a lot and I think was very useful for the development of my program, which is the tests of my coding by the users. This process gave me the opportunity to request and examine some tests for my program with different people, in order to identify any confusion or problems that the code could present, so I could be able to modify it on time, and then execute it and present it in the best possible way.