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

Latest comments (0)

🌚 Friends don't let friends browse without dark mode.

Sorry, it's true.