.pc
3 claimants
3 primary
0 secondary
shared primary (3)
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.
869.2K
total files
407.5K
first seen 2021–2025 (46.9%)
2020
median year (half its files since)
Case variants in archive: .pc (862.6K), .PC (6.5K), .Pc (114), .pC (21) — aggregated above.
Attribution status
This extension is attributed to Embedded SQL; pkg-config; pkgconfig as primary by 6 authoritative claims.
Claimants (6)
Languages that list
.pc among their extensions. Strength reflects whether the upstream source treated it as their primary extension.| Language | Source | Strength |
|---|---|---|
| Embedded SQL | linguist | primary |
| Embedded SQL | pygments | primary |
| pkg-config | linguist | primary |
| pkg-config | pygments | primary |
| pkg-config | wikidata | primary |
| pkgconfig | pygments | primary |
Wikidata says… (3)
File formats, image formats, audio codecs and other non-PL
entities that claim
.pc on Wikidata
(property P1195) or in the Wikipedia infobox.
Source: data/derived/external_extension_index.csv.
Click Use as new PL on any row to open the
Add-PL form pre-filled with that entry's name, Wikipedia/Wikidata
URL, and this extension — one submission creates the PL + claim.
| Format | Class (Wikidata P31) | Suggested label | MIME | Notes | Action |
|---|---|---|---|---|---|
| pkg-config file format Q130478829 file format | file format | — | — | — | Use as new PL ↗ |
| Print Artist postcard file format Q67124713 file format | file format | — | — | — | Use as new PL ↗ |
| Professor Calhoon quiz file Q34287064 file format | file format | — | — | — | Use as new PL ↗ |
Disambiguation rules (2)
Linguist heuristics that decide, by content, which language a
.pc file actually is.| Rule | Predicts | Kind | Predicates (truncated) | Measured on SWH |
|---|---|---|---|---|
h/linguist/.pc/0 | Embedded SQL | predicates | [{"kind": "any", "regexes": ["^\\s*EXEC\\s+SQL\\s"]}] | |
h/linguist/.pc/1 | pkg-config | predicates | [{"kind": "any", "regexes": ["^Name:[ \\t]+\\S"]}, {"kind": "any", "regexes": ["^Description:[ \\t]+\\S"]}, {"kind": "any", "regexes": ["^Version:[ \\t]+\\S"]}] |
SWH-mined examples (0)
No archived examples for .pc in our local mirror yet.