# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= python-filetype VERSION= 1.2.0 KEYWORDS= python VARIANTS= v11 v12 SDESC[v11]= Infer file and MIME type of file or buffer (3.11) SDESC[v12]= Infer file and MIME type of file or buffer (3.12) HOMEPAGE= https://github.com/h2non/filetype.py CONTACT= Python_Automaton[python@ironwolf.systems] DOWNLOAD_GROUPS= main SITES[main]= PYPIWHL/18/79/1b8fa1bb3568781e84c9200f951c735f3f157429f44be0495da55894d620 DISTFILE[1]= filetype-1.2.0-py2.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= filetype-1.2.0.dist-info GENERATED= yes [PY311].USES_ON= python:v11,wheel [PY312].USES_ON= python:v12,wheel [FILE:1017:descriptions/desc.single] filetype.py |Build Status| |PyPI| |Pyversions| |API| ==================================================== Small and dependency free `Python`_ package to infer file type and MIME type checking the `magic numbers`_ signature of a file or buffer. This is a Python port from `filetype`_ Go package. Features -------- - Simple and friendly API - Supports a `wide range`_ of file types - Provides file extension and MIME type inference - File discovery by extension or MIME type - File discovery by kind (image, video, audio…) - `Pluggable`_: add new custom type matchers - `Fast`_, even processing large files - Only first 261 bytes representing the max file header is required, so you can just `pass a list of bytes`_ - Dependency free (just Python code, no C extensions, no libmagic bindings) - Cross-platform file recognition Installation ------------ :: pip install filetype API --- See `annotated API reference`_. Examples -------- Simple file type checking ^^^^^^^^^^^^^^^^^^^^^^^^^ [FILE:114:distinfo] 7ce71b6880181241cf7ac8697a2f1eb6a8bd9b429f7ad6d27b8db9ba5f1c2d25 19970 filetype-1.2.0-py2.py3-none-any.whl