Module magic


Classes

Magic
MagicException

Functions

_get_magic_type
coerce_filename
errorcheck_negative_one
errorcheck_null
from_buffer
from_file
magic_buffer
magic_file
magic_load

Variables

MAGIC_CHECK
MAGIC_COMPRESS
MAGIC_CONTINUE
MAGIC_DEBUG
MAGIC_DEVICES
MAGIC_ERROR
MAGIC_MIME
MAGIC_MIME_ENCODING
MAGIC_NONE
MAGIC_NO_CHECK_APPTYPE
MAGIC_NO_CHECK_ASCII
MAGIC_NO_CHECK_COMPRESS
MAGIC_NO_CHECK_ELF
MAGIC_NO_CHECK_FORTRAN
MAGIC_NO_CHECK_SOFT
MAGIC_NO_CHECK_TAR
MAGIC_NO_CHECK_TOKENS
MAGIC_NO_CHECK_TROFF
MAGIC_PRESERVE_ATIME
MAGIC_RAW
MAGIC_SYMLINK
_magic_buffer
_magic_file
_magic_load
dll
instances
libmagic
magic_check
magic_close
magic_compile
magic_errno
magic_error
magic_open
magic_setflags
magic_t
platform_to_lib

[hide private]