{"id":31692601,"url":"https://github.com/kernc/pycalc-ng","last_synced_at":"2025-10-08T14:54:27.808Z","repository":{"id":318383824,"uuid":"1071071293","full_name":"kernc/pycalc-ng","owner":"kernc","description":"Infinite-precision desktop calculator app in ~50 lines of Python","archived":false,"fork":false,"pushed_at":"2025-10-06T20:49:39.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-06T22:28:28.129Z","etag":null,"topics":["arbitrary-precision","arbitrary-precision-arithmetic","arbitrary-precision-integer","calculator","calculator-app","calculator-application","calculator-python","desktop-calculator-app","infinite-precision","infinite-precision-arithmetics","infinite-precision-calculator","xterm"],"latest_commit_sha":null,"homepage":"https://github.com/kernc/pycalc-ng","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kernc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-06T20:32:14.000Z","updated_at":"2025-10-06T20:49:37.000Z","dependencies_parsed_at":"2025-10-06T22:28:32.381Z","dependency_job_id":"2802134f-e596-400c-84f2-f5792bfb401b","html_url":"https://github.com/kernc/pycalc-ng","commit_stats":null,"previous_names":["kernc/pycalc-ng"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/kernc/pycalc-ng","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kernc%2Fpycalc-ng","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kernc%2Fpycalc-ng/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kernc%2Fpycalc-ng/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kernc%2Fpycalc-ng/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kernc","download_url":"https://codeload.github.com/kernc/pycalc-ng/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kernc%2Fpycalc-ng/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278963840,"owners_count":26076543,"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-08T02:00:06.501Z","response_time":56,"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":["arbitrary-precision","arbitrary-precision-arithmetic","arbitrary-precision-integer","calculator","calculator-app","calculator-application","calculator-python","desktop-calculator-app","infinite-precision","infinite-precision-arithmetics","infinite-precision-calculator","xterm"],"created_at":"2025-10-08T14:54:16.489Z","updated_at":"2025-10-08T14:54:27.802Z","avatar_url":"https://github.com/kernc.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"PyCalc-NG\n=========\n\n**Arbitrary-precision arithmetic desktop calculator app in ~50 lines of Python.**\nNo other dependencies—all the features. 🙌\n\n[![Build status](https://img.shields.io/github/actions/workflow/status/kernc/pycalc-ng/ci.yml?branch=master\u0026style=for-the-badge)](https://github.com/kernc/pycalc-ng/actions)\n[![Language: shell / Bash](https://img.shields.io/badge/lang-Shell-peachpuff?style=for-the-badge)](https://github.com/kernc/pycalc-ng)\n[![Language: Python](https://img.shields.io/badge/lang-Python-blue?style=for-the-badge)](https://github.com/kernc/pycalc-ng)\n[![Source lines of code](https://img.shields.io/endpoint?url=https%3A%2F%2Fghloc.vercel.app%2Fapi%2Fkernc%2Fpycalc-ng%2Fbadge?filter=pycalc%26format=human\u0026style=for-the-badge\u0026label=SLOC\u0026color=skyblue)](https://ghloc.vercel.app/kernc/pycalc-ng)\n[![Script size](https://img.shields.io/github/size/kernc/pycalc-ng/pycalc?style=for-the-badge\u0026color=skyblue)](https://github.com/kernc/pycalc-ng)\n[![Issues](https://img.shields.io/github/issues/kernc/pycalc-ng?style=for-the-badge)](https://github.com/kernc/pycalc-ng/issues)\n\nMade as a dead-simple wrapper around Python that preimports\nstuff from its **_math_ and _statistics_ modules** (including _numpy_, if available)\nbefore dropping into the familiar REPL.\n\nThis replaces the functionality of several modern command-driven scientific calculators,\nas available e.g. in Debian,\nat less than half the source code lines spent! YMMV\n\n\nInstallation\n------------\nDownload the script and put it somewhere on `$PATH`:\n```sh\ncurl -vL 'https://bit.ly/pycalc-ng' | sudo tee /usr/local/bin/pycalc\nsudo chmod +x /usr/local/bin/pycalc  # Mark it executable\n```\n\nMake sure Python 3 is available:\n```sh\nsudo apt install python3\n```\n\nA terminal emulator (`xterm` from _x11-utils_ (recommended), `gnome-terminal` or `konsole`)\nserves as a simple GUI:\n```sh\nsudo apt install x11-utils\n```\nIf you use a tiling window manager,\nlike _i3_, _awesome_, _xmonad_ or _dwm_,\nadditional utilities `xprop` and `xdotool` are required\nto make the app window dialog-like (floating):\n```sh\nsudo apt install x11-utils xdotool\n```\n\nIf you prefer a more full-featured Python REPL, such as _ptpython_ or _ipython3_\nwith syntax highlighting and \u003ckbd\u003eTab\u003c/kbd\u003e-based autocompletion,\nthose are automatically used if found!\n```sh\nsudo apt install ptpython  # or ipython3\n```\n\nUsage\n-----\nSimple invocation should spawn a new app window:\n```sh\n$ pycalc\n```\n... in which you can type your fancy equations:\n```python-repl\n\u003e\u003e\u003e 1+1\n2\n```\nSupports variable assignment just like Python does. Etc. 😋\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkernc%2Fpycalc-ng","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkernc%2Fpycalc-ng","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkernc%2Fpycalc-ng/lists"}