I need to use a python library for identifying the file type, and after reading the posts on this subject, python-magic seems to be what I am looking for. However, I can't find in the documentation how can I add new types of files when using this library?
There is a default set of file types - such as pdf, text, etc, but I need to be able to identify much more types than that. Thanks!