Ravenports generated: 30 Jan 2023 20:50
[ravenports.git] / bucket_CD / python-filetype
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               python-filetype
4 VERSION=                1.2.0
5 KEYWORDS=               python
6 VARIANTS=               py310 v11
7 SDESC[py310]=           Infer file and MIME type of file or buffer (3.10)
8 SDESC[v11]=             Infer file and MIME type of file or buffer (3.11)
9 HOMEPAGE=               https://github.com/h2non/filetype.py
10 CONTACT=                Python_Automaton[python@ironwolf.systems]
11
12 DOWNLOAD_GROUPS=        main
13 SITES[main]=            PYPIWHL/18/79/1b8fa1bb3568781e84c9200f951c735f3f157429f44be0495da55894d620
14 DISTFILE[1]=            filetype-1.2.0-py2.py3-none-any.whl:main
15 DF_INDEX=               1
16 SPKGS[py310]=           single
17 SPKGS[v11]=             single
18
19 OPTIONS_AVAILABLE=      PY310 PY311
20 OPTIONS_STANDARD=       none
21 VOPTS[py310]=           PY310=ON PY311=OFF
22 VOPTS[v11]=             PY310=OFF PY311=ON
23
24 DISTNAME=               filetype-1.2.0.dist-info
25
26 GENERATED=              yes
27
28 [PY310].USES_ON=                        python:py310,wheel
29
30 [PY311].USES_ON=                        python:v11,wheel
31
32 [FILE:1017:descriptions/desc.single]
33 filetype.py |Build Status| |PyPI| |Pyversions| |API|
34 ====================================================
35
36 Small and dependency free `Python`_ package to infer file type and MIME
37 type checking the `magic numbers`_ signature of a file or buffer.
38
39 This is a Python port from `filetype`_ Go package.
40
41 Features
42 --------
43
44 -  Simple and friendly API
45 -  Supports a `wide range`_ of file types
46 -  Provides file extension and MIME type inference
47 -  File discovery by extension or MIME type
48 -  File discovery by kind (image, video, audio…)
49 -  `Pluggable`_: add new custom type matchers
50 -  `Fast`_, even processing large files
51 -  Only first 261 bytes representing the max file header is required, so
52    you can just `pass a list of bytes`_
53 -  Dependency free (just Python code, no C extensions, no libmagic
54    bindings)
55 -  Cross-platform file recognition
56
57 Installation
58 ------------
59
60 ::
61
62     pip install filetype
63
64 API
65 ---
66
67 See `annotated API reference`_.
68
69 Examples
70 --------
71
72 Simple file type checking
73 ^^^^^^^^^^^^^^^^^^^^^^^^^
74
75
76 [FILE:114:distinfo]
77 7ce71b6880181241cf7ac8697a2f1eb6a8bd9b429f7ad6d27b8db9ba5f1c2d25        19970 filetype-1.2.0-py2.py3-none-any.whl
78