summaryrefslogtreecommitdiff
path: root/magic
Commit message (Collapse)AuthorAgeFilesLines
* add more doc pointers for compat mode, and enable PendingDeprecationWarningAdam Hupp2021-01-151-13/+11
|
* prefix add_compat with an underscore to avoid namespace pollutionAdam Hupp2021-01-151-2/+2
|
* remove from_open_file, since its duplicative with from_descriptor and hasnt ↵Adam Hupp2021-01-151-8/+0
| | | | been released yet
* move typing stubs next to implementationAdam Hupp2021-01-151-0/+86
|
* cpAdam Hupp2021-01-151-1/+2
|
* temorarily remove dropped support for python2Adam Hupp2021-01-151-2/+9
|
* Reformat according to PEPSchoolGuy2021-01-132-53/+59
| | | | I achieved this via the PyCharm Reformat Shortcut
* various cleanups proposed by debian folksAdam Hupp2018-01-141-3/+7
|
* Merge in compatability mode with libmagicAdam Hupp2017-12-042-1/+331
| | | | | | | | | | | | | The libmagic distribution uses the same package name `magic` as python-magic, but has an incompatible API. This change merges in a copy of libmagic's bindings, wrapped to give deprecation warnings. This is intended to a) mitigate the short-term pain to users and packagers who need to figure out which to use, and b) give us a path to merging the two sets of bindings. I'd be happy for libmagic to take over this package if we could find a path to it.
* add from_open_file to match libmagic binding featuresetAdam Hupp2017-12-041-0/+11
|
* Convert to a package so we can add more filesAdam Hupp2017-12-031-0/+426