py-typecodeComprehensive filetype and mimetype detection using libmagic and Pygments
30.1.0develΣ=0 30.1.0Version of this port present on the latest quarterly branch.upstream: 30.2.0A newer version was found upstream by portscout, first on 2026-03-24.
TypeCode provides comprehensive filetype and mimetype detection using multiple
detectors including libmagic (included as a dependency for Linux, Windows and
macOS) and Pygments. It started as library in scancode-toolkit.
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py312-typecode listed in the above command, you can pick from the names under the Packages section.
devel/py-typecode: New port
Comprehensive filetype and mimetype detection using libmagic and
Pygments.
WWW: https://github.com/nexB/plugincode
PR: 287495
Sponsored by: The FreeBSD Foundation