dev-python/
binaryornot

Ultra-lightweight pure Python package to guess whether a file is binary or text

https://github.com/audreyr/binaryornot

There are no pull requests

You think something is missing here?
Start with filling a new pull requests.

If you also like to help the Gentoo project, you can consider sending a Pull Request via GitHub.
Before doing so, you might want to take a look at the wiki page.