A pure Python package to check if a file is binary or text
19.77 KB
built 2026-10-17 07:40:23 GMT
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.
Dependencies
12 totalRequires7
- python(abi) = 3.15
- python3.15dist(chardet) >= 3.0.2
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(FileDigests) <= 4.6.0-1
- rpmlib(PartialHardlinkSets) <= 4.0.4-1
- rpmlib(PayloadFilesHavePrefix) <= 4.0-1
- rpmlib(PayloadIsZstd) <= 5.4.18-1
Provides5
- python-binaryornot = 0.4.4-33.fc45
- python3-binaryornot = 0.4.4-33.fc45
- python3.15-binaryornot = 0.4.4-33.fc45
- python3.15dist(binaryornot) = 0.4.4
- python3dist(binaryornot) = 0.4.4
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
23
Files 1–23 of 23
Component of
buildroots that installed this RPMBuildroot ![]() |
Created | State |
|---|---|---|
| f45-build-56088-966 | 2026-10-30 14:00:01 | expired |
| f45-build-56087-966 | 2026-10-30 14:00:00 | expired |
| f45-build-55218-941 | 2026-10-30 01:24:26 | expired |
| f45-build-33494-669 | 2026-10-17 14:31:16 | expired |
| f45-build-30637-646 | 2026-10-17 09:08:26 | expired |
| f45-build-30251-643 | 2026-10-17 08:25:00 | expired |
Buildroots 1–6 of 6

