Sophie

Sophie

distrib > Mageia > 9 > x86_64 > media > core-release > by-pkgid > f9c14bc9e9bf99c756c856c3a880b7e2

python3-binaryornot-0.4.4-7.mga9.noarch.rpm

Description:

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.

Sources packages:

Other version of this rpm: