{"id":17766530,"url":"https://github.com/pythonnut/sage-config","last_synced_at":"2026-01-12T00:41:26.571Z","repository":{"id":20656393,"uuid":"23938598","full_name":"PythonNut/sage-config","owner":"PythonNut","description":":symbols: My SAGEmath configuration","archived":false,"fork":false,"pushed_at":"2022-02-19T23:57:13.000Z","size":149,"stargazers_count":2,"open_issues_count":3,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-07T08:49:00.351Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Sage","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PythonNut.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-09-11T22:48:09.000Z","updated_at":"2024-08-02T02:19:26.000Z","dependencies_parsed_at":"2022-08-31T07:40:09.586Z","dependency_job_id":null,"html_url":"https://github.com/PythonNut/sage-config","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PythonNut%2Fsage-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PythonNut%2Fsage-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PythonNut%2Fsage-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PythonNut%2Fsage-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PythonNut","download_url":"https://codeload.github.com/PythonNut/sage-config/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246651507,"owners_count":20811991,"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-26T20:31:07.734Z","updated_at":"2026-01-12T00:41:26.533Z","avatar_url":"https://github.com/PythonNut.png","language":"Sage","funding_links":[],"categories":[],"sub_categories":[],"readme":"sage-config\n===========\n\nMy SAGEmath configuration, in which I introduce the object `S` and all of its superpowers.\n\nThis code is here for a single purpose: to help me solve simple technical problem faster. How much DWIM is too much? How much type-instability and ambiguity is too much? Do you like puns? `S` contains many. But rather than talking, let me demonstrate.\n\n```python\n# Split a string into pairs, merge the pairs, cast to int, and discard below 50\nsage: S(+S, int, S\u003e50, S.chunks(\"22637406234619207234\", 2))\n[63, 74, 72]\n# Solve an expression for zero or an equation\nsage: S(S.sv, [x^2 + 3*x, sqrt(x) == 9])\n[[x == -3, x == 0], [x == 81]]\n# Parallel expression substitution\nsage: S(x^2 + y^4, [x^2 == 3, y^2 == 5])\n28\n# Function composition\nsage: S(bin, str, S.upper)(90)\n'0B1011010'\n# Cast an expression into a function\nsage: S[sqrt(x) + x^2](9)\n84\n# Convenient access to numpy, sympy, scipy, mpl, etc.\nsage: S.norm(S.r_[1:10])\n16.881943016134134\n# Syntax-free lambdas\nsage: (S^2 + S/2)(8)\n68\n```\n\nFor the gory details, please consult [the wiki](https://github.com/PythonNut/sage-config/wiki).\n\nInstallation\n============\n```bash\ncd ~/.sage\ngit init\ngit remote add origin git@github.com:PythonNut/sage-config.git\ngit fetch -a\ngit reset origin/master\ngit checkout -t origin/master\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpythonnut%2Fsage-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpythonnut%2Fsage-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpythonnut%2Fsage-config/lists"}