python-magic
python-magic copied to clipboard
A python wrapper for libmagic
I know the installation guide explicitly states to install libmagic before the python-magic download, but the fact that there's a wheel binary for python-magic confuses me, since my understanding of...
Thanks very much for supplying the compat bindings (especially as this package is so popular that e.g. Debian no longer ships the original bindings). Please could you update them? I...
Could you please make a new release, since 0.4.27 fails tests with the current version of `file(1)`?
Windows users regularly run into issues with incompatible/broken or not found magic installations. Current issues: https://github.com/ahupp/python-magic/issues/137 https://github.com/ahupp/python-magic/issues/288 https://github.com/ahupp/python-magic/issues/225 https://github.com/ahupp/python-magic/issues/276 https://github.com/ahupp/python-magic/issues/248 https://github.com/ahupp/python-magic/issues/87 https://github.com/ahupp/python-magic/issues/139 https://github.com/ahupp/python-magic/issues/233 https://github.com/ahupp/python-magic/issues/73 https://github.com/ahupp/python-magic/issues/60 https://github.com/ahupp/python-magic/issues/34 This task is to...
When I iterate over files to get their MIME type the magic library is able to provide the MIME type of some of the files and then it will through...
trying to read from a file whose filename is not ascii characters: ```py magic.from_file("説明.txt") ``` And this gives me error: ``` Traceback (most recent call last): File "G:\BaiduNet\unarchive.py", line 64,...
I'm packaging your module as an rpm package so I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account. - `python3 -sBm...
Could it be possible to make a new release and add a tag? Project hasn't been updated for the last 2 Years
This avoids Windows users needing to know to install `python-magic-bin`.
Currently testing on Windows is commented out in our GitHub Actions. https://github.com/ahupp/python-magic/blob/aa49677fbec9a4fc96b54e42c2517a2118d66db8/.github/workflows/ci.yml#L13-L14 Linux and macOS work just fine but on Windows the tests never complete.