{"id":15548504,"url":"https://github.com/prangonghose/calorie-counter","last_synced_at":"2025-07-20T06:33:17.644Z","repository":{"id":199578513,"uuid":"702709283","full_name":"PrangonGhose/Calorie-Counter","owner":"PrangonGhose","description":"The aim of this project is to create a Calorie Counter as the final project for the masters course of Python.","archived":false,"fork":false,"pushed_at":"2023-11-16T22:37:39.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T01:28:18.735Z","etag":null,"topics":["error-handling","oops-in-python","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PrangonGhose.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-09T21:09:32.000Z","updated_at":"2023-10-25T21:14:42.000Z","dependencies_parsed_at":"2023-10-21T22:25:11.002Z","dependency_job_id":"1c8171e2-18e8-4ec9-8c07-6762a99cc9a9","html_url":"https://github.com/PrangonGhose/Calorie-Counter","commit_stats":null,"previous_names":["prangonghose/calorie-counter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PrangonGhose/Calorie-Counter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrangonGhose%2FCalorie-Counter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrangonGhose%2FCalorie-Counter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrangonGhose%2FCalorie-Counter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrangonGhose%2FCalorie-Counter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PrangonGhose","download_url":"https://codeload.github.com/PrangonGhose/Calorie-Counter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrangonGhose%2FCalorie-Counter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266076350,"owners_count":23872741,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["error-handling","oops-in-python","python3"],"created_at":"2024-10-02T13:21:52.010Z","updated_at":"2025-07-20T06:33:17.622Z","avatar_url":"https://github.com/PrangonGhose.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca name=\"readme-top\"\u003e\u003c/a\u003e\n\n\u003cdiv align=\"center\"\u003e\n\u003ch1\u003e\u003cb\u003eCalorie Counter\u003c/b\u003e\u003c/h1\u003e\n\n\u003c/div\u003e\n\n\n\u003c!-- TABLE OF CONTENTS --\u003e\n\n# 📗 Table of Contents\n\n- [📖 About the Project](#about-project)\n  - [🛠 Built With](#built-with)\n    - [Key Features](#key-features)\n- [💻 Getting Started](#getting-started)\n  - [Setup](#setup)\n  - [Prerequisites](#prerequisites)\n  - [Install](#install)\n- [👥 Authors](#authors)\n- [🤝 Contributing](#contributing)\n- [⭐️ Show your support](#support)\n- [🙏 Acknowledgements](#acknowledgements)\n\n\u003c!-- PROJECT DESCRIPTION --\u003e\n\n# 📖 Project Name\n\n## Calorie Counter\n\n### About this project \u003ca name=\"about-project\"\u003e\u003c/a\u003e\nThe aim of this project is to create a Calorie Counter as the final project for the masters course of Python.\n\n## 🛠 Built With \u003ca name=\"built-with\"\u003e\u003c/a\u003e\n\n- `Python`\n\n\u003c!-- Features --\u003e\n\n### Key Features \u003ca name=\"key-features\"\u003e\u003c/a\u003e\n- The program can display a list of items as menu by reading data from a JSON file. As an added advantage, only updating the JSON file can update the menu and entire order taking process in the next run.\n- The user can choose what to order by simply typing the names of the food items available in the order. Invalid or spelling mistakes in an order will be displayed to the user for correction.\n- A valid order will create an `Order` object and will go through a process of calorie and price counting after which total calorie and total price will be displayed to the user.\n- Order will be refused if the total calorie is more than 2000.\n- All orders are stored in a `JSON` file and can be visualized using `matplotlib` by running `visualize.py` file. The `all_orders.json` file is initially populated for visualization purpose.\n- Running only the `main.py` drives the whole program to return the desired output.\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- GETTING STARTED --\u003e\n\n## 💻 Getting Started\nTo clone the repository in local environment try following steps.\n\n### Prerequisites\n\n- [x] A web browser like Google Chrome.\n- [x] A code editor like Visual Studio Code with `Git` and `Python3`.\n- [x] `Matplotlib`\n\nYou can check if Git is installed by running the following command in the terminal.\n\n```\n$ git --version\n```\n\nLikewise for Node.js and npm for package installation.\n\n```\n$ python --version\n```\n\n### Setup\n\nClone the repository using [this link](https://github.com/PrangonGhose/Calorie-Counter.git).\n\n### Install\n\nIn the terminal, go to your file directory and run this command.\n\n```\n$ git clone https://github.com/PrangonGhose/Calorie-Counter.git\n```\n### Get into development\n\nIn the terminal, run these commands to get into development.\n```\n$ cd Calorie-Counter\n\n$ python main.py\n```\n\n\u003c!-- AUTHORS --\u003e\n\n## 👥 Authors \u003ca name=\"authors\"\u003e\u003c/a\u003e\n\n👤 **Prangon Ghose**\n\n- GitHub: [@PrangonGhose](https://github.com/PrangonGhose)\n- LinkedIn: [Prangon Ghose](https://www.linkedin.com/in/prangon-ghose/)\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- CONTRIBUTING --\u003e\n\n## 🤝 Contributing \u003ca name=\"contributing\"\u003e\u003c/a\u003e\n\nContributions, issues, and feature requests are welcome! Add suggestions by opening new issues.\n\nFeel free to check the [issues page](https://github.com/PrangonGhose/Calorie-Counter/issues).\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- SUPPORT --\u003e\n\n## ⭐️ Show your support \u003ca name=\"support\"\u003e\u003c/a\u003e\n\nGive a ⭐️ if you like this project!\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- ACKNOWLEDGEMENTS --\u003e\n\n## 🙏 Acknowledgments \u003ca name=\"acknowledgements\"\u003e\u003c/a\u003e\n\nAuthors would like to thank:\n- Instructor [Sam Onaisi](https://www.linkedin.com/in/sam-onaisi-1a8585a2/)\n- [Learning Planet Institute](https://www.learningplanetinstitute.org/en/)\n- [Université Paris Cité](https://u-paris.fr/en/)\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprangonghose%2Fcalorie-counter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprangonghose%2Fcalorie-counter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprangonghose%2Fcalorie-counter/lists"}