SlackBuilds Repository

15.0 > Python > python3-puremagic (1.15)

puremagic is a pure python module that will identify a file based off
it's magic numbers.

It is designed to be minimalistic and inherently cross platform
compatible. It is also designed to be a stand in for python-magic, it
incorporates the functions from_file(filename[, mime]) and
from_string(string[, mime]) however the magic_file() and magic_string()
are more powerful and will also display confidence and duplicate

It does NOT try to match files off non-magic string. In other words it
will not search for a string within a certain window of bytes like
others might.

Advantages over using a wrapper for 'file' or 'libmagic':
* Faster
* Lightweight
* Cross platform compatible
* No dependencies

* Does not have as many file types
* No multilingual comments
* Duplications due to small or reused magic numbers

Maintained by: Steven Voges
Keywords: puremagic,identify,magic,numbers
ChangeLog: python3-puremagic


Source Downloads:
puremagic-1.15.tar.gz (421f523ec7be0c7cdb3cf600f6dfaae6)

Download SlackBuild:
python3-puremagic.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Validated for Slackware 15.0

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2023 Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds