BSD Ports

devel/py-binaryornot 0.6.0 OpenBSD

check if a file is binary or text

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
devel, lang/python

Description

Ultra-lightweight pure Python package to guess whether a file is binary or text, using a heuristic similar to Perl's pp_fttext.

In the other systems

SystemPortVersion
OpenBSDdevel/py-binaryornot0.6.0
FreeBSDdevel/py-binaryornot0.6.0
NetBSDdevel/py-binaryornot0.6.0
DragonFlydevel/py-binaryornot0.4.4_1
MidnightBSDdevel/py-binaryornot0.6.0_1
HardenedBSDdevel/py-binaryornot0.6.0
GhostBSDdevel/py-binaryornot0.6.0

Install

Binary package:

pkg_add py3-binaryornot

From the ports tree:

cd /usr/ports/devel/py-binaryornot && make install

Dependencies

Build dependencies 4
Run dependencies 1