DEV Community

reza shakeri
reza shakeri

Posted on


file validation in python Much easier and more reliable

file validatorIf you are looking for a safe way to validate your files, the file validator library will do this for you, this library also supports Django.With this library you can validate files based on extension, size, mimes and magic numbers

  1. File validation using the filetype library

  2. File validation using the python-magic library

  3. File validation using the mimetypes library

  4. File validation using the puremagic library

  5. File validation with Size

  6. Supporting for all mimes

  7. File validation simultaneously with all four libraries

You can access it through the link below

file validator

Oldest comments (0)

50 CLI Tools You Can't Live Without

The top 50 must-have CLI tools, including some scripts to help you automate the installation and updating of these tools on various systems/distros.