python-magic icon indicating copy to clipboard operation
python-magic copied to clipboard

A python wrapper for libmagic

Results 62 python-magic issues
Sort by recently updated
recently updated
newest added

In #318, I had to add `@pytest.mark.skipif(sys.platform == "linux", reason="'JSON data' not found")` to two tests. * #318 It would be great if someone could modify `test/python_magic_test.py` to fix these...

The following code fails if the file has `æ`, `å` or `ø` in it. I can imagine it would fail with other non-English characters as well. Would it be possible...

- **simplify tests into something more delarative** - **update magic/compat.py**

Hello dear maintainers, Since a while, i worked on windows. At the beginning, i worked with python-magic-bin. But few years ago my security team reject the lib because of some...

The sdist package at PyPI is missing tests. Please add tests to sdist to make downstream testing easier. Thank you.

Supersedes #357, follow-up on https://github.com/ahupp/python-magic/commit/8a35137cdd4b0aa42291e2ce4ad276e47d731cc5

Good day all, I apologize if you get this all the time but I was wondering if you plan to publish any new packages to pypi? We just recently started...

It seems that the current output has parenthesis around `s` of `pages`. This is building the module in Mageia cauldron. libmagic is at 5.45. ``` + /usr/bin/pytest ============================= test session...

在debian系统上对avif识别为application/octet-stream,但是在macos上识别为image/avif

As per https://github.com/ahupp/python-magic/issues/228#issuecomment-741967910, libmagic should be able to do this, but I do not see a way to get this library to give me the list of possible file extensions...