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

Property Value
Distribution Ubuntu 17.10 (Artful Aardvark)
Repository Ubuntu Universe i386
Package name python-binaryornot
Package version 0.4.0+dfsg
Package release 0.1
Package architecture all
Package type deb
Installed size 32 B
Download size 6.78 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+dfsg-0.1_all.deb 0.4.0+dfsg all Ubuntu Universe
python-binaryornot - - -


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


Type URL
Binary Package python-binaryornot_0.4.0+dfsg-0.1_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




2017-02-15 - Roger Shimizu <>
binaryornot (0.4.0+dfsg-0.1) unstable; urgency=medium
* Non-maintainer upload.
[ Ondřej Nový ]
* Fixed VCS URL (https)
[ Roger Shimizu ]
* Remove non-free image files, and repack as +dfsg.
* Add patch to remove tests regarding to non-free image files.
(Closes: #854851)
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-bioblend-doc_0.7.0-2_all.deb CloudMan and Galaxy API library (common documentation)
python-bioblend_0.7.0-2_all.deb CloudMan and Galaxy API library (Python 2)
python-biom-format-doc_2.1.5+dfsg-7build2_all.deb documentation for BIOM format
python-biom-format_2.1.5+dfsg-7build2_i386.deb Biological Observation Matrix (BIOM) format (Python 2)
python-biomaj3_3.0.20-1_all.deb biological data-bank updater (Python 2)
python-biopython-doc_1.70+dfsg-2build1_all.deb Documentation for the Biopython library
python-biopython-sql_1.70+dfsg-2build1_all.deb Biopython support for the BioSQL database schema (Python 2)
python-biopython_1.70+dfsg-2build1_i386.deb Python library for bioinformatics (implemented in Python 2)
python-biosig_1.3.0-2.2build1_i386.deb Python bindings for BioSig library
python-biotools_1.2.12-1_i386.deb Python bioinformatics utilities for high-throughput genomic sequencing
python-biplist_1.0.2-1_all.deb Python 2 library for reading/writing Mac OS X binary plists
python-bitarray_0.8.1-1build4_i386.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.5-1_all.deb Python module for manipulation of binary data (documentation)