./sysutils/py-puremagic, Pure python implementation of magic file detection

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.28, Package name: py312-puremagic-1.28, Maintainer: pkgsrc-users

puremagic is a pure python module that will identify a file based off its
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.


Master sites:

Filesize: 307.563 KB

Version history: (Expand)


CVS history: (Expand)


   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2024-10-12 12:57:22 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
py-puremagic: update to 1.28.

Version 1.28

- Adding #99 New file support (thanks to Andy - NebularNerd)
- Fixing #100 FITS files no longer had mime type (thanks to ejeschke)
   2024-07-14 15:28:51 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
py-puremagic: update to 1.26.

Version 1.26
------------

- Adding #87 sndhdr update and HD/CD/DVD Image files (thanks to Andy - NebularNerd)
- Adding #88 Add .caf mime type (thanks to William Bonnaventure)
- Fixing #89 add py.typed to package_data (thanks to Sebastian Kreft)
   2024-06-19 06:59:31 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-puremagic: updated to 1.25

Version 1.25
- Changing to support Python 3.7 again
   2024-06-18 14:43:45 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-puremagic: updated to 1.24

Version 1.24
------------
- Adding `.what()` to be a drop in replacement for `imghdr.what()` (thanks to \ 
Christian Clauss and Andy - NebularNerd)
- Adding Test on Python 3.13 beta (thanks to Christian Clauss)
- Adding from __future__ import annotations (thanks to Christian Clauss
- Changing all HTML extensions to full `.html`
- Fixing Confidence sorting (thanks to Andy - NebularNerd)
   2024-05-05 12:32:42 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
py-puremagic: update to 1.23.

Version 1.23
------------

- Fixing #32 MP3 Detection improvements (thanks to Andy - NebularNerd and Sander)
   2024-04-28 11:59:48 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
py-puremagic: update to 1.22.

Version 1.22
------------

- Adding #52 magic data for JPEG XS (thanks to Andy - NebularNerd)
- Adding #57 Multi-part checks with negative offsets (thanks to Andy - NebularNerd)
- Fixing #60 encoding warning (thanks to Andy - NebularNerd and Jason R. Coombs)
   2024-02-25 16:19:59 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
py-puremagic: update to 1.21.

Version 1.21
------------

- Adding #50 details for  ZSoft .pcx files (thanks to Andy - NebularNerd)
- Adding #51 details for JXL files (thanks to Andy - NebularNerd)
- Adding #54 missing py.typed file (thanks to Raphaƫl Vinot)
- Fixing #53 magic data for GIF images (thanks to Andy - NebularNerd)