{"id":16759609,"url":"https://github.com/coderatul/invoice-generator-python","last_synced_at":"2025-07-01T03:33:45.020Z","repository":{"id":40696399,"uuid":"352238025","full_name":"coderatul/invoice-generator-python","owner":"coderatul","description":"a simple program to print invoice in python ","archived":false,"fork":false,"pushed_at":"2024-02-11T18:44:34.000Z","size":92,"stargazers_count":18,"open_issues_count":2,"forks_count":8,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-10T17:34:42.791Z","etag":null,"topics":["hacktoberfest","python"],"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/coderatul.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":"2021-03-28T04:11:27.000Z","updated_at":"2024-09-29T06:42:00.000Z","dependencies_parsed_at":"2024-02-11T20:12:43.320Z","dependency_job_id":"d54542a1-9e7c-4890-9682-bd4b260f5f9a","html_url":"https://github.com/coderatul/invoice-generator-python","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/coderatul/invoice-generator-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderatul%2Finvoice-generator-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderatul%2Finvoice-generator-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderatul%2Finvoice-generator-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderatul%2Finvoice-generator-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coderatul","download_url":"https://codeload.github.com/coderatul/invoice-generator-python/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderatul%2Finvoice-generator-python/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262888988,"owners_count":23380135,"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":["hacktoberfest","python"],"created_at":"2024-10-13T04:08:34.106Z","updated_at":"2025-07-01T03:33:44.998Z","avatar_url":"https://github.com/coderatul.png","language":"Python","readme":"# Invoice-generator-python\n\n - A simple python program used to print invoices with some features:\n   - automatic calculation\n   - nice output\n   - intuitive procedure\n___\n## Dependencies\n\n - pyfiglet : The ASCII text can be used to display many stylish texts by using the module pyfiglet. ![coderatul pyfiglet git main commit ](https://user-images.githubusercontent.com/72141859/116881225-fcfef480-abf0-11eb-92af-55bdf8825d1b.png)\n\n - PrettyTable : PrettyTable is a Python library for generating simple ASCII tables. It was inspired by the ASCII tables used in the PostgreSQL shell psql. We can control many aspects of a table, such as the width of the column padding, the alignment of text, or the table border, We can sort data. \n\n- DateTime : Datetime module supplies classes to work with date and time.\n\n## Installation\n\n- Clone the repository to your system:\n\n```\ngit clone https://github.com/MySTerY1747/invoice-generator-python.git\n```\n\n- Next, cd into the program's directory:\n\n```\ncd invoice-generator-python/\n```\n\n- Install all the dependencies are met:\n\n```\npip install -r requirements.txt\n```\n\n- Lastly, run the program using python:\n\n```\npython3 '.\\invoice generator.py'\n```\n\n## Usage: \n- To change the menu, go to \"menu.txt\" in the root folder of the project and following the formatting in the example, describe the desired menu.\n- Formatting \"menu.txt\":\n- - make sure you don't leave any empty line in the start or in between\n  - make sure all 3 elements of row are present and are seperated by a comma (,)\n  - make sure that only 3 elemets are present for a row as there are only 3 columns\n  - a ideal row in Menu.txt would look like -\u003e 1, pizza, 169 \n- To change the name of the restaurant, change line 7 of the code in the \"invoice generator.py\" file.\n\n=======\n## Features\n- Menu can be modified by simpling changing Menu.txt\n- Now Quantity is also shown against products added\n- Other small But useful features are commented below\n```\n------------------- Menu -------------------\n+------+----------------------------+-------+\n| S.no |           Items            |  Cost |\n+------+----------------------------+-------+\n|  1   |         Margherita         |   75  |\n|  2   |  Double cheese Margherita  |   130 |\n|  3   |           Pepper           |   175 |\n|  4   |  Cheese \u0026 Barbeque Chicken |   130 |\n|  5   |      Veg Extravaganza      |   210 |\n|  6   |           Meatza           |   245 |\n|  7   |         Veg singles        |   170 |\n|  8   |     Chochlate lava cake    |  160  |\n|  9   |          mogumogu          |   80  |\n|  10  |            coke            |   50  |\n|  11  |           mazza            |   25  |\n+------+----------------------------+-------+\n-------------------------------------------- \n\nName of Customer: atul kushwaha\n\n *_* enter slno. to add items or enter \"q\" to quit adding times *_*\n *_* if you added something by mistake then enter quantity as 0 *_*\n *_* Default Quantity is set to 1 *_*\n\n\nenter the slno. of item you want to order: 2\nenter quantity desired(default = 1, to skip press enter):\n\n\nenter the slno. of item you want to order: 3 \nenter quantity desired(default = 1, to skip press enter): 1\n\n\nenter the slno. of item you want to order: 122\n~ slno.\"122\" not found, please check and enter again ~\n\nenter the slno. of item you want to order: q\n             INVOICE\nName : Atul Kushwaha\nDate : 21/05/23    Time: 02:00:33\nGST (%): 5\nThe Net Amount To Be Paid is: 320.25\nThe total number of item purchase : 2\n------------------------------------- INVOICE -------------------------------------\n+------+---------------------------+----------+-------------------+------------------+\n| slno |            item           | quantity | price of [1 u]nit | price of n units |\n+------+---------------------------+----------+-------------------+------------------+\n|  1   |  Double cheese Margherita |    1     |         130       |       130        |\n|  2   |           Pepper          |    1     |         175       |       175        |\n+------+---------------------------+----------+-------------------+------------------+\n-------------------------------------------------------------------------------------\n      Thanks for shopping with us !!!\n   Visit us again , have a great day😊 !!!\n   \n```\n## Author:\n- [Atul Kushwaha](https://github.com/coderatul)\n\n## Contributors:\n- [kiozet](https://github.com/kiozet)\n- [Bhavesh_71](https://github.com/Bhavesh71)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderatul%2Finvoice-generator-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoderatul%2Finvoice-generator-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderatul%2Finvoice-generator-python/lists"}