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

Property Value
Distribution Debian 8 (Jessie)
Repository Debian Main amd64
Package name python-binaryornot
Package version 0.3.0
Package release 1
Package architecture all
Package type deb
Installed size 54 B
Download size 5.41 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.3.0-1_all.deb 0.3.0 all Debian Main
python-binaryornot - - -


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


Type URL
Binary Package python-binaryornot_0.3.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




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-biom-format_2.1+dfsg-1_amd64.deb Biological Observation Matrix (BIOM) format
python-biopython-doc_1.64+dfsg-5_all.deb Documentation for the Biopython library
python-biopython-sql_1.64+dfsg-5_all.deb Biopython support for the BioSQL database schema (Python 2)
python-biopython_1.64+dfsg-5_amd64.deb Python library for bioinformatics (implemented in Python 2)
python-biosig_1.3.0-2+b2_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-1_amd64.deb Python module for efficient boolean array handling
python-bitbucket_0.1-1_all.deb Python bindings for the REST API
python-bjsonrpc_0.2.0-1_all.deb asynchronous bidirectional JSON-RPC protocol over TCP/IP
python-bleach-doc_1.4-1_all.deb whitelist-based HTML-sanitizing library (common documentation)
python-bleach_1.4-1_all.deb whitelist-based HTML-sanitizing library (Python 2)
python-blessings_1.5-1_all.deb simple but powerful module to manage terminal color and styling
python-blinker-doc_1.3.dfsg2-1_all.deb Documentation for the blinker signaling library
python-blinker_1.3.dfsg2-1_all.deb Fast, simple object-to-object and broadcast signaling library
python-blist_1.3.6-3_amd64.deb List-like type for Python with better asymptotic performance