PyPI · pypi:python-magic
python-magic active
File type identification using libmagic
The latest stable version of python-magic is 0.4.27, published on 2022-06-07. Verified by Vigia on 2026-11-13.
| Latest stable version | 0.4.27 |
|---|---|
| Published | 2022-06-07 20:16:57 UTC |
| Install | pip install --upgrade python-magic |
| Requires | python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.* |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-13 18:08:35 UTC |
| Sources | pypi.org |
Is your project affected?
Check my whole requirements.txtGet notified of new versions (Atom)Facts for my AGENTS.md
Free, no signup. Paste your manifest and see what is outdated, deprecated or vulnerable.
Maintenance
| Activity | dormant |
|---|---|
| Last stable release | 2022-06-07 20:16:57 UTC · 1619 days ago |
| Stable releases in the last 12 months | 0 |
| Published versions | 28 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
0.4.27 | 2022-06-07 20:16:57 UTC |
0.4.26 | 2022-05-22 17:14:44 UTC |
0.4.25 | 2022-02-02 00:23:26 UTC |
0.4.24 | 2021-06-03 13:49:22 UTC |
0.4.23 | 2021-06-01 19:28:52 UTC |
0.4.22 | 2021-02-17 06:19:13 UTC |
0.4.21 | 2021-02-16 22:39:52 UTC |
0.4.20 withdrawn | 2021-01-16 08:38:24 UTC |
0.4.19 withdrawn | 2021-01-16 00:12:09 UTC |
0.4.18 | 2020-05-06 02:30:25 UTC |
0.4.17 | 2020-05-05 22:26:13 UTC |
0.4.15 | 2017-12-04 06:16:51 UTC |
0.4.13 | 2017-03-20 06:24:17 UTC |
0.4.12 | 2016-07-05 02:58:07 UTC |
0.4.11 | 2016-03-21 04:50:18 UTC |
0.4.10 | 2015-10-20 14:53:17 UTC |
0.4.9 | 2015-10-19 22:47:27 UTC |
0.4.8 | 2015-10-19 16:24:26 UTC |
0.4.7 | 2015-10-19 05:44:34 UTC |
0.4.6 | 2013-10-08 04:38:08 UTC |
Showing the 20 most recent of 28 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
python 3.8 | 0.4.27 |
python 3.9 | 0.4.27 |
python 3.10 | 0.4.27 |
python 3.11 | 0.4.27 |
python 3.12 | 0.4.27 |
python 3.13 | 0.4.27 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of python-magic?
The latest stable version of python-magic is 0.4.27, published on 2022-06-07. Verified by Vigia on 2026-11-13.
How do I install the latest version of python-magic?
Run pip install --upgrade python-magic. The latest stable version is 0.4.27 (verified 2026-11-13).
Is python-magic deprecated?
No. python-magic is not marked as deprecated in the registry.
Which Python version does python-magic require?
python-magic 0.4.27 declares this requirement: python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*.
Does python-magic 0.4.27 have known vulnerabilities?
No known advisories affect python-magic 0.4.27 according to the data Vigia checks.
Is python-magic still maintained?
python-magic published 0 stable releases in the last 12 months; the most recent was 1619 days ago. Activity: dormant.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- pathvalidate
- pyroaring
- snowballstemmer
- h5py
- ply
- opentelemetry-instrumentation-logging
- jupyter-lsp
- appdirs
- aioboto3
- unidecode
- opentelemetry-instrumentation-psycopg2
- pip-audit
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/pypi/python-magic) [](https://vigia.coredls.cloud/pypi/python-magic) [](https://vigia.coredls.cloud/pypi/python-magic)
For agents
GET https://vigia.coredls.cloud/v1/packages/pypi/python-magic
GET https://vigia.coredls.cloud/v1/packages/pypi/python-magic/versions/{version}