OpenBSD Handbook

OpenBSD 7.9 release · amd64 · Generated 2026-09-09

py3-magic-0.4.27p1v0

Python module for file type identification using libmagic

Back to search · Project homepage

Description

python-magic is a module that uses ctypes to access the libmagic file type identification library. It makes use of the local magic database and supports both textual and MIME-type output.

Package information

Ports path
devel/py-magic
Package architecture
amd64
Maintainer
The OpenBSD ports mailing-list <ports@openbsd.org>
Categories
devel, lang/python
Available flavors
None listed
Only for architectures
aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64, alpha, hppa, sparc64

These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.

Direct dependencies

Runtime

Build

Used by (13 dependency relationships)

Includes library, runtime, build and test relationships. Results load 100 at a time.

Installing and updating packages · Package details as JSON