Skip to content
Sections
>> Trisquel >> Packages >> nabia >> python >> python3-binaryornot
etiona  ] [  nabia  ] [  aramo  ]
[ Source: binaryornot  ]

Package: python3-binaryornot (0.4.4+dfsg-4)

check if a file is binary or text (Python 3 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 3 module.

Other Packages Related to python3-binaryornot

  • depends
  • recommends
  • suggests
  • dep: python3
    interactive high-level object-oriented language (default python3 version)
  • dep: python3-chardet
    universal character encoding detector for Python3

Download python3-binaryornot

Download for all available architectures
Architecture Package Size Installed Size Files
all 7.8 kB34 kB [list of files]