Identify `license-file` by license text
Opened this issue · 3 comments
CyberTailor commented
Use https://github.com/google/licenseclassifier to identify license-files
thesamesam commented
Is there no Python library for this?
mgorny commented
Could you throw an example package with license-file
s and their respective Gentoo licenses?
CyberTailor commented
There's a Rust library/tool for identifying license texts:
https://github.com/jpeddicord/askalono
And third-party Python bindings:
https://pypi.org/project/pyaskalono/
However, the tool itself supports JSON output so it can be used directly.