BSD Ports

devel/py-python-magic 0.4.27_1 DragonFly

File type identification using libmagic

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
devel, python
Package size
21.4 KiB, 101.3 KiB installed

Description

python-magic is a Python interface to the libmagic file type identification library. libmagic identifies file types by checking their headers according to a predefined list of file types. This functionality is exposed to the command line by the Unix command file.

In the other systems

SystemPortVersion
DragonFlydevel/py-python-magic0.4.27_1
FreeBSDdevel/py-python-magic0.4.27_1
MidnightBSDdevel/py-python-magic0.4.27_1

Install

Binary package:

pkg install py311-python-magic

From DPorts:

cd /usr/dports/devel/py-python-magic && make install clean

Dependencies

Run dependencies 1