OpenBSD Handbook

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

py3-puremagic-2.1.1

pure Python implementation of magic file detection

Back to search · Project homepage

Description

Puremagic is a pure python module that will identify a file based off it's magic numbers. It is designed to be minimalistic and inherently cross platform compatible. It is also designed to be a stand in for python-magic. It does NOT try to match files off non-magic string. In other words it will not search for a string within a certain window of bytes like others might.

Package information

Ports path
devel/py-puremagic
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

Test

Used by (4 dependency relationships)

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

Installing and updating packages · Package details as JSON