# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= python-puremagic VERSION= 1.23 KEYWORDS= python VARIANTS= v11 v12 SDESC[v11]= Magic file detection (3.11) SDESC[v12]= Magic file detection (3.12) HOMEPAGE= https://github.com/cdgriffith/puremagic CONTACT= Python_Automaton[python@ironwolf.systems] DOWNLOAD_GROUPS= main SITES[main]= PYPIWHL/0d/ec/41eae1c4aabeec12490236df8d32e43be0dc6c1beb898d3d942c37bd054d DISTFILE[1]= puremagic-1.23-py3-none-any.whl:main DF_INDEX= 1 SPKGS[v11]= single SPKGS[v12]= single OPTIONS_AVAILABLE= PY311 PY312 OPTIONS_STANDARD= none VOPTS[v11]= PY311=ON PY312=OFF VOPTS[v12]= PY311=OFF PY312=ON DISTNAME= puremagic-1.23.dist-info GENERATED= yes [PY311].USES_ON= python:v11,wheel [PY312].USES_ON= python:v12,wheel [FILE:1123:descriptions/desc.single] puremagic ========= puremagic is a pure python module that will identify a file based off it's magic numbers. |CoverageStatus| |License| |PyPi| It is designed to be minimalistic and inherently cross platform compatible. It is also designed to be a stand in for python-magic, it incorporates the functions from\_file(filename[, mime]) and from\_string(string[, mime]) however the magic\_file() and magic\_string() are more powerful and will also display confidence and duplicate matches. It does NOT try to match files off non-magic string. In other words it will not search for a string within a certain window of bytes like others might. Advantages over using a wrapper for 'file' or 'libmagic': - Faster - Lightweight - Cross platform compatible - No dependencies Disadvantages: - Does not have as many file types - No multilingual comments - Duplications due to small or reused magic numbers (Help fix the first two disadvantages by contributing!) Compatibility ~~~~~~~~~~~~~ - Python 3.8+ Using github ci to run continuous integration tests on listed platforms. Install from pypy ----------------- [FILE:110:distinfo] f67ba60a1820ae154016a0fe6a9fdfa11961f14602939b37b0165d59bd2c26ad 37037 puremagic-1.23-py3-none-any.whl