Binary package “python-binaryornot” in ubuntu bionic
check if a file is binary or text (Python 2 module)
This Python package provides a function to check if a file is a text
file or a binary file. It uses the same heuristic as file(1) by
looking at the first 1024 bytes of the file and checks that all
characters are printable.
.
This package contains the Python 2 module.
Source package
Published versions
- python-binaryornot 0.4.4+dfsg-2 in amd64 (Proposed)
- python-binaryornot 0.4.4+dfsg-2 in amd64 (Release)
- python-binaryornot 0.4.4+dfsg-2 in arm64 (Proposed)
- python-binaryornot 0.4.4+dfsg-2 in arm64 (Release)
- python-binaryornot 0.4.4+dfsg-2 in armhf (Proposed)
- python-binaryornot 0.4.4+dfsg-2 in armhf (Release)
- python-binaryornot 0.4.4+dfsg-2 in i386 (Proposed)
- python-binaryornot 0.4.4+dfsg-2 in i386 (Release)
- python-binaryornot 0.4.4+dfsg-2 in ppc64el (Proposed)
- python-binaryornot 0.4.4+dfsg-2 in ppc64el (Release)
- python-binaryornot 0.4.4+dfsg-2 in s390x (Proposed)
- python-binaryornot 0.4.4+dfsg-2 in s390x (Release)