Isbinary

Latest version: v1.0.1

Safety actively analyzes 681775 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.0.1

~~~~~~~~~~~~~~~~~~

* Minor docs fixes

1.0.0

~~~~~~~~~~~~~~~~~~

* First release after fork.
* Support for Python 2 removed.
* Only support Python 3.8+ now.
* The main code interface is mostly compatible. Change `from binaryornot.check import is_binary` to `from isbinary import is_binary_file`.
* Made "read starting chunk size" configurable, and bumped default from `1024` to `2048`.
* The CLI is now run with `python3 -m isbinary <filename>`.

0.4.4

~~~~~~~~~~~~~~~~~~

* Notify users for file i/o issues. Thanks lukehinds!

0.4.3

~~~~~~~~~~~~~~~~~~

* Restricted chardet to anything 3.0.2 or higher due to https://github.com/chardet/chardet/issues/113. Thanks dan-blanchard for the quick fix!

0.4.2

~~~~~~~~~~~~~~~~~~

* Restricted chardet to anything under 3.0 due to https://github.com/chardet/chardet/issues/113
* Added pyup badge
* Added utilities for pushing new versions up

0.4.0

~~~~~~~~~~~~~~~~~~

* Enhanced detection for some binary streams and UTF texts. (10, 11) Thanks `pombredanne`_.
* Set up Appveyor for continuous testing on Windows. Thanks `pydanny`_.
* Update link to Perl source implementation. (9) Thanks `asmeurer`_ `pombredanne`_ `audreyr`_.
* Handle UnicodeDecodeError in check. (12) Thanks `DRMacIver`_.
* Add very simple Hypothesis based tests. (13) Thanks `DRMacIver`_.
* Use setup to determine requirements and remove redundant requirements.txt. (14) Thanks `hackebrot`_.
* Add documentation status badge to README.rst. (15) Thanks `hackebrot`_.
* Run tox in travis.yml. Add pypy and Python 3.4 to tox environments. (16) Thanks `hackebrot`_ `pydanny`_.
* Handle LookupError when detecting encoding. (17) Thanks `DRMacIver`_.

.. _`pombredanne`: https://github.com/pombredanne
.. _`pydanny`: https://github.com/pydanny
.. _`asmeurer`: https://github.com/asmeurer
.. _`audreyr`: https://github.com/audreyr
.. _`DRMacIver`: https://github.com/DRMacIver
.. _`hackebrot`: https://github.com/hackebrot

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.