BinaryOrNot¶
Python library and CLI tool to check if a file is binary or text. Zero dependencies.
>>> from binaryornot.check import is_binary
>>> is_binary('README.md')
False
>>> is_binary('logo.png')
True
Getting started¶
- Installation - how to install BinaryOrNot
- Usage - Python API, command line, and how the detection works
- API Reference - auto-generated API documentation
Credits¶
Created by Audrey Roy Greenfeld.