Skip to main content

File type identification using libmagic

Project description

This module uses ctypes to access the libmagic file type identification library. It makes use of the local magic database and supports both textual and MIME-type output.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-magic-0.4.15.tar.gz (73.2 kB view details)

Uploaded Source

Built Distribution

python_magic-0.4.15-py2.py3-none-any.whl (5.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file python-magic-0.4.15.tar.gz.

File metadata

File hashes

Hashes for python-magic-0.4.15.tar.gz
Algorithm Hash digest
SHA256 f3765c0f582d2dfc72c15f3b5a82aecfae9498bd29ca840d72f37d7bd38bfcd5
MD5 e384c95a47218f66c6501cd6dd45ff59
BLAKE2b-256 843080932401906eaf787f2e9bd86dc458f1d2e75b064b4c187341f29516945c

See more details on using hashes here.

File details

Details for the file python_magic-0.4.15-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for python_magic-0.4.15-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f2674dcfad52ae6c49d4803fa027809540b130db1dec928cfbb9240316831375
MD5 5e9a5506e120867a89d6c7867fa12183
BLAKE2b-256 42a176d30c79992e3750dac6790ce16f056f870d368ba142f83f75f694d93001

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page