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.6.tar.gz
.
File metadata
- Download URL: webp_support-0.2.6.tar.gz
- Upload date:
- Size: 24.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41c03edc26e01503ba042d9296c1636489dd64586f69383739b12215a604f500 |
|
MD5 | 85f53243cfa418976afef93140fed18b |
|
BLAKE2b-256 | 5e30e645d9f9a69d750f2acf3197bbb336cd785340ddffd15405b17ad67313f1 |
Provenance
File details
Details for the file webp_support-0.2.6-cp311-cp311-win_amd64.whl
.
File metadata
- Download URL: webp_support-0.2.6-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 33.4 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e472a52df9dbcf8bc602134972f3adf3ca19c7d3ad0345d8ef6de0f8e541f33 |
|
MD5 | 9a1d17b92fac914a30a9bd9987cd8e34 |
|
BLAKE2b-256 | c657c4b41dbf5dedff3fb54dab2ae6758304d59e15d44527e86791931ba2a0a3 |
Provenance
File details
Details for the file webp_support-0.2.6-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.6-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 52.8 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.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3821009532483693c55e39ce77a7d35ba38128bb1046c2e206250f6752fdc600 |
|
MD5 | a068eadfb3fd0a0309aec9a3197448db |
|
BLAKE2b-256 | 43ab38d25d6b98dc35632b8c82e980eff3b5c662a49cd48d5000f02d14489b3f |
Provenance
File details
Details for the file webp_support-0.2.6-cp311-cp311-macosx_10_9_universal2.whl
.
File metadata
- Download URL: webp_support-0.2.6-cp311-cp311-macosx_10_9_universal2.whl
- Upload date:
- Size: 37.9 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.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ead6e05c4cc50ad3dff5a0453e8a6a6989626f719da47b3d839f7fc2ae35cc9 |
|
MD5 | d07a57701983adad3cc0ad070f006684 |
|
BLAKE2b-256 | 7f2753d302be1006f4aec60194f29ed650f1c00691035de559cc1b19c12b49c8 |
Provenance
File details
Details for the file webp_support-0.2.6-cp310-cp310-win_amd64.whl
.
File metadata
- Download URL: webp_support-0.2.6-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 33.8 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36fb9a28ab62d45549a9f5e487e43a7ffec040d2af06407666a1d1221acfa91d |
|
MD5 | 16f7cacf512df1e764b9d9ab8310d970 |
|
BLAKE2b-256 | fb8278e45027b67ae68bb98f644acb5e9464b47edcdc0cd7ccaa34bd05dcf3cc |
Provenance
File details
Details for the file webp_support-0.2.6-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.6-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 53.8 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.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9f8ba97bb8956ec4f8b87db459e8aab86619fbd509789c072b0ec584eaaa3f6 |
|
MD5 | 8d12e23d8f3785169443866c4c56ea19 |
|
BLAKE2b-256 | 453bece07cb6e93844cc8d45ad94dad2eb9ce33fb848e2b1bebf448adadd8955 |
Provenance
File details
Details for the file webp_support-0.2.6-cp310-cp310-macosx_11_0_x86_64.whl
.
File metadata
- Download URL: webp_support-0.2.6-cp310-cp310-macosx_11_0_x86_64.whl
- Upload date:
- Size: 31.3 kB
- Tags: CPython 3.10, macOS 11.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d99393d41d708109320d4746d8b7872188486ae20b340f0e6e926e5f59e810a6 |
|
MD5 | a647236c0e58aaca3218434719b4e8d3 |
|
BLAKE2b-256 | 9125fee438c9d02bba9eff6a0358c430e868b5a671e002dabcea9b0ceb72c31e |
Provenance
File details
Details for the file webp_support-0.2.6-cp39-cp39-win_amd64.whl
.
File metadata
- Download URL: webp_support-0.2.6-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 33.8 kB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47fefcd0b56fbaa357c11479d2bbccd230a211e4dc2abf809844b2303e4be24f |
|
MD5 | 8b6de75087a0ca2fdc6ffed2a46b748a |
|
BLAKE2b-256 | 805a64a7704a565646257797036fa3f93890d5c8e66d3dc76577a200693ab6c2 |
Provenance
File details
Details for the file webp_support-0.2.6-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.6-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 53.6 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.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0444975fc18f7a8377c85a5aeb264d38ef5fc5756deaf3e65b7f12199ba25975 |
|
MD5 | 595d00cf69a775f43ed54f08b1d1e956 |
|
BLAKE2b-256 | cf450c949abf1685bf7888e743a83e716cd4cd974a5ae54f0e8be7ceaf813260 |
Provenance
File details
Details for the file webp_support-0.2.6-cp39-cp39-macosx_11_0_x86_64.whl
.
File metadata
- Download URL: webp_support-0.2.6-cp39-cp39-macosx_11_0_x86_64.whl
- Upload date:
- Size: 31.3 kB
- Tags: CPython 3.9, macOS 11.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7dc62d71a506e10b7ac713143ca47272922bc1b329e84c5f5d202f68a166ba9d |
|
MD5 | 96725d6cfae61d862606f10f54f10dca |
|
BLAKE2b-256 | 20e1da9424c566638450b185678ef89a07573c89ae93da7362ae868d58d7f8ae |
Provenance
File details
Details for the file webp_support-0.2.6-cp38-cp38-win_amd64.whl
.
File metadata
- Download URL: webp_support-0.2.6-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 33.8 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c599f3da110fd97d44b5d25657008be205f1188ed0229f015644d8a44f83d32 |
|
MD5 | d153d2396e5e21c3142f53bb0ae970f8 |
|
BLAKE2b-256 | c949397f47d368ed44a2d795359e8399abdda9ec4fc956711503f0a1867d7f3c |
Provenance
File details
Details for the file webp_support-0.2.6-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.6-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 54.9 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.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a64aba75977f0c30218511414fe9e27ccc74e121e5f181546079e74242cb5cf1 |
|
MD5 | 0a43f40c60702b1c82d5d2d2e148c5f6 |
|
BLAKE2b-256 | d1827da5f431d4976a0f3cb460242ddad47d1a4a7b999ee4fcad659abba2bf00 |
Provenance
File details
Details for the file webp_support-0.2.6-cp38-cp38-macosx_10_15_x86_64.whl
.
File metadata
- Download URL: webp_support-0.2.6-cp38-cp38-macosx_10_15_x86_64.whl
- Upload date:
- Size: 31.3 kB
- Tags: CPython 3.8, macOS 10.15+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdf1e0386504cc2ed197665a9d1b840687cf59fe22e84583f2396a1093b3c17d |
|
MD5 | 708c3aad7e54e79d47d4aec33e0021f8 |
|
BLAKE2b-256 | 12d93b691a00d17d8e64e4fa94b173eaf2496c82397e9fb8d7d9ec7aef69b10f |