{"id":20095087,"url":"https://github.com/patilyashh/snacks-billing-system","last_synced_at":"2025-06-23T16:10:16.720Z","repository":{"id":253673720,"uuid":"844188032","full_name":"PATILYASHH/Snacks-Billing-System","owner":"PATILYASHH","description":"Snack Center Billing System is a desktop app using Python for managing snack orders. It allows users to calculate bills, save transactions to a CSV file, view past transactions, and print invoices, all through an easy-to-use GUI.","archived":false,"fork":false,"pushed_at":"2024-08-18T16:56:46.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-02T16:19:28.727Z","etag":null,"topics":["billing-s","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PATILYASHH.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-08-18T16:40:02.000Z","updated_at":"2024-08-18T16:56:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"be70e6e0-6beb-416c-a508-8642ced561f7","html_url":"https://github.com/PATILYASHH/Snacks-Billing-System","commit_stats":null,"previous_names":["patilyashh/snacks-billing-system"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PATILYASHH/Snacks-Billing-System","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PATILYASHH%2FSnacks-Billing-System","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PATILYASHH%2FSnacks-Billing-System/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PATILYASHH%2FSnacks-Billing-System/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PATILYASHH%2FSnacks-Billing-System/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PATILYASHH","download_url":"https://codeload.github.com/PATILYASHH/Snacks-Billing-System/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PATILYASHH%2FSnacks-Billing-System/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261510008,"owners_count":23169686,"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":["billing-s","python"],"created_at":"2024-11-13T16:54:02.920Z","updated_at":"2025-06-23T16:10:16.666Z","avatar_url":"https://github.com/PATILYASHH.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Snack Center Billing System\n\n## Overview\n\nThe Snack Center Billing System is a desktop application built using Python and Tkinter. It allows users to create bills for various snack items, save transactions to a CSV file, view past transactions, and print invoices. The system features a simple and intuitive graphical user interface (GUI) for ease of use.\n\n## Features\n\n- **Calculate Bill:** Allows users to enter the quantity of various snack items and calculates the total amount.\n- **Save Transaction:** Saves the details of each transaction to a CSV file for record-keeping.\n- **View Transactions:** Displays a list of all previous transactions.\n- **Print Invoice:** Provides an option to print the generated invoice.\n- **Reset Form:** Clears the quantities entered by the user for a fresh start.\n\n## Installation\n\nTo run this application, you need Python installed on your system. You can download Python from the [official website](https://www.python.org/downloads/).\n\n1. **Clone the Repository:**\n\n   ```bash\n   git clone https://github.com/PATILYASHH/Snacks-Billing-System\n   ```\n\n2. **Navigate to the Project Directory:**\n\n   ```bash\n   cd Snacks-Billing-System\n   ```\n\n3. **Install Dependencies:**\n\n   This project uses standard Python libraries, so no additional dependencies are required.\n\n## Usage\n\n1. **Run the Application:**\n\n \n2. **Interacting with the Application:**\n\n   - Enter the quantity of each snack item in the provided fields.\n   - Click on \"Calculate Bill\" to generate the bill.\n   - Click on \"View Transactions\" to see a list of all recorded transactions.\n   - Click on \"Reset\" to clear the entered quantities.\n   - Click on \"Print Bill\" to print the generated invoice.\n\n## Code Structure\n\n- **`calculate_bill()`**: Calculates the total amount based on the quantities and prices of the items.\n- **`save_transaction(items, total)`**: Saves the details of the transaction to a CSV file.\n- **`reset()`**: Resets the quantity fields to zero.\n- **`view_transactions()`**: Displays all recorded transactions.\n- **`display_invoice(invoice)`**: Displays the invoice in a new window.\n- **`print_bill()`**: Prints the invoice text.\n- **`print_invoice_text(text)`**: Simulates printing by outputting text to the console.\n\n## Contributing\n\nIf you want to contribute to this project, feel free to fork the repository and submit a pull request. Your contributions and suggestions are welcome!\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatilyashh%2Fsnacks-billing-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpatilyashh%2Fsnacks-billing-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatilyashh%2Fsnacks-billing-system/lists"}