- Name: python3-binaryornot
- Version: 0.4.4
- Release: 7.mga9
- Epoch:
- Group: Development/Python
- License: BSD
- Url: https://pypi.org/project/BinaryOrNot
- Summary: A pure Python 3 package to check if a file is binary or text
- Architecture: noarch
- Size: 26502
- Distribution: Mageia
- Vendor: Mageia.Org
- Packager: umeabot <umeabot>
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.
- OptFlags: -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables
- Cookie: localhost 1648574418
- Buildhost: localhost
Sources packages:
Other version of this rpm: