{"id":19243640,"url":"https://github.com/musatahawar/gui-calculator","last_synced_at":"2026-04-16T01:32:42.414Z","repository":{"id":205821447,"uuid":"715174956","full_name":"MusaTahawar/GUI-Calculator","owner":"MusaTahawar","description":"This is a simple graphical user interface (GUI) calculator created using Python and the Tkinter library. It allows you to perform basic mathematical operations and additional operations like factorial and exponentiation.","archived":false,"fork":false,"pushed_at":"2023-11-06T16:15:52.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-23T15:12:48.422Z","etag":null,"topics":["c","calcula","gui","python","python-3","python3"],"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/MusaTahawar.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":"2023-11-06T16:10:53.000Z","updated_at":"2023-11-06T16:17:22.000Z","dependencies_parsed_at":"2023-11-10T11:35:12.168Z","dependency_job_id":null,"html_url":"https://github.com/MusaTahawar/GUI-Calculator","commit_stats":null,"previous_names":["musatahawar/gui-calculator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MusaTahawar/GUI-Calculator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MusaTahawar%2FGUI-Calculator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MusaTahawar%2FGUI-Calculator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MusaTahawar%2FGUI-Calculator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MusaTahawar%2FGUI-Calculator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MusaTahawar","download_url":"https://codeload.github.com/MusaTahawar/GUI-Calculator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MusaTahawar%2FGUI-Calculator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275998181,"owners_count":25567385,"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","status":"online","status_checked_at":"2025-09-19T02:00:09.700Z","response_time":108,"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":["c","calcula","gui","python","python-3","python3"],"created_at":"2024-11-09T17:18:58.252Z","updated_at":"2025-09-19T20:34:58.853Z","avatar_url":"https://github.com/MusaTahawar.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Calculator GUI in Python\n\nThis is a simple graphical user interface (GUI) calculator created using Python and the Tkinter library. It allows you to perform basic mathematical operations and additional operations like factorial and exponentiation.\n\n## Features\n\n- Addition (+)\n- Subtraction (-)\n- Multiplication (*)\n- Division (/)\n- Exponentiation (^)\n- Factorial (!)\n- Clear (C)\n- Error handling for invalid expressions\n\n## Requirements\n\n- Python 3.x\n- Tkinter (usually included with Python)\n\n## Usage\n\n1. Clone this repository:\n\n```bash\ngit clone https://github.com/yourusername/simple-calculator.git\n```\n\ncd simple-calculator\n\n- Run the Python script:\nbash\n\npython main.py\nThe calculator GUI will open, allowing you to perform calculations.\n\n## How to Use\n\n- Click the numeric buttons to enter numbers.\n- Click the operation buttons (+, -, *, /, ^, !) to perform calculations.\n- Click the \"=\" button to display the result.\n- Click the \"C\" button to clear the display.\n- Invalid expressions will result in an \"Error\" message.\n- \nExample\n## To calculate 5 factorial:\n\n- Click \"5\"\n- Click \"!\"\n- Click \"=\"\n- The result should be displayed as \"120.\"\n## To calculate 2^3:\n\n- Click \"2\"\n- Click \"^\"\n- Click \"3\"\n- Click \"=\"\n- The result should be displayed as \"8.\"\n## License\nThis project is licensed under the MIT License. See the LICENSE file for details.\n\n## Acknowledgments\nThis project was created as a simple example of building a GUI calculator with Python and Tkinter.\nFeel free to modify and improve this calculator or use it as a reference for your own projects. If you encounter any issues or have suggestions for improvements, please open an issue or submit a pull request.\n\nIn this README, you can provide a brief description of the project, list its features, o\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmusatahawar%2Fgui-calculator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmusatahawar%2Fgui-calculator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmusatahawar%2Fgui-calculator/lists"}