Name: | python3-binaryornot |
---|---|
Version: | 0.4.4 |
Release: | 26.el9 |
Architecture: | noarch |
Group: | Unspecified |
Size: | 22699 |
License: | BSD-3-Clause |
RPM: | python3-binaryornot-0.4.4-26.el9.noarch.rpm |
Source RPM: | python-binaryornot-0.4.4-26.el9.src.rpm |
Build Date: | Thu May 15 2025 |
Build Host: | build-ol9-x86_64.oracle.com |
Vendor: | Oracle America |
URL: | http://pypi.python.org/pypi/BinaryOrNot |
Summary: | A pure Python package to check if a file is binary or text |
Description: | Ultra-lightweight pure Python package to guess whether a file is binary or text, using a heuristic similar to Perl's pp_fttext and its analysis by @eliben. Has tests for these file types: * Text: .txt, .css, .json, .svg, .js, .lua, .pl, .rst * Binary: .png, .gif, .jpg, .tiff, .bmp, .DS_Store, .eot, .otf, .ttf, .woff, .rgb Has tests for numerous encodings. |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
- Add patch to fix tests and fix License
- convert to pyproject macros, tests using unittest
- convert license to SPDX
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
- Rebuilt for Python 3.13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
- Rebuilt for Python 3.12