Line 0
Link Here
|
|
|
1 |
Puremagic is a python module that will identify a file from magic numbers |
2 |
|
3 |
It is designed to be minimalistic and inherently cross platform compatible. It |
4 |
is also designed to be a stand in for python-magic, it incorporates the |
5 |
functions from_file(filename[, mime]) and from_string(string[, mime]) however |
6 |
the magic_file() and magic_string() are more powerful and will also display |
7 |
confidence and duplicate matches. |
8 |
|
9 |
It does NOT try to match files off non-magic string. In other words it will not |
10 |
search for a string within a certain window of bytes like others might. |
11 |
|
12 |
WWW: https://pypi.org/project/puremagic/ |