[Bug 258593] [New Port] sysutils/py-puremagic Module that will identify a file based off it's magic numbers.

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 19 Sep 2021 07:26:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258593

            Bug ID: 258593
           Summary: [New Port] sysutils/py-puremagic Module that will
                    identify a file based off it's magic numbers.
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: james@french.id.au

Created attachment 228001
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=228001&action=edit
v1.10

Puremagic is a python module that will identify a file from 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 matches.

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.

WWW: https://pypi.org/project/puremagic/

-- 
You are receiving this mail because:
You are the assignee for the bug.