Source Package: python-binaryornot (0.4.4-30.fc43)
A pure Python package to check if a file is binary or text
Ultra-lightweight pure Python package to guess whether a file is binary or text, using a heuristic similar to Perl's pp_fttext and its analysis by @eliben. Has tests for these file types: * Text: .txt, .css, .json, .svg, .js, .lua, .pl, .rst * Binary: .png, .gif, .jpg, .tiff, .bmp, .DS_Store, .eot, .otf, .ttf, .woff, .rgb Has tests for numerous encodings.
Package information
- Homepage
- [http://pypi.python.org/pypi/BinaryOrNot]
- License
- BSD-3-Clause
- Mantenedor del paquete downstream
- mikelo2Observed Nov 24, 2026 [source]
The following binary packages are built from this source package:
- python3-binaryornot
A pure Python package to check if a file is binary or text
- python-binaryornot-docs
Documentation for python-binaryornot
