Name: | python2-binaryornot |
---|---|
Version: | 0.4.0 |
Release: | 2.el7 |
Architecture: | noarch |
Group: | Unspecified |
Size: | 21555 |
License: | BSD |
RPM: | python2-binaryornot-0.4.0-2.el7.noarch.rpm |
Source RPM: | python-binaryornot-0.4.0-2.el7.src.rpm |
Build Date: | Mon Aug 21 2017 |
Build Host: | x86-ol7-builder-01.us.oracle.com |
Vendor: | Oracle America |
URL: | http://pypi.python.org/pypi/BinaryOrNot |
Summary: | A pure Python package to check if a file is binary or text |
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. |