The request names puremagic, a Python file-type detection library, but none of the candidate sources is puremagic's own page, so no official doors for it can be cited here. Among the candidates, sources that describe file-format handling are the closest fit: olefile 10 parses Microsoft OLE2 file formats, and lxml 8 processes XML and HTML. Neither does magic-number file identification, so if you need puremagic specifically, check its own project page.
A question back: Do you want puremagic's own documentation, or a tool that identifies file types by their magic bytes in Python?
- 1
- 2
Sources
- 8lxml - Processing XML and HTML with Pythonlxml.de · read 2026-10-29
- 10>> Decalagedecalage.info · read 2026-10-29
For agents: the 10 actions behind this answer
image-manipulation-image-magick · image-manipulation-image-magick verified and signed
Process and manipulate images using ImageMagick. Supports resizing, format conversion, batch processing, and retrieving image metadata. Use when working with images, creating thumbnails, resizing wallpapers, or performing batch image operations.
get_scan_result_paths · automated-security-helper found in code, not yet checked
Get file paths for all scan result files by type.
type · magika verified and signed
highlighting · Pygments verified and signed
scim-resource-types-get · Cloudflare API verified and signed
Get SCIM Resource Type
dash_get_file_details · Dropbox Dash MCP Server found in code, not yet checked
Fetch detailed metadata (and optional content snippet) for a result UUID.
· async-std website read, tools not yet checked
A Rust library for easy and understandable async programming
· lxml website read, tools not yet checked
lxml - the most feature-rich and easy-to-use library for processing XML and HTML in the Python language
npm_stats · tanstack.com found in code, not yet checked
NPM download statistics. Org summary (default), library breakdown, or package comparison.
· >> Decalage website read, tools not yet checked
Labels are the instruments' verdict and are never changed by ranking. Agents and robots get this same answer as JSON at /api/v1/find?q=…&answer=1 and through the MCP server.