isbinary (pypi): Lightweight pure Python package to check if a file is binary or text.
Keywords: binary|file