A library for validating files in Python
Project description
File Validator
Features
If 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.
File validation using the filetype library
File validation using the python-magic library
File validation using the mimetypes library
File validation simultaneously with all three libraries
Supporting for all mimes
Functions to get mimes and file extensions
Documentation
Read the document for more information
Credits
This package was created with RezaShakeri
History
0.0.1 (2022-08-04)
First release on PyPI.
0.0.2 (2022-08-06)
Added django file validator
0.0.3 (2022-08-07)
Added File Validator With File Type Library
Added File Validator With Python Magic Library
0.0.4 (2022-08-07)
Added File Validator
0.0.5 (2022-08-08)
Added validator for pure python project
Added get_mime_type_with_python_magic function
Added get_extension_with_filetype_lib function
Added get_mime_type_with_filetype_lib function
Added file_validator_with_filetype_lib function
0.0.6 (2022-08-10)
Refactoring project files
0.0.7 (2022-08-10)
Adding Test To Project (file validator for pure python)
Deleting get_mime_type_with_python_magic
Deleting get_extension_with_filetype_lib
Deleting get_mime_type_with_filetype_lib
0.0.8 (2022-08-11)
Adding error message function for customization error messages
Adding constants.py
0.0.9 (2022-08-11)
Refactoring error message function
0.1.0 (2022-08-12)
Fixing Minor Bug
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.