.cairo

2 claimants 2 primary 0 secondary shared primary (2)

SWH popularity

Distinct files in the full Software Heritage archive (2026-06-04 export), dated by first appearance, following Desmazières, Di Cosmo, Lorentz (MSR 2025). Case-aggregated. citation.

253.0K
total files
243.2K
first seen 2021–2025 (96.1%)
2023
median year (half its files since)

Case variants in archive: .cairo (252.9K), .CAIRO (35), .Cairo (15) — aggregated above.

Attribution status

This extension is attributed to Cairo; Cairo Zero as primary by 2 authoritative claims.

Authoritative sources: ✓ Linguist ✗ Pygments · no claim ✗ Wikidata · no claim ✗ Wikipedia · no claim

Disagree or have a correction? Open a labelling issue.

Claimants (2)

Languages that list .cairo among their extensions. Strength reflects whether the upstream source treated it as their primary extension.
LanguageSourceStrength
Cairolinguistprimary
Cairo Zerolinguistprimary

Disambiguation rules (2)

Linguist heuristics that decide, by content, which language a .cairo file actually is.
RulePredictsKindPredicates (truncated)Measured on SWH
h/linguist/.cairo/0Cairo Zeropredicates[{"kind": "any", "regexes": ["(^(\\s*)%lang(\\s+)([A-Za-z0-9_]+))|(^(\\s*)%builtins(\\s+)([A-Za-z0-9_]+\\s*)*$)|(^(\\s*)from(\\s+)starkware\\.(cairo|starknet)\\.([A-Za-z0-9_.\\s]+?)import)|(,\\s*ap\\+
h/linguist/.cairo/1Cairodefault[]

SWH-mined examples (0)

No archived examples for .cairo in our local mirror yet.

Need an archived example for this extension?
No verbatim file with extension .cairo in our local SWH mirror yet. Submit a sample-mining request and a maintainer will run swh_extension_mining.py against the live archive for this extension; samples land here once the run completes.
(or open the pre-filled issue directly)