Wikidata:Property proposal/PyPI trove classifier

From Wikidata
Jump to navigation Jump to search

PyPI trove classifier

[edit]

Originally proposed at Wikidata:Property proposal/Authority control

Descriptionstandardized classification system for software, used and maintained by the Python Package Index
RepresentsPyPI trove classifier (Q113568933)
Data typeString
Domainitem
Allowed valuesRegex: ([\w\s]+)(::([\w\s]+)::([\w\s]+))? (a maximum of 3 strings (with or without whitespace), separated by colons.)
Example 1MIT License (Q334661) → License :: OSI Approved :: MIT License
Example 2Flask (Q289281) → Framework :: Flask
Example 3macOS (Q14116) → Environment :: MacOS X and Operating System :: MacOS
Example 4English (Q1860) → Natural Language :: English
Example 5Rust (Q575650) → Programming Language :: Rust
Example 6File Transfer Protocol (Q42283) Topic :: Internet :: File Transfer Protocol (FTP)
Sourcehttps://pypi.org/classifiers/
Planned useI have data which relates licenses' Trove Classifiers to Wikidata items, I plan to add those to Wikidata and use them for determining copyright licenses from PyPI projects.
Number of IDs in source805, but more can be added
Expected completenesseventually complete (Q21873974)
See alsoPyPI project (P5568)
Wikidata projectNone

Motivation

[edit]

I proposed this so I can gain the ability to query for a specific trove classifier via SPARQL. Tomodachi94 (talk) 18:23, 21 August 2022 (UTC)[reply]

Discussion

[edit]
I have been working on creating 'pairs' for trove classifiers and their respective topics on Wikidata in OpenRefine. I hope to get a flood account and upload those soon. Tomodachi94 (talk) 18:10, 24 August 2022 (UTC)[reply]