CrabScout. The best software around.
Search

filetype.py

Identify local file formats from signatures instead of filenames.

h2non · Data and documents

GitHub projectOpen source Open on GitHub

How to try it

In a Python virtual environment, install filetype==1.2.0. Generate a synthetic PNG and ask the package to recognize its format.

What we tested

1.2.0. Generate a synthetic PNG and ask the package to recognize its format. Recognized the generated bytes as an image/png without a filename.

Reviews

Rate this repo

More to explore

  • GoAWKFilter and calculate over text and tabular data with AWK.GitHub projectOpen source
  • pupSelect text and elements from local HTML using terminal commands.GitHub projectOpen source
  • fx JSON toolExplore or transform JSON data in a terminal.GitHub projectOpen source

Share

What the labels mean

Save to your library