Sage
1 program
Added 2026-03-10T10:00:00Z
Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled
Evidence
Report issue
View issues
Aliases: SageMath, SAGE
Provenance: commit 38aa1b2211 · authored 2026-03-10T18:01:44+01:00 · agent claude-code · model claude-sonnet-4-6
Sources mentioning this language
8 sources · pl_id:
pl/sageWikipedia infobox ↗
Pulled from the
wikimedia/structured-wikipedia
snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and
pl_fact.csv for the long-table provenance.
| Paradigms | multi-paradigm: object-oriented · procedural (imperative) · functional · structured · reflective |
|---|---|
| Typing | duck, dynamic, strong; optional type annotations |
| Designed by | Python Software Foundation · Guido van Rossum |
| First appeared | 1991 |
| Influenced by | ABC · Ada · ALGOL 68 · APL · C · C++ · CLU · Dylan · Haskell · Icon · Lisp · Modula-3 · Perl · Standard ML |
| License | Python Software Foundation License |
| Homepage | https://www.python.org/ |
Extensions claimed by this language
15 claims. Each row is one upstream assertion with its strength.
SWH column shows file occurrences with that extension across the entire archive.| Extension | Source | Strength | SWH |
|---|---|---|---|
.py | pygments | primary | 455.0M files |
.sage | linguist | primary | 53.5K files |
.buck | pygments | secondary | 197 files |
.build | pygments | secondary | 1.1M files |
.bzl | pygments | secondary | 376.5K files |
.jy | pygments | secondary | 5.0K files |
.pyi | pygments | secondary | 844.5K files |
.pyw | pygments | secondary | 114.6K files |
.sage | pygments | secondary | 53.5K files |
.sagews | linguist | secondary | 3.4K files |
.sc | pygments | secondary | 588.1K files |
.sconscript | pygments | secondary | 2.0K files |
.sconstruct | pygments | secondary | 255 files |
.tac | pygments | secondary | 63.6K files |
.workspace | pygments | secondary | 68.3K files |
Related languages
LLM-contributed programs
Prime Factorization and Symbolic Computation
Provenance: commit 38aa1b2211 · authored 2026-03-10T18:01:44+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
# Prime factorization and symbolic computation in SageMath
n = 123456789
print('Factorization of', n, ':', factor(n))
# List primes up to 50
print('Primes up to 50:', list(primes(50)))
# Symbolic computation: find roots of a polynomial
x = var('x')
f = x^3 - 3*x + 2
print('Roots of x^3 - 3x + 2:', f.roots())
# Numerical integration
result = numerical_integral(sin(x), 0, pi)
print('Integral of sin(x) from 0 to pi:', result[0])
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)