Skip to main content

Show detailed metadata for any file — images, audio, video, archives, PDFs, and more

Project description

whatfile

Show detailed metadata for any file — images, audio, video, archives, PDFs, and more.

pip install whatfile
whatfile image.jpg song.mp3 video.mp4

Backends

Format Info shown Required
JPEG, PNG, GIF, WebP, etc. dimensions, color mode, format Pillow (pip)
MP3, FLAC, OGG, WAV, etc. duration, bitrate, tags tinytag (pip) or ffprobe
MP4, MKV, AVI, MOV, etc. codec, resolution, duration ffprobe
ZIP, TAR, GZ, BZ2, XZ file count, compression ratio stdlib
PDF pages, version, title, author pypdf (pip) or pdfinfo
Any file size, permissions, MIME type

Examples

whatfile photo.jpg
whatfile *.mp3
whatfile document.pdf archive.tar.gz script.py

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

whatfile-1.0.0-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file whatfile-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: whatfile-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for whatfile-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 50e40e7c030d9794a364fbab863528d54a25da734418821066a35192cdd25960
MD5 955cb5e3f3cca169aa755b742d161f1e
BLAKE2b-256 0bf24da39588d392d724186a44cdf75e6061cd563378fee2f1c4c7a86ea4f0f7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page