A Quickly determine whether Webp is supported from UserAgent.
Project description
webp_supported
Quickly determine whether Webp is supported from UserAgent.
support webp browser list
- FireFox >= 65
- Chrome >= 32
- Edge >= 18
- AppleWebKit >= 605 # Safari 14
- OPR >= 19
- UCBrowser >= 12
- SamsungBrowser >= 4
- QQBrowser >= 10
using
webp_supported(user_agent: bytes) -> bool
example:
from webp_support import webp_supported
user_agent = b"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36"
webp_supported(user_agent) # Chrome > 32 -> True
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file webp_support-0.2.8.tar.gz
.
File metadata
- Download URL: webp_support-0.2.8.tar.gz
- Upload date:
- Size: 44.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 752f37ddfee7f83336184d141c469cb39b7d8e593c69caf8aaeec432dcde7bb5 |
|
MD5 | 365320be97ddb09698a2d8b91720d7e6 |
|
BLAKE2b-256 | cbaf26f02b14f689eaa8f247b01163dfe13b7f18a1e0b3ea8eb6779d0c619bee |
File details
Details for the file webp_support-0.2.8-cp312-cp312-win_amd64.whl
.
File metadata
- Download URL: webp_support-0.2.8-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 61.1 kB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d98d6b9ad5c3eef1c85fb5ac9b40b8594d420817210854bc2b959453e2478194 |
|
MD5 | 6e1eda8cb7900028bbd1ae16f3109451 |
|
BLAKE2b-256 | 28cb08d72f8f4e59831b213a742c80d252fbc416ca9741b0888b473564a803bc |
File details
Details for the file webp_support-0.2.8-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: webp_support-0.2.8-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 122.4 kB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc2ff3232ee5a0e55daed39bbecb777272eae9b0d2fc013ab9e7038a7e8e5add |
|
MD5 | 8e6468f5225e594163907fda14e2289d |
|
BLAKE2b-256 | 90b58722bf4b2e4bf89e214354afc5753d1a15f220c33754765d6323524c8f58 |
File details
Details for the file webp_support-0.2.8-cp312-cp312-macosx_10_9_universal2.whl
.
File metadata
- Download URL: webp_support-0.2.8-cp312-cp312-macosx_10_9_universal2.whl
- Upload date:
- Size: 73.9 kB
- Tags: CPython 3.12, macOS 10.9+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1771f5268cfba897d09cfe7cee5ca4d484e8c0d11b9a369779842d6300f184ae |
|
MD5 | 1d59dc5140b34d9bba3066aeac8c88ce |
|
BLAKE2b-256 | 66bd1bbff3e1dd7e0875e056723625387f00e49909204c074998066876bfe20e |
File details
Details for the file webp_support-0.2.8-cp311-cp311-win_amd64.whl
.
File metadata
- Download URL: webp_support-0.2.8-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 61.0 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39adf803278cc1d11e1e7ee703db4179fa836042e3e6b31c0afe0a1949b5f5d1 |
|
MD5 | 7e2409e4412819af93d234f93e5065a0 |
|
BLAKE2b-256 | b01204058bdf95b0974d9d2fa57b30c751e9f7b14011e6d23cd0d798c3fa5f68 |
File details
Details for the file webp_support-0.2.8-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: webp_support-0.2.8-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 117.1 kB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85f41621a04e81d10703fb0cf569d7de6c25a1a1c761e5f563f3ded28124aa08 |
|
MD5 | 9d2dfba04292d85c097eebc585045f55 |
|
BLAKE2b-256 | b0328f3bf50479bf790b39c2aae6a561f074099bf7c0a6a9c41559a183c0f661 |
File details
Details for the file webp_support-0.2.8-cp311-cp311-macosx_10_9_universal2.whl
.
File metadata
- Download URL: webp_support-0.2.8-cp311-cp311-macosx_10_9_universal2.whl
- Upload date:
- Size: 73.6 kB
- Tags: CPython 3.11, macOS 10.9+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 289a901895f4d66479578c949ecd5296e84cd9dd810c2094299a4f11dd44c61e |
|
MD5 | 26c2e55729cacc610a5b389792c58ec6 |
|
BLAKE2b-256 | fac8387acbfbe06295f05a8994ccf76ab1cc307bf3a3647d9545724f2ed733b0 |
File details
Details for the file webp_support-0.2.8-cp310-cp310-win_amd64.whl
.
File metadata
- Download URL: webp_support-0.2.8-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 61.0 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fca4a06e14f8faccdf6272b17deddac2ae553b0a7b4224f7d2bd1a6fbfb15777 |
|
MD5 | 1c41969eafcf0c9dfd0c8fdaa8d23c3e |
|
BLAKE2b-256 | d45c0a1d4c25a3e225f2b8533498021567bc8cee3604ac19642e509debf05391 |
File details
Details for the file webp_support-0.2.8-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: webp_support-0.2.8-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 112.6 kB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d7f4b7d2054e6acb1e5d69f5f00f1d480eabb4536ecb407e4398696f65cddae |
|
MD5 | 3a5c457e4bc92c74b47f8803ab789c86 |
|
BLAKE2b-256 | 4a93421b502110195d9a6d39a4914de173e18c3e527c02f959906152fd1c7d1c |
File details
Details for the file webp_support-0.2.8-cp310-cp310-macosx_11_0_x86_64.whl
.
File metadata
- Download URL: webp_support-0.2.8-cp310-cp310-macosx_11_0_x86_64.whl
- Upload date:
- Size: 59.7 kB
- Tags: CPython 3.10, macOS 11.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1cba1c38f1c4df5f2d722eabe4583f33859d199e24be7903f1cf21269560c523 |
|
MD5 | e52737258f13e05c9a409b9ed9e1609a |
|
BLAKE2b-256 | e3a7202451371f2c230ea3dcbcbe36d5250a2e41651b0814dc51159cbda3a490 |
File details
Details for the file webp_support-0.2.8-cp39-cp39-win_amd64.whl
.
File metadata
- Download URL: webp_support-0.2.8-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 61.0 kB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b87bc98f56396afdbc080fee805e92df45dcf107af4f7798be44ff50fe78956b |
|
MD5 | df2d01e34881873ecadb2b14eafaa5ec |
|
BLAKE2b-256 | d30d12bacb2c027f86d1106f02f04127579a10be40b7b6516e4d84b1a7518533 |
File details
Details for the file webp_support-0.2.8-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: webp_support-0.2.8-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 112.4 kB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 118def6990159f761232791690e0a901a3ff10b2005b556cb4ea96b472390482 |
|
MD5 | dc1067d2544f9e445ca4a3df739ebe99 |
|
BLAKE2b-256 | 6087e0e62d42bc27f6d45fbcee8e107ca9333e89fca3f9af2126841eadb3ba5c |
File details
Details for the file webp_support-0.2.8-cp39-cp39-macosx_11_0_x86_64.whl
.
File metadata
- Download URL: webp_support-0.2.8-cp39-cp39-macosx_11_0_x86_64.whl
- Upload date:
- Size: 59.7 kB
- Tags: CPython 3.9, macOS 11.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ea7c5fda46bb7286dd3076d841582e9b2e2e5471b4614ebeed06eb0e497e82a |
|
MD5 | 9734f0f40ee2f95b507f29e628063e3f |
|
BLAKE2b-256 | f3b013119fec5b34536b345a7d4c21709bfe37d058b771c26fdce14f6e87aee9 |
File details
Details for the file webp_support-0.2.8-cp38-cp38-win_amd64.whl
.
File metadata
- Download URL: webp_support-0.2.8-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 61.0 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6111bddd27d0eef3b795acae7d82749d173bbe23d5245777d889c696a44348cb |
|
MD5 | 2687f75a87c6cc92529a53e905de3be2 |
|
BLAKE2b-256 | 8475f325ec35b33be9a10f43d1dd545316a915219362b344e6fa67b4b478608b |
File details
Details for the file webp_support-0.2.8-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: webp_support-0.2.8-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 113.1 kB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 236082e59e80d333e6d6bf8e9e139424a0cb81241591b266bf6aa36c2a45edf8 |
|
MD5 | 49b313f67a16271e576c7ecf39769b63 |
|
BLAKE2b-256 | f8bf2b2831ee8b8ecfb53e82ad63e8b2e12d0d0b41f25ba2366f0757f66aa187 |
File details
Details for the file webp_support-0.2.8-cp38-cp38-macosx_11_0_x86_64.whl
.
File metadata
- Download URL: webp_support-0.2.8-cp38-cp38-macosx_11_0_x86_64.whl
- Upload date:
- Size: 59.6 kB
- Tags: CPython 3.8, macOS 11.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 841e9678f56547adb1a348c0ff4150445f8aa3553cd7ec0df97c79efa20372bb |
|
MD5 | ded74db2125cce8b48d1eec004e75b66 |
|
BLAKE2b-256 | d83212ac8e6feb4596936d09905e505d10aa43db819a96562bbcfa0f3db4a722 |