{"id":19519836,"url":"https://github.com/dahlitzflorian/python-zero-calculator","last_synced_at":"2025-10-13T14:11:13.875Z","repository":{"id":102340682,"uuid":"133839004","full_name":"DahlitzFlorian/python-zero-calculator","owner":"DahlitzFlorian","description":"A simple and basic zero calculator using bisectioning - implemented in Python","archived":false,"fork":false,"pushed_at":"2019-03-23T19:00:24.000Z","size":19,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-26T00:24:20.533Z","etag":null,"topics":["calculator","calculator-python","educational-project","package","python","python-3","python-package","python3"],"latest_commit_sha":null,"homepage":null,"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/DahlitzFlorian.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":"2018-05-17T16:13:13.000Z","updated_at":"2019-03-23T19:00:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"c1fabdc3-1802-4715-b907-14d3813de25d","html_url":"https://github.com/DahlitzFlorian/python-zero-calculator","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/DahlitzFlorian/python-zero-calculator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DahlitzFlorian%2Fpython-zero-calculator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DahlitzFlorian%2Fpython-zero-calculator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DahlitzFlorian%2Fpython-zero-calculator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DahlitzFlorian%2Fpython-zero-calculator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DahlitzFlorian","download_url":"https://codeload.github.com/DahlitzFlorian/python-zero-calculator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DahlitzFlorian%2Fpython-zero-calculator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279015708,"owners_count":26085748,"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-10-13T02:00:06.723Z","response_time":61,"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":["calculator","calculator-python","educational-project","package","python","python-3","python-package","python3"],"created_at":"2024-11-11T00:22:06.526Z","updated_at":"2025-10-13T14:11:13.831Z","avatar_url":"https://github.com/DahlitzFlorian.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zero Calculator #\n[![Build Status](https://travis-ci.org/DahlitzFlorian/python-zero-calculator.svg?branch=master)](https://travis-ci.org/DahlitzFlorian/python-zero-calculator)\n![black](https://img.shields.io/badge/code%20style-black-000000.svg)\n[![Docker Automated Build](https://img.shields.io/badge/docker%20build-automated-blue.svg)](https://cloud.docker.com/u/floriandahlitz/repository/docker/floriandahlitz/python-zero-calculator)\n## Description ##\nThis package includes a basic zero calculator implemented in Python.\nIt's using bisectioning to compute the zero in a given interval. It was\ndeveloped more for educational purposes than for productive usage.\n\nversion 0.3.1\n\n## Features ##\n### Available ###\nBy know you are able to calculate certain things by importing the\npackage. Examples are provided beneath.\n\n```python3\n\u003e\u003e\u003e from calculator.calculator import Calculator\n\u003e\u003e\u003e func = \"2 ** 3 + 9 / 3\"\n\u003e\u003e\u003e c = Calculator(func)\n\u003e\u003e\u003e c.evaluate()\n11\n```\n\n```python3\n\u003e\u003e\u003e from calculator.calculator import Calculator\n\u003e\u003e\u003e func = \"x ** 3 + 8 / x\"\n\u003e\u003e\u003e c = Calculator(func, 2)\n\u003e\u003e\u003e c.evaluate()\n12\n```\n\n### Planned ###\n- Zero Calculation using bisectioning\n\n## Using Docker ##\nIf you want to test the package without messing up your local\ndependencies, use docker instead:\n\n```PowerShell\n$ git clone \u003crepo_url\u003e\n$ cd python-zero-calculator\n$ docker image build -t zero-calculator .\n$ docker container run -it --rm --name zero zero-calculator\n```\n\nAnd from within the REPL import the package:\n\n```python3\n\u003e\u003e\u003e from calculator import calculator\n```\n\n## Contribute ##\nAll contributions are welcomed. Make sure, that your Code is\n[PEP8](https://www.python.org/dev/peps/pep-0008/) compliant. While\ndeveloping this project [flake8](http://flake8.pycqa.org/en/latest/)\nwas used as Python linter. Using [Black](https://github.com/ambv/black)\nsimplifies that.\n\nIf you want to report any issues, make use of the [Issue Tracker](https://github.com/DahlitzFlorian/python-zero-calculator/issues) provided by GitHub.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdahlitzflorian%2Fpython-zero-calculator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdahlitzflorian%2Fpython-zero-calculator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdahlitzflorian%2Fpython-zero-calculator/lists"}