Description
Identifies file types by checking magic numbers in their contents. It helps Python tools classify files even when extensions are missing, misleading, or changed.
File identification is only a hint and should not replace validation. Treat untrusted files carefully, especially before parsing, converting, or opening them with other tools.