{"id":17215514,"url":"https://github.com/oldpanda/suan","last_synced_at":"2026-02-22T20:33:36.507Z","repository":{"id":64305382,"uuid":"458705811","full_name":"OldPanda/suan","owner":"OldPanda","description":"Mathematical expression calculation tool","archived":false,"fork":false,"pushed_at":"2023-01-05T01:58:09.000Z","size":52,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T13:21:31.135Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://old-panda.com/2022/02/12/write-a-cli-using-golang-cobra/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OldPanda.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}},"created_at":"2022-02-13T04:09:25.000Z","updated_at":"2024-12-04T14:14:39.000Z","dependencies_parsed_at":"2023-01-15T10:30:23.742Z","dependency_job_id":null,"html_url":"https://github.com/OldPanda/suan","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OldPanda%2Fsuan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OldPanda%2Fsuan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OldPanda%2Fsuan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OldPanda%2Fsuan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OldPanda","download_url":"https://codeload.github.com/OldPanda/suan/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248449913,"owners_count":21105584,"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":[],"created_at":"2024-10-15T03:24:41.166Z","updated_at":"2026-02-22T20:33:36.441Z","avatar_url":"https://github.com/OldPanda.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# suan\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/OldPanda/suan.svg)](https://pkg.go.dev/github.com/OldPanda/suan)\n[![Go Report Card](https://goreportcard.com/badge/github.com/OldPanda/suan)](https://goreportcard.com/report/github.com/OldPanda/suan)\n\nSuan( 算 ) is a CLI tool to calculate given mathematical expression.\nCurrently it supports addition, substraction, multiplication, division, and\nexponent operations including any of their combinations with parenthesis.\n\n## Install\n\n```\ngo install github.com/OldPanda/suan\n```\n\n## Usage\n\n```\n» suan -h\nSuan( 算 ) is a CLI tool to calculate given mathematical expression.\nCurrently it supports addtion, substraction, multiplication, division, and\nexponent operations and any of their combinations with parenthesis.\n\nUsage:\n  suan [flags]\n\nFlags:\n  -h, --help      help for suan\n  -v, --version   Version information\n```\n\n### Examples\n\n```\n» suan \"1 + 1\"\n2.000000\n» suan \"(3 + 4) * 5 - 2 * (3 + 9)\"\n11.00000\n» suan \"3 / 4 + 3 * 2 - 8^2 * 2\"\n-121.250000\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foldpanda%2Fsuan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foldpanda%2Fsuan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foldpanda%2Fsuan/lists"}