Comprehensive filetype and mimetype detection using libmagic and Pygments.
pip install typecodeComprehensive filetype and mimetype detection using libmagic and Pygments.
pip install typecodeLow activity
Maintenance, out of 100
Recent release
last release 250 days ago
Commit activity
0/26 weeks with commits
Release cadence
2 releases in 12 months
Issues & PRs handled
47% closed in the past year
Contributor spread
5 authors in last 100 commits
OpenSSF Scorecard
not evaluated
Use instead of typecode: tools that do the same job, closest first.
Compare with filetype →Compare with magika →Compare with puremagic →Compare all 4 →
Infer file type and MIME type of any file/buffer. No external dependencies.
A tool to determine the content type of a file with deep learning
Pure python implementation of magic file detection
Use together with typecode: extensions, drivers, servers and companion tools.