filetype.py API reference
78 public APIs from filetype.py (h2non/filetype.py) — 77 classes, 1 functions, 0 methods. Signatures extracted by static analysis of the actual source.
Repository: h2non/filetype.py
| Kind | Count |
|---|---|
| Classes | 77 |
| Functions | 1 |
| Methods | 0 |
API list
func
filetype.filetype.guess(obj)Infers the type of the given input.
class
filetype.types.application.WasmImplements the Wasm image type matcher.
class
filetype.types.archive.ArImplements the AR archive type matcher.
class
filetype.types.archive.BrImplements the Br image type matcher.
class
filetype.types.archive.Bz2Implements the BZ2 archive type matcher.
class
filetype.types.archive.CabImplements the CAB archive type matcher.
class
filetype.types.archive.CrxImplements the CRX archive type matcher.
class
filetype.types.archive.DcmImplements the Dcm image type matcher.
class
filetype.types.archive.DebImplements the DEB archive type matcher.
class
filetype.types.archive.ElfImplements the Elf archive type matcher
class
filetype.types.archive.EotImplements the EOT archive type matcher.
class
filetype.types.archive.EpubImplements the EPUB archive type matcher.
class
filetype.types.archive.ExeImplements the EXE archive type matcher.
class
filetype.types.archive.GzImplements the GZ archive type matcher.
class
filetype.types.archive.LzImplements the Lz archive type matcher.
class
filetype.types.archive.Lz4Implements the Lz4 archive type matcher.
class
filetype.types.archive.LzopImplements the Lzop archive type matcher.
class
filetype.types.archive.NesImplements the NES archive type matcher.
class
filetype.types.archive.PdfImplements the PDF archive type matcher.
class
filetype.types.archive.PsImplements the PS archive type matcher.
class
filetype.types.archive.RarImplements the RAR archive type matcher.
class
filetype.types.archive.RpmImplements the Rpm image type matcher.
class
filetype.types.archive.RtfImplements the RTF archive type matcher.
class
filetype.types.archive.SevenZImplements the SevenZ (7z) archive type matcher.
class
filetype.types.archive.SqliteImplements the Sqlite DB archive type matcher.
class
filetype.types.archive.SwfImplements the SWF archive type matcher.
class
filetype.types.archive.TarImplements the Tar archive type matcher.
class
filetype.types.archive.XzImplements the XS archive type matcher.
class
filetype.types.archive.ZImplements the Z archive type matcher.
class
filetype.types.archive.ZipImplements the Zip archive type matcher.
class
filetype.types.archive.ZstdImplements the Zstd archive type matcher.
class
filetype.types.audio.AacImplements the Aac audio type matcher.
class
filetype.types.audio.AiffImplements the AIFF audio type matcher.
class
filetype.types.audio.AmrImplements the AMR audio type matcher.
class
filetype.types.audio.FlacImplements the FLAC audio type matcher.
class
filetype.types.audio.M4aImplements the M4A audio type matcher.
class
filetype.types.audio.MidiImplements the Midi audio type matcher.
class
filetype.types.audio.Mp3Implements the MP3 audio type matcher.
class
filetype.types.audio.OggImplements the OGG audio type matcher.
class
filetype.types.audio.WavImplements the WAV audio type matcher.
class
filetype.types.base.TypeRepresents the file type object inherited by specific file type matchers.
class
filetype.types.document.OdpImplements the OpenDocument Presentation document type matcher.
class
filetype.types.document.OdsImplements the OpenDocument Spreadsheet document type matcher.
class
filetype.types.document.OdtImplements the OpenDocument Text document type matcher.
class
filetype.types.font.OtfImplements the OTF font type matcher.
class
filetype.types.font.TtfImplements the TTF font type matcher.
class
filetype.types.font.WoffImplements the WOFF font type matcher.
class
filetype.types.font.Woff2Implements the WOFF2 font type matcher.
class
filetype.types.image.ApngImplements the APNG image type matcher.
class
filetype.types.image.AvifImplements the AVIF image type matcher.
class
filetype.types.image.BmpImplements the BMP image type matcher.
class
filetype.types.image.Cr2Implements the CR2 image type matcher.
class
filetype.types.image.DdsImplements the DDS image type matcher.
class
filetype.types.image.DwgImplements the Dwg image type matcher.
class
filetype.types.image.GifImplements the GIF image type matcher.
class
filetype.types.image.HeicImplements the HEIC image type matcher.
class
filetype.types.image.IcoImplements the ICO image type matcher.
class
filetype.types.image.JpegImplements the JPEG image type matcher.
class
filetype.types.image.JpxImplements the JPEG2000 image type matcher.
class
filetype.types.image.JxlImplements the JPEG XL image type matcher.
class
filetype.types.image.JxrImplements the JXR image type matcher.
class
filetype.types.image.PngImplements the PNG image type matcher.
class
filetype.types.image.PsdImplements the PSD image type matcher.
class
filetype.types.image.QoiImplements the QOI image type matcher.
class
filetype.types.image.TiffImplements the TIFF image type matcher.
class
filetype.types.image.WebpImplements the WEBP image type matcher.
class
filetype.types.image.XcfImplements the Xcf image type matcher.
class
filetype.types.isobmff.IsoBmffImplements the ISO-BMFF base type.
class
filetype.types.video.AviImplements the AVI video type matcher.
class
filetype.types.video.FlvImplements the FLV video type matcher.
class
filetype.types.video.M3gpImplements the 3gp video type matcher.
class
filetype.types.video.M4vImplements the M4V video type matcher.
class
filetype.types.video.MkvImplements the MKV video type matcher.
class
filetype.types.video.MovImplements the MOV video type matcher.
class
filetype.types.video.Mp4Implements the MP4 video type matcher.
class
filetype.types.video.MpegImplements the MPEG video type matcher.
class
filetype.types.video.WebmImplements the WebM video type matcher.
class
filetype.types.video.WmvImplements the WMV video type matcher.
About this data
These signatures were extracted from the public source of h2non/filetype.py
using Python's ast module. Argument names, default values,
type annotations and return types are taken verbatim from the code.
Implementation bodies are never stored. See
how it works for details.