Letter P

python39-binaryornot - sum A pure Python package to check if a file is binary or text

Website: http://pypi.python.org/pypi/BinaryOrNot
License: BSD
Vendor: Alcance Libre, Inc.
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.

Packages

python39-binaryornot-0.4.4-1.aldos.src [366 KiB] Changelog by Joel Barrios (2022-01-24):
- Update to 0.4.4.

Listing created by Repoview-0.6.6-6.fc14.al