Python Magic Dependency Graph

Python Magic is used in Python projects. File type identification using libmagic It has no required runtime dependencies, making it lightweight to install. Check its dependency graph on PyDeps to understand the full transitive dependency tree, reverse dependents, known CVEs, and license compatibility before installing.

What is Python Magic used for?

File type identification using libmagic

Direct dependencies

Python Magic has no required runtime dependencies. A dependency-free package keeps installs small and reduces the supply-chain surface area you need to audit.

Transitive dependencies

Beyond its direct dependencies, Python Magic pulls in further packages through its dependency tree. PyDeps walks the entire chain from PyPI and deps.dev so you can see every transitive (nested) dependency, expand any node on demand, and understand the full set of code that ships when you install Python Magic.

Dependency risk and maintenance

Python Magic is distributed under the MIT license. Use the vulnerability panel, powered by the OSV database, to check whether Python Magic or anything in its dependency tree has known CVEs before you ship, and review the license of every dependency to confirm compatibility with your project.

How to read the dependency graph

In the interactive graph each node is a package and each edge is a version constraint. Expand a node to load its subdependencies, switch to the dependents view to see which packages rely on Python Magic, and download Python Magic together with all of its dependencies as wheels for offline or air-gapped installs.

Related packages

PyDeps