Skip to main content

This project represents simple web app to calculate calories based on given food type.

Project description

Code style: black Checked with mypy

Build Status Coverage Status Forks Stars Issues GitHub watchers GitHub contributors License

PyPI version PyPI pyversions

Calorie counter

This project represents simple web app to calculate calories based on given food type.

Please check get familiar with application itself.


  • front-end
    • html5
    • css3
    • javascript (vanilla)
  • back-end
    • python 3.6 | 3.7 | 3.8
    • flask
  • code analysis



Please run following script to obtain latest package from PYPI:

➜ pip install calorie-counter

Then please execute instructions below to launch game from your environment:

from counter import Bind, easyrun

easyrun(bind=Bind(""), debug=True)
Running on (CTRL + C to quit)

Then please open localhost:5003/ endpoint.

Source code

To be able to run source code please execute command below:

➜ python -m counter --bind --debug
Running on (CTRL + C to quit)

Also you can use flask built-in runner based on .flaskenv config file:

➜ flask run
Serving Flask app ""

For both cases, then please open localhost:5003/ endpoint.

Development notes


Project has Travis CI integration using .travis.yml file thus code analysis (black, mypy) and unittests (pytest) will be run automatically after every made change to the repository.

To be able to run code analysis, please execute command below:

➜ ./

Release notes

  • 0.1.3
    • Use click CLI tool
  • 0.1.2
    • Add metainfo into home page
  • 0.1.0
    • Introduce PYPI package


Author – Volodymyr Yahello

Distributed under the MIT license. See LICENSE for more information.

You can reach out me at:


  1. clone the repository
  2. configure Git for the first time after cloning with your name and email
  3. pip install -r requirements.txt to install all project dependencies
  4. pip install -r requirements-dev.txt to install all dev project dependencies

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for calorie-counter, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size calorie_counter-0.1.3-py3-none-any.whl (159.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size calorie-counter-0.1.3.tar.gz (153.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page