FreeBSD.software
Home/devel/py311-filemagic

py311-filemagic

1.6_1devel

Python API for libmagic, the library behind the Unix file command

filemagic provides a Python API for libmagic, the library behind Unix file command. It enables the Python developer to easilty test for file types from the extensive identification library that is shipped with libmagic. Features: - Simple, Python API. - Identifies named files or strings. - Return a textual description, mime type or mime encoding. - Provide custom magic files to customize file detection. - Support for both Python2 and Python3. - Support for both CPython and PyPy.

$pkg install py311-filemagic
filemagic.readthedocs.io/en/latest
Origin
devel/py-filemagic
Size
65.3KiB
License
APACHE20
Maintainer
sunpoet@FreeBSD.org
Dependencies
1 packages
Required by
1 packages

Dependencies (1)

Required By (1)