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

Property Value
Distribution Ubuntu 19.04 (Disco Dingo)
Repository Ubuntu Universe amd64
Package filename python-binaryornot_0.4.4+dfsg-2_all.deb
Package name python-binaryornot
Package version 0.4.4+dfsg
Package release 2
Package architecture all
Package type deb
Category universe/python
License -
Maintainer Ubuntu Developers <>
Download size 7.49 KB
Installed size 34.00 KB
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.4+dfsg-2_all.deb 0.4.4+dfsg 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.4+dfsg-2_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




2018-01-18 - Vincent Bernat <>
binaryornot (0.4.4+dfsg-2) unstable; urgency=medium
* Fix crashing test with recent python-hypothesis. Closes: #887579.
2017-11-13 - Vincent Bernat <>
binaryornot (0.4.4+dfsg-1) unstable; urgency=medium
* New upstream version.
* d/patches: refresh patches after gbp pq conversion.
* d/watch: handle +dfsg repack correctly.
* d/control: bump Standards-Version.
* d/control: use debhelper 10.
* d/control: add testsuite.
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-2_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.6+dfsg-2ubuntu2_all.deb documentation for BIOM format
python-biom-format_2.1.6+dfsg-2ubuntu2_amd64.deb Biological Observation Matrix (BIOM) format (Python 2)
python-biopython-doc_1.73+dfsg-1ubuntu1_all.deb Documentation for the Biopython library
python-biopython-sql_1.73+dfsg-1ubuntu1_all.deb Biopython support for the BioSQL database schema (Python 2)
python-biopython_1.73+dfsg-1ubuntu1_amd64.deb Python library for bioinformatics (implemented in Python 2)
python-biosig_1.9.3-2_amd64.deb Python bindings for BioSig library
python-biotools_1.2.12-3_all.deb Python bioinformatics utilities for high-throughput genomic sequencing
python-biplist_1.0.3-1_all.deb Python 2 library for reading/writing Mac OS X binary plists
python-bitarray_0.8.1-1build6_amd64.deb Python module for efficient boolean array handling
python-bitbucket_0.1-1_all.deb Python bindings for the REST API
python-bitcoin_1.1.42-1_all.deb library for cryptocurrency transactions — Python 2
python-bitstring-doc_3.1.5-1_all.deb Python module for manipulation of binary data (documentation)