Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve self-promotion #3

Open
davidfraser opened this issue Jan 28, 2021 · 2 comments
Open

Improve self-promotion #3

davidfraser opened this issue Jan 28, 2021 · 2 comments

Comments

@davidfraser
Copy link

davidfraser commented Jan 28, 2021

This is the most effective consistent pure Python module I've found at detecting mime types for a server without relying on what happens to be installed on the server to decide what to detect. For example, I've attached a spreadsheet, extension_detection_comparison.xlsx which gives a comparison between:

I highlighted in red things that seem wrong, in yellow things that are questionable, etc. This included comparing them to what python-magic project detected based on the file contents of my sample files.

You can see how much better mimetype-description does in the attachment.

It would be nice to self-promote so that others coming to find this module know how good it is...

@chesstrian
Copy link
Owner

Hey @davidfraser, thanks for your comments and comparison, I actually had to implement this because I needed an accurate way of knowing the type of a given file and eight months ago I didn't find anything useful, this relies in shared-mime-info and the xml file has to be updated from time to time to cover new inclusions. Feel free to create PRs at any time, I will keep an eye on it since I have seen some activity here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@davidfraser @chesstrian and others