This is a simple pluggable python library that validate image file and size useful for all
type of python applications.
####How to use the packages
from image_file_validator.image_file_validator import check_file_type
check_for_image_size = check_file_type("./hello.png")
#FOR USAGE
if check_for_image_size == True:
print("valid image file")
else:
print("invalid image file)
# PIP PACKAGE DEPENDECIES
pip install filetype (pick your desired os)
### KINDLY MAKE PR for UPGRADE....
Change Log
====================
0.0.1 (22/04/2023)
--------------------
- First Release
Raw data
{
"_id": null,
"home_page": "https://github.com/Zeecoworld/image-file-validator",
"name": "image-file-validator",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "image-validate,image,image file validation",
"author": "Isaac Yakubu",
"author_email": "engrisaac1234@gmail.com",
"download_url": "",
"platform": null,
"description": "This is a simple pluggable python library that validate image file and size useful for all \r\ntype of python applications.\r\n\r\n\r\n####How to use the packages\r\n\r\n\r\nfrom image_file_validator.image_file_validator import check_file_type\r\n\r\ncheck_for_image_size = check_file_type(\"./hello.png\")\r\n\r\n#FOR USAGE \r\nif check_for_image_size == True:\r\n print(\"valid image file\")\r\nelse:\r\n print(\"invalid image file)\r\n\r\n\r\n\r\n# PIP PACKAGE DEPENDECIES\r\n\r\npip install filetype (pick your desired os)\r\n\r\n\r\n### KINDLY MAKE PR for UPGRADE....\r\n\r\n\r\n\r\n\r\n\r\nChange Log\r\n\r\n====================\r\n\r\n0.0.1 (22/04/2023)\r\n\r\n--------------------\r\n\r\n\r\n- First Release \r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A simple pluggable image file validator for all type of python applications",
"version": "0.0.6",
"project_urls": {
"Homepage": "https://github.com/Zeecoworld/image-file-validator"
},
"split_keywords": [
"image-validate",
"image",
"image file validation"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "73ea473546ec03265ff01cda4cbe8b80cfdd247e4e599526727a46f33778b092",
"md5": "4b77d84fb107a61d3cb3729ce24b3ca9",
"sha256": "4874eb2730ec752703a57929848a13583720c29ed9052128834947b2a6aef3fe"
},
"downloads": -1,
"filename": "image_file_validator-0.0.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "4b77d84fb107a61d3cb3729ce24b3ca9",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 3301,
"upload_time": "2023-07-19T10:00:12",
"upload_time_iso_8601": "2023-07-19T10:00:12.837968Z",
"url": "https://files.pythonhosted.org/packages/73/ea/473546ec03265ff01cda4cbe8b80cfdd247e4e599526727a46f33778b092/image_file_validator-0.0.6-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-07-19 10:00:12",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Zeecoworld",
"github_project": "image-file-validator",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "image-file-validator"
}