filetype

PyPI v1.2.0

6,601,208 weekly downloads · MIT · 0 Dependencies

No release in 2+ yearsZero dependencies

Source data as of:

Summary

Infer file type and MIME type of any file/buffer. No external dependencies.

Install pip install filetype

Registry values

Reproduced verbatim from the official registry, with the source named on each value.

Weekly downloads 6,601,208 Source: PyPI (Python Package Index)
Releases 22 Last release: 2022-11-02 Source: PyPI (Python Package Index)
Dependencies 0 Source: PyPI (Python Package Index)

Description

Infer file type and MIME type of any file/buffer. No external dependencies.

Registry-supplied description, cleaned to plain text. Source: PyPI (Python Package Index).

Package details

Package
filetype
Registry
PyPI
Version
1.2.0
Weekly downloads
6,601,208 (weekly)
License
MIT
Dependencies
0
Releases
22
Last release
2022-11-02
First published
2016-06-19
Keywords
file libmagic magic infer numbers magicnumbers discovery mime type kind
Homepage
https://github.com/h2non/filetype.py
Repository
https://github.com/h2non/filetype.py

Why a field shows "—": A dash means the value is not published by the source registry for that package. Quanteta never fills in a guessed value — a missing field stays blank.

Derived indices (computation method published)

Quanteta-computed from the registry values below. This is a derived index, not a measured registry metric. See the formula on the Data & Sources page.

Q-Vitality Quanteta 18.1 / 100 Maintenance activity index (release cadence + download level).
Q-Trust Quanteta 15.6 / 100 Adoption / stability index (community size + download stability + age).
Q-Risk Quanteta 53.3 / 100 Dependency-surface index. Higher = more risk factors detected.

Data & Sources