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 py311-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