{"id":25961824,"url":"https://github.com/ibrahim-sisar/python-markt","last_synced_at":"2026-06-08T15:31:08.027Z","repository":{"id":264179702,"uuid":"892608499","full_name":"ibrahim-sisar/python-markt","owner":"ibrahim-sisar","description":"It is a sales management project.","archived":false,"fork":false,"pushed_at":"2024-11-22T12:52:36.000Z","size":40,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-04T19:49:45.685Z","etag":null,"topics":["datetime","opencv","openpyxl","pyttsx3-text-to-speech","pyzbar","tkinter"],"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/ibrahim-sisar.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":"2024-11-22T12:43:12.000Z","updated_at":"2025-02-16T20:21:10.000Z","dependencies_parsed_at":"2024-11-22T16:15:12.382Z","dependency_job_id":null,"html_url":"https://github.com/ibrahim-sisar/python-markt","commit_stats":null,"previous_names":["ibrahim-sisar/python-markt"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ibrahim-sisar/python-markt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibrahim-sisar%2Fpython-markt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibrahim-sisar%2Fpython-markt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibrahim-sisar%2Fpython-markt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibrahim-sisar%2Fpython-markt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ibrahim-sisar","download_url":"https://codeload.github.com/ibrahim-sisar/python-markt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibrahim-sisar%2Fpython-markt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34069455,"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-06-08T02:00:07.615Z","response_time":111,"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":["datetime","opencv","openpyxl","pyttsx3-text-to-speech","pyzbar","tkinter"],"created_at":"2025-03-04T19:49:57.062Z","updated_at":"2026-06-08T15:31:08.006Z","avatar_url":"https://github.com/ibrahim-sisar.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Super Market Invoice Management System\n\nThis project is a Python-based graphical user interface (GUI) application built using the `Tkinter` library, and it is designed to manage product inventories, customer invoices, and barcode scanning for a supermarket. The system allows users to:\n\n- Add and manage products.\n- Scan barcodes to retrieve product information.\n- Generate and save customer invoices.\n- Calculate and display the total amount of the invoice.\n- Search, edit, and delete customer invoices.\n\n## Features\n\n- **Product Management**: \n  - Add products by scanning barcodes or manually entering product details (name, price).\n  - Store product data in an Excel file (`excel/ib.xlsx`).\n  \n- **Barcode Scanning**:\n  - Use a webcam to scan product barcodes with real-time feedback.\n  - Automatically retrieve product information (name, price) based on the barcode scanned.\n\n- **Invoice Generation**:\n  - Generate invoices with customer details (name, address, phone number).\n  - Automatically calculate the total amount based on selected products.\n  - Save invoices to an Excel file (`customers.xlsx`).\n\n- **Invoice Management**:\n  - Search for customer invoices by name.\n  - Edit and delete customer invoices.\n\n- **GUI Interface**:\n  - Simple and user-friendly interface built using Tkinter.\n  - Includes buttons to perform operations like saving, clearing, calculating totals, and deleting invoices.\n\n## Installation\n\nTo run this project, you will need to install the following dependencies:\n\n1. **Python 3.x** (Ensure Python is installed on your system)\n2. Install the required Python libraries:\n    ```bash\n    pip install -r requirements.txt\n    ```\n\n## Usage\n\n### Run the Application\n\n1. Download or clone the repository to your local machine.\n2. Open a terminal or command prompt in the project directory.\n3. Run the application using the following command:\n    ```bash\n    python markt.py\n    ```\n\n### Barcode Scanning\n\n- Click the \"مسح الباركود\" button to activate the barcode scanning feature.\n- Point your camera at the barcode of a product, and the system will automatically fill in the product name and price.\n\n### Managing Products\n\n- Use the \"حفظ المنتج\" button to add a new product by entering its barcode, name, and price.\n- Use the \"إضافة للجدول\" button to add the product to the invoice table.\n\n### Managing Invoices\n\n- Use the \"حفظ الفاتورة\" button to save an invoice once products have been added.\n- Use the \"حساب الإجمالي\" button to calculate the total price of the invoice.\n- Use the \"مسح الحقول\" button to clear the form fields and the invoice table.\n- Use the \"حذف الفاتورة\" button to delete an existing invoice.\n\n## Files and Directories\n\n- **markt.py**: The main application file that runs the system.\n- **customers.xlsx**: Excel file that stores customer information and invoices.\n- **excel/ib.xlsx**: Excel file that stores product information (barcode, name, price).\n- **img/ico/market.ico**: Application icon.\n- **img/png/logo4.png**: Application logo.\n\n## License\n\nThis project is open-source and available under the [MIT License](LICENSE).\n\n## Acknowledgements\n\n- The project uses `opencv-python` for webcam functionality and `pyzbar` for barcode scanning.\n- The project uses `openpyxl` for handling Excel files and `tkinter` for the GUI.\n- Special thanks to the contributors of these libraries for making this project possible.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibrahim-sisar%2Fpython-markt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fibrahim-sisar%2Fpython-markt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibrahim-sisar%2Fpython-markt/lists"}