{ "info": { "author": "David Poirier", "author_email": "david-poirier-csn@users.noreply.github.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# whatimage\nPython library to detect image type from a few bytes, focussed on webby formats (old and new)\n\nCurrently supports:\n- JPEG\n- WEBP\n- GIF\n- PNG\n- HEIC\n- AVIF\n- BMP\n- TIFF\n- PGM/PGM/PPM\n\n\n## Installation\n```\npip install whatimage\n```\n\n## Usage\n```python\nimport whatimage\n\nwith open('image.jpg', 'rb') as f:\n data = f.read()\nfmt = whatimage.identify_image(data)\nprint(fmt)\n```\n> 'jpeg'\n\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/david-poirier-csn/whatimage", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "whatimage", "package_url": "https://pypi.org/project/whatimage/", "platform": "", "project_url": "https://pypi.org/project/whatimage/", "project_urls": { "Homepage": "https://github.com/david-poirier-csn/whatimage" }, "release_url": "https://pypi.org/project/whatimage/0.0.3/", "requires_dist": null, "requires_python": "", "summary": "Python library to detect image type from a few bytes", "version": "0.0.3" }, "last_serial": 4896969, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "074bdd52f27805b10a71c7721b9d4370", "sha256": "f69a6d87aac3ef6f1cb31c6d5c63c0d8d2df17033335af1f4ddf424719e19f2e" }, "downloads": -1, "filename": "whatimage-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "074bdd52f27805b10a71c7721b9d4370", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6773, "upload_time": "2019-03-04T07:51:59", "url": "https://files.pythonhosted.org/packages/e3/10/e82d4bf5b8be6c66713427c3bbeb857367006c158e0967d5cfdb7dc18028/whatimage-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8ae2fd597310a32a77caeeb37a22e2d7", "sha256": "f23f223dad7dedd722c064394d0d04188d34612e736278a1a3cb796ed55f96dd" }, "downloads": -1, "filename": "whatimage-0.0.1.tar.gz", "has_sig": false, "md5_digest": "8ae2fd597310a32a77caeeb37a22e2d7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1689, "upload_time": "2019-03-04T07:52:01", "url": "https://files.pythonhosted.org/packages/36/ef/f4effc04bd4ce190880578962374072eac0e5cbaaa8f9ecbaf5d18412c47/whatimage-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "d4b81b17fcc8d0b06f1eae537cdde396", "sha256": "738852e6f22eee340ffa9f0ab9df6c376f4f15adf26e4e915cc61007a5a24edd" }, "downloads": -1, "filename": "whatimage-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "d4b81b17fcc8d0b06f1eae537cdde396", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7079, "upload_time": "2019-03-05T01:20:01", "url": "https://files.pythonhosted.org/packages/40/86/f38feb0687886f628375def58deb0d5bf1475a4f191ec1f71706ff0d03f3/whatimage-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3d46544282870900987ee1c487401593", "sha256": "8427641e90a0799b7639eff0d5a0cd8cdbd629a9b2b61516effde7afe4834bd5" }, "downloads": -1, "filename": "whatimage-0.0.2.tar.gz", "has_sig": false, "md5_digest": "3d46544282870900987ee1c487401593", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1977, "upload_time": "2019-03-05T01:20:03", "url": "https://files.pythonhosted.org/packages/39/b2/e015c3520c4d72a33a106fefb22ffd05a32bd211649b08aebf763531a263/whatimage-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "0022571abb558bbc799729df74898d44", "sha256": "82c752936fc0ca2a7b9a3ef2298d450bf1d8ea83127406d9efbd36c28961ec01" }, "downloads": -1, "filename": "whatimage-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "0022571abb558bbc799729df74898d44", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7168, "upload_time": "2019-03-05T01:25:43", "url": "https://files.pythonhosted.org/packages/6b/84/66f1cbaa0ea04cd4d5284bbbb64724d2cd17fb7f743e75ee46e98a953318/whatimage-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3da3eaf69c0b62a6cfb906502eed3859", "sha256": "f30a3395929fc9b399fa444bacea14606c9a19e02f595f48c110aa39c0841432" }, "downloads": -1, "filename": "whatimage-0.0.3.tar.gz", "has_sig": false, "md5_digest": "3da3eaf69c0b62a6cfb906502eed3859", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2103, "upload_time": "2019-03-05T01:25:44", "url": "https://files.pythonhosted.org/packages/e9/ac/bc71e49fd15ffd9dc6622ad26b0b77baeafb32954d553855ca36a705e66d/whatimage-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0022571abb558bbc799729df74898d44", "sha256": "82c752936fc0ca2a7b9a3ef2298d450bf1d8ea83127406d9efbd36c28961ec01" }, "downloads": -1, "filename": "whatimage-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "0022571abb558bbc799729df74898d44", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7168, "upload_time": "2019-03-05T01:25:43", "url": "https://files.pythonhosted.org/packages/6b/84/66f1cbaa0ea04cd4d5284bbbb64724d2cd17fb7f743e75ee46e98a953318/whatimage-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3da3eaf69c0b62a6cfb906502eed3859", "sha256": "f30a3395929fc9b399fa444bacea14606c9a19e02f595f48c110aa39c0841432" }, "downloads": -1, "filename": "whatimage-0.0.3.tar.gz", "has_sig": false, "md5_digest": "3da3eaf69c0b62a6cfb906502eed3859", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2103, "upload_time": "2019-03-05T01:25:44", "url": "https://files.pythonhosted.org/packages/e9/ac/bc71e49fd15ffd9dc6622ad26b0b77baeafb32954d553855ca36a705e66d/whatimage-0.0.3.tar.gz" } ] }