Debian Codegraph @

debian/control

raw
1 Source: filetype.py
2 Section: python
3 Priority: optional
4 Maintainer: Debian Python Team <[email protected]>
5 Uploaders:
6 Jérôme Charaoui <[email protected]>,
7 Build-Depends:
8 debhelper-compat (= 13),
9 dh-python,
10 python3-all,
11 python3-setuptools,
12 Standards-Version: 4.6.2
13 Rules-Requires-Root: no
14 Homepage: https://github.com/h2non/filetype.py
15 Vcs-Git: https://salsa.debian.org/python-team/packages/filetype.py.git
16 Vcs-Browser: https://salsa.debian.org/python-team/packages/filetype.py
17
18 Package: python3-filetype
19 Architecture: all
20 Depends:
21 ${misc:Depends},
22 ${python3:Depends},
23 Description: Infer file type and MIME type of any file/buffer
24 Small and dependency free Python module to infer file type and MIME type
25 checking the magic numbers signature of a file or buffer (aka file pattern).
26 .
27 This is a Python port from filetype Go package.
28 .
29 Features:
30 - Simple and friendly API.
31 - Supports a wide range of file types.
32 - Provides file extension and MIME type inference.
33 - File discovery by extension or MIME type.
34 - File discovery by kind (image, video, audio...).
35 - Pluggable: add new custom type matchers.
36 - Fast, even processing large files.
37 - Only first 261 bytes representing the max file header is required, so you
38 can just pass a list of bytes.
39 - Dependency free (just Python code, no C extensions, no libmagic bindings).
40 - Cross-platform file recognition.
41 .
42 Currently, the following patterns are recognised:
43 - Image: bmp, cr2, dwg, gif, heic, ico, jpg, jpx, jxr, png, psd, tif, xcf,
44 webp.
45 - Video: avi, flv, m4v, mkv, mov, mp4, mpg, webm, wmv, 3gpp.
46 - Audio: aac, aiff, amr, flac, m4a, mid, mp3, ogg, wav.
47 - Archive: ar, br, bz2, cab, crx, dcm, deb, eot, epub, exe, gz, lz, lzo, lz4,
48 nes, pdf, ps, rar, rpm, rtf, sqlite, swf, tar, xz, zip, Z, 7z.
49 - Font: otf, ttf, woff, woff2.
50 - Application: wasm.
51 .
52 This package contains the filetype module for Python 3 and an executable.