Skip to content
Sections
>> Trisquel >> Пакети >> aramo >> python >> python3-filetype
aramo  ]
[ Източник: filetype.py  ]

Пакет: python3-filetype (1.0.10-2)

Връзки за python3-filetype

python3-filetype

Ресурси за Trisquel:

Изтегляне на пакет-източник filetype.py.

Отговорник:

Original Maintainers:

  • Debian Python Team
  • Jerome Charaoui

Външни препратки:

Подобни пакети:

Infer file type and MIME type of any file/buffer

Small and dependency free Python module to infer file type and MIME type checking the magic numbers signature of a file or buffer (aka file pattern).

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.

Currently, the following patterns are recognised:

  - Image: bmp, cr2, dwg, gif, heic, ico, jpg, jpx, jxr, png, psd, tif, xcf,
           webp.
  - Video: avi, flv, m4v, mkv, mov, mp4, mpg, webm, wmv, 3gpp.
  - Audio: aac, aiff, amr, flac, m4a, mid, mp3, ogg, wav.
  - Archive: ar, br, bz2, cab, crx, dcm, deb, eot, epub, exe, gz, lz, lzo, lz4,
             nes, pdf, ps, rar, rpm, rtf, sqlite, swf, tar, xz, zip, Z, 7z.
  - Font: otf, ttf, woff, woff2.
  - Application: wasm.

This package contains the filetype module for Python 3 and an executable.

Други пакети, свързани с python3-filetype

  • зависимости
  • препоръчани
  • предложени
  • dep: python3
    interactive high-level object-oriented language (default python3 version)

Изтегляне на python3-filetype

Изтегляне за всички налични архитектури
Архитектура Големина на пакета Големина след инсталиране Файлове
all 17,0 кБ98 кБ [списък на файловете]