Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

puremagic

Detects file types from magic numbers in pure Python.

Files, images and mediaPYPI

GitHubWebsite

1. License

License from PyPI license expression.

github.com/cdgriffith/puremagic

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What puremagic does

Detects file types from magic numbers in pure Python.

puremagic popularity

42 / 100
Gid Score, #2946 overall
2.5M
downloads a week, pypi
249
GitHub stars
puremagic: downloads per weekPyPI, puremagic 2,514,454
puremagic: GitHub starscdgriffith/puremagic 249

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How puremagic is used

  • puremagic is a dependency in 0 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 26 projects, and what it is used with below comes from all of them.
  • Projects that use it most often also use NumPy (96.2%), Hugging Face Hub (92.3%), pandas (92.3%).

Often used with

In 96.2% of its projects
In 92.3% of its projects
In 92.3% of its projects
In 92.3% of its projects
In 88.5% of its projects
In 88.5% of its projects
In 88.5% of its projects
In 88.5% of its projects

More about puremagic

More in Files, images and media

Alternatives

puremagic This page

MITGid 422.5M/wk

Compare puremagic with another tool

Get started

Install it.

pip install puremagic

No step-by-step start for puremagic yet: we have not written its hand-checked card.