filetype.py icon indicating copy to clipboard operation
filetype.py copied to clipboard

Price-matching other repos

Open DonaldTsang opened this issue 6 years ago • 4 comments

These are Python repos with lots of file signatures that might not have been covered by filetype.py

  • https://github.com/floyernick/fleep-py/blob/master/fleep/data.json (193 stars)
  • https://github.com/h2non/filetype.py/tree/master/filetype/types (this repo)
  • https://github.com/openpreserve/fido/blob/master/fido/conf/format_extensions.xml (79 stars)
  • https://github.com/cdgriffith/puremagic/blob/master/puremagic/magic_data.json (47 stars)
  • https://github.com/omriher/Whatype/blob/master/whatype/magics.csv (12 stars)
  • https://github.com/schlerp/pyfsig/blob/master/src/pyfsig/file_signatures.py (9 stars)
  • https://github.com/7h3rAm/cigma/blob/master/cigma/magicbytes.json (1 star)

DonaldTsang avatar Nov 06 '19 16:11 DonaldTsang

Please, provide a PR with the missing type files and I will happily merge it into filetype.py.

h2non avatar Nov 06 '19 17:11 h2non

Also extra notes on https://github.com/openpreserve/fido/issues/173#issuecomment-550987558

Will create a list of files and their corresponding signature in a few weeks.

DonaldTsang avatar Nov 08 '19 07:11 DonaldTsang

https://en.wikipedia.org/wiki/List_of_file_signatures

dosas avatar Dec 27 '20 16:12 dosas

@dosas thanks for the help, however, I think that different sources have different signature definitions for the same file types. It would be great if you can do a basic comparison between each of the sources.

DonaldTsang avatar Dec 28 '20 12:12 DonaldTsang