python-binaryornot - check if a file is binary or text (Python 2 module)

Property Value
Distribution Ubuntu 16.04 LTS (Xenial Xerus)
Repository Ubuntu Universe amd64
Package name python-binaryornot
Package version 0.4.0
Package release 1ubuntu1
Package architecture all
Package type deb
Installed size 32 B
Download size 6.71 KB
Official Mirror
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.


Package Version Architecture Repository
python-binaryornot_0.4.0-1ubuntu1_all.deb 0.4.0 all Ubuntu Universe
python-binaryornot - - -


Name Value
python-chardet -
python:any >= 2.7.5-5~
python:any << 2.8


Type URL
Binary Package python-binaryornot_0.4.0-1ubuntu1_all.deb
Source Package binaryornot

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install python-binaryornot deb package:
    # sudo apt-get install python-binaryornot




2016-03-13 - Logan Rosen <>
binaryornot (0.4.0-1ubuntu1) xenial; urgency=medium
* Build-depend on python-enum34 to fix FTBFS.
2015-11-15 - Vincent Bernat <>
binaryornot (0.4.0-1) unstable; urgency=medium
* New upstream release.
* Bump Standards-Version.
* Use PYBUILD_NAME in d/rules.
* Add missing Build-Depends on python-{chardet,hypothesis}.
2014-05-26 - Vincent Bernat <>
binaryornot (0.3.0-1) unstable; urgency=medium
* New upstream release.
* Bump Standards-Version.
* Run unit tests.
2013-09-29 - Vincent Bernat <>
binaryornot (0.2.0-1) unstable; urgency=low
* New upstream release.
+ Codebase has been improved. Closes: #722502.
2013-09-08 - Vincent Bernat <>
binaryornot (0.1.1-1) unstable; urgency=low
* Initial release. Closes: #722156.

See Also

Package Description
python-binplist_0.1.5-1_all.deb binary property list parser module
python-biom-format-doc_2.1.5+dfsg-1_all.deb documentation for BIOM format
python-biom-format_2.1.5+dfsg-1_amd64.deb Biological Observation Matrix (BIOM) format (Python 2)
python-biopython-doc_1.66+dfsg-1build1_all.deb Documentation for the Biopython library
python-biopython-sql_1.66+dfsg-1build1_all.deb Biopython support for the BioSQL database schema (Python 2)
python-biopython_1.66+dfsg-1build1_amd64.deb Python library for bioinformatics (implemented in Python 2)
python-biosig_1.3.0-2.1build1_amd64.deb Python bindings for BioSig library
python-biplist_0.7-1_all.deb Python library for reading/writing Mac OS X binary plists
python-bitarray_0.8.1-1build2_amd64.deb Python module for efficient boolean array handling
python-bitbucket_0.1-1_all.deb Python bindings for the REST API
python-bitstring-doc_3.1.4-1_all.deb Python module for manipulation of binary data (documentation)
python-bitstring_3.1.4-1_all.deb Python module for manipulation of binary data (Python 2)
python-bittorrent_3.4.2-12_all.deb Scatter-gather network file transfer
python-bjsonrpc_0.2.0-2_all.deb asynchronous bidirectional JSON-RPC protocol over TCP/IP
python-bleach-doc_1.4.2-1_all.deb whitelist-based HTML-sanitizing library (common documentation)