{"id":50441573,"url":"https://github.com/ymor-calayag/coffee_machine","last_synced_at":"2026-05-31T19:33:14.162Z","repository":{"id":330561743,"uuid":"1122040683","full_name":"ymor-calayag/coffee_machine","owner":"ymor-calayag","description":"A command-line coffee machine simulation that allows users to order different types of coffee, processes payments, manages ingredient resources, and tracks total earnings.","archived":false,"fork":false,"pushed_at":"2025-12-26T10:18:55.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-27T22:11:20.377Z","etag":null,"topics":["coffee-machine","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/ymor-calayag.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-24T02:20:09.000Z","updated_at":"2025-12-26T10:19:15.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/ymor-calayag/coffee_machine","commit_stats":null,"previous_names":["ymor-calayag/coffee_machine"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/ymor-calayag/coffee_machine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ymor-calayag%2Fcoffee_machine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ymor-calayag%2Fcoffee_machine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ymor-calayag%2Fcoffee_machine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ymor-calayag%2Fcoffee_machine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ymor-calayag","download_url":"https://codeload.github.com/ymor-calayag/coffee_machine/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ymor-calayag%2Fcoffee_machine/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33746507,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-31T02:00:06.040Z","response_time":95,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["coffee-machine","python","python3"],"created_at":"2026-05-31T19:33:13.474Z","updated_at":"2026-05-31T19:33:14.156Z","avatar_url":"https://github.com/ymor-calayag.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Coffee Machine\n\nThis project simulates how a basic coffee vending machine works. Users can order drinks from a menu, insert money, and receive their coffee if there are enough resources available. The machine keeps track of remaining ingredients and total earnings throughout the session.\n\n**Technologies Used**\n\n+ ```Python```\n+ ```sys``` module for program control\n+ External data module for menu and resources\n+ Dictionaries for structured data handling\n\n**Features**\n\n+ Menu-based coffee ordering system\n+ Resource checking before making a drink\n+ Payment processing with change calculation\n+ Ingredient deduction after each successful order\n+ Report feature to display remaining resources and earnings\n+ Option to shut down the machine\n\n**What Users Can Do**\n\n+ Order espresso, latte, or cappuccino\n+ View a report of remaining ingredients and earnings\n+ Insert money and receive change when applicable\n+ Get refunded if resources or payment are insufficient\n+ Turn off the machine using a command\n\n**The Process / How It’s Built**\n\n+ The program displays a menu and waits for user input.\n+ Users can order a drink, request a report, or turn off the machine.\n+ Before processing an order, the machine checks if enough resources are available.\n+ If payment is sufficient and resources are available, the drink is made and resources are deducted.\n+ Earnings are tracked throughout the program’s runtime.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fymor-calayag%2Fcoffee_machine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fymor-calayag%2Fcoffee_machine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fymor-calayag%2Fcoffee_machine/lists"}