Giter VIP home page Giter VIP logo

calories_web's Introduction

About

The aim of the project is to inform the user about how many calories they should consume on that specific day. The main part of the project revolves around calculating the BMI value of the user by getting some user data. I used the Calorie class to do this calculation.

BMR = 10 * weight + 6.25 * height - 5 * age + 5 - 10 * temperature formula is used.

The second part of project is on webscraping. I did only used SelectorLib package to extract HTML data from the web page. This specific website that I worked with did not pose any problems while scraping data, however, some sites only allow browsers to access the information. Therefore, I added headers while trying to reach the website. In the Temperature class I cleaned up the returned docstring. Later I only outputted the temperature value on float (used Celcius for calculations).

Ultimately, gathered the local temperature data of the user and their information to calculate how many calories they require for the day.

(back to top)

Technologies

Web Frameworks: Flask - install: $ pip install -U Flask

Libraries & Packages: WTForms, SelectorLib

(back to top)

Contributing

If you would like to add any extra features to the optimisation simulation, feel free to fork and create a pull request. Thank you!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

Contact

Erol Gelbul - Website - [email protected]

Project Link: Calories Web

(back to top)

calories_web's People

Contributors

erolgelbul 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.