Python utility that converts files and office documents to Markdown for LLM pipelines.
Opening the entry
Opening the entry
Fast and accurate AI powered file content types detection
Magika is an AI-powered file content type detection tool from Google. It uses a small deep learning model (a few MB) to identify file types in milliseconds on a single CPU, trained on roughly 100M samples across 200+ content types. It is available as a Rust command line tool, a Python API, and bindings for Rust, JavaScript/TypeScript and Go.
pip install --pre -U magika
# open google/magika and follow its README
google/magika is a third-party open-source project, listed here from public GitHub data. ImuTechz did not write it and has not reviewed or security-audited its code. Read the source and its permissions before you install or run it.