Fedora Packages

python3-binaryornot Subpackage of python-binaryornot

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.

Releases Overview

Release Stable Testing
Fedora Rawhide 0.4.4-19.fc41 -
Fedora 41 0.4.4-19.fc41 -
Fedora 40 0.4.4-17.fc40 -
Fedora EPEL 8 0.4.4-1.el8 -
File a new bug report »
Package Info
Related Packages

You can contact the maintainers of this package via email at python-binaryornot dash maintainers at fedoraproject dot org.



Sources on Pagure