{"id":26644907,"url":"https://github.com/darky-github/calculator-cli","last_synced_at":"2025-03-24T21:20:52.283Z","repository":{"id":284179794,"uuid":"954087266","full_name":"Darky-Github/Calculator-CLI","owner":"Darky-Github","description":"A CLI calculator program with basic and scientific modes.","archived":false,"fork":false,"pushed_at":"2025-03-24T15:03:22.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T15:45:11.938Z","etag":null,"topics":["calculator","calculator-application","calculator-python","calculators","cli","cli-app","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Darky-Github.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":"2025-03-24T14:43:40.000Z","updated_at":"2025-03-24T15:06:06.000Z","dependencies_parsed_at":"2025-03-24T15:55:17.867Z","dependency_job_id":null,"html_url":"https://github.com/Darky-Github/Calculator-CLI","commit_stats":null,"previous_names":["darky-github/calculator-cli"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Darky-Github%2FCalculator-CLI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Darky-Github%2FCalculator-CLI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Darky-Github%2FCalculator-CLI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Darky-Github%2FCalculator-CLI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Darky-Github","download_url":"https://codeload.github.com/Darky-Github/Calculator-CLI/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245352277,"owners_count":20601120,"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":["calculator","calculator-application","calculator-python","calculators","cli","cli-app","python","python3"],"created_at":"2025-03-24T21:20:51.244Z","updated_at":"2025-03-24T21:20:52.268Z","avatar_url":"https://github.com/Darky-Github.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CLI Calculator\n\nA command-line calculator built with Python that supports **basic arithmetic operations** and **scientific functions**.\n\n## Features\n- Basic Operations: `+`, `-`, `*`, `/`, `**` (power), `%` (modulo)\n- Scientific Functions: \n  - `sin`, `cos`, `tan` (Trigonometry, input in radians)\n  - `log` (Base 10 logarithm)\n  - `ln` (Natural logarithm)\n  - `sqrt` (Square root)\n  - `factorial` (Factorial of an integer)\n  - `abs` (Absolute value)\n  - `exp` (Exponential function)\n  - `deg` (Convert radians to degrees)\n  - `rad` (Convert degrees to radians)\n- Infinite Input Handling: Process complex expressions like `5 + 4 * 2 - sin(3.14) / 2 + log(100)`.\n- Error Handling: Catches and displays errors effectively.\n\n## Installation\n1. Clone the repository:\n```bash\ngit clone https://github.com/your-username/cli-calculator.git\n```\n2. Change into the program directory\n```bash\ncd cli-calculator\n```\n3. (OPTIONAL) \nCreate a virtual environment for Linux users.\n```\npython3 -m venv venv\nsource venv/bin/activate\n```\nOn Windows, use \n```\npython3 -m venv venv\n.\\venv\\Scripts\\activate\n```\n\n4. Run the program\n```\npython3 main.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarky-github%2Fcalculator-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarky-github%2Fcalculator-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarky-github%2Fcalculator-cli/lists"}