Python binding to the Brotli library
Project description
brotlipy
This library contains Python bindings for the reference Brotli encoder/decoder, available here. This allows Python software to use the Brotli compression algorithm directly from Python code.
To use it simply, try this:
import brotli
data = brotli.decompress(compressed_data)
More information can be found in the documentation.
License
The source code of brotlipy is available under the MIT license. Brotli itself is made available under the Version 2.0 of the Apache Software License. See the LICENSE and libbrotli/LICENSE files for more information.
Changelog
0.7.0 (2017-05-30)
Update to v0.6.0 of the Brotli library.
0.6.0 (2016-09-08)
Resolved a bug where decompress() would return an empty bytestring instead of erroring if the provided bytestring was small enough.
Added the finish() method to the streaming decompressor.
0.5.1 (2016-08-17)
Update to v0.5.2 of the Brotli library.
Add new exception type (Error).
Add compatiblity with C++ brotli library by aliasing Error to error.
Extra error checking of input parameters to the compressor.
0.5.0 (2016-08-16)
Update to v0.5.0 of the Brotli library.
Extend one-shot compression API to include all control parameters.
Added streaming/incremental compression API.
Added flags to control compression mode.
0.4.0 (2016-08-01)
Update to v0.4.0 of the Brotli library.
0.3.0 (2016-05-11)
Update to v0.3.0 of the Brotli library.
0.2.0 (2015-10-05)
Fix broken brotli.compress support on Windows.
0.1.3 (2015-10-05)
Added basic for brotli.compress through a C wrapper included in this library.
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.
Source Distribution
Built Distributions
Hashes for brotlipy-0.7.0-pp226-pp226u-macosx_10_10_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 786afc8c9bd67de8d31f46e408a3386331e126829114e4db034f91eacb05396d |
|
MD5 | 6267e2b2a1dba84b72fab05aa7b62bc6 |
|
BLAKE2b-256 | 47de578d8dbbd4186fed25061d5534cbdeef2e9b362b25d828f2f8128814bca2 |
Hashes for brotlipy-0.7.0-pp37-pypy37_pp73-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4864ac52c116ea3e3a844248a9c9fbebb8797891cbca55484ecb6eed3ebeba24 |
|
MD5 | 788fab1c06b661e896aba17ba4ceff36 |
|
BLAKE2b-256 | 05704fab02ea55e4aae9a93bfe944ae3b3677120cf7bd2aaa39e4ff23c3aa27f |
Hashes for brotlipy-0.7.0-pp36-pypy36_pp73-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 890b973039ba26c3ad2e86e8908ab527ed64f9b1357f81a676604da8088e4bf9 |
|
MD5 | 94d5ceff8a8dcb06a63eb53b284a5e7a |
|
BLAKE2b-256 | a91f326b088cac097acf3a2fa5e4354c9db3c206b80472d9e738f89976fa0ba6 |
Hashes for brotlipy-0.7.0-cp39-cp39-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b21341eab7c939214e457e24b265594067a6ad268305289148ebaf2dacef325 |
|
MD5 | b88a74cbda2ff678a1eb93f79a9960fc |
|
BLAKE2b-256 | 6ca9020f7f74f20ec57a2859a84f23422275e42a4847fc7c18adc1a8bf8d8a5f |
Hashes for brotlipy-0.7.0-cp39-cp39-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08a16ebe2ffc52f645c076f96b138f185e74e5d59b4a65e84af17d5997d82890 |
|
MD5 | 094f7962a9a76f6587b7d36f8f07bc39 |
|
BLAKE2b-256 | 41eb03d5ecd34e1095e69877a68fe8b9e4f942916ae9f7ccff1bdb90ae622bce |
Hashes for brotlipy-0.7.0-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bac11c1ffba9eaa2894ec958a44e7f17778b3303c2ee9f99c39fcc511c26668 |
|
MD5 | a04baf6e4e55b1c82af45b0704acdd8a |
|
BLAKE2b-256 | 3549e7f0647e2f2c8314c83a66bfe07527c470263d026c181881f6342313e25b |
Hashes for brotlipy-0.7.0-cp38-cp38-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22a53ccebcce2425e19f99682c12be510bf27bd75c9b77a1720db63047a77554 |
|
MD5 | 2a3a6c6e1709e92d9f56bbe2aa9193e0 |
|
BLAKE2b-256 | 3cc6ea0eb1d7f5dc16b7e03d3a039475271df9f3e8b8706affdcdca71a26be15 |
Hashes for brotlipy-0.7.0-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1379347337dc3d20b2d61456d44ccce13e0625db2611c368023b4194d5e2477f |
|
MD5 | 12ae7b2e925b0f0f9fe7f8e8f39b6772 |
|
BLAKE2b-256 | 058dfc782a6aa2ca12f569660a397eb7dedc13ea95badafda09c78fcd051cab4 |
Hashes for brotlipy-0.7.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5664fe14f3a613431db622172bad923096a303d3adce55536f4409c8e2eafba4 |
|
MD5 | 0562b51d2ba78009a9558c7ad3b6eb09 |
|
BLAKE2b-256 | de96dcdd08a56d8a708bcd3130b326bd15dfa045bfd163190456949c9c15d35f |
Hashes for brotlipy-0.7.0-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e4638b49835d567d447a2cfacec109f9a777f219f071312268b351b6839436d |
|
MD5 | 58ef2de7bef7dc31f0db664de0bedf2c |
|
BLAKE2b-256 | 5fd3dbc8aafa09565a4946f788d8524e53772036f8f6ab280672775985b0f9d2 |
Hashes for brotlipy-0.7.0-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09ec3e125d16749b31c74f021aba809541b3564e5359f8c265cbae442810b41a |
|
MD5 | 68b20d6421291cf26befc558778bcbb5 |
|
BLAKE2b-256 | 01f134edfb4429a7cd6b8ff81bdf78639c17f3a4a005c963a01d4e8483e099d0 |
Hashes for brotlipy-0.7.0-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e5c64522364a9ebcdf47c5744a5ddeb3f934742d31e61ebfbbc095460b47162 |
|
MD5 | eba600322afcd9ff0b711d2c28b06ef5 |
|
BLAKE2b-256 | 1955649f1011db720d1fc4a7cf99256d2beaea08bd06636fbf9a88859f8a683c |
Hashes for brotlipy-0.7.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ea4e578241504b58f2456a6c69952c88866c794648bdc74baee74839da61d44 |
|
MD5 | 59e71a0b86ac51110ff62f8824bd7c15 |
|
BLAKE2b-256 | b8e6be86d2d6565fcf4bd82cca288ac1e264a50dbfa41bef86b63b5d69252fca |
Hashes for brotlipy-0.7.0-cp36-cp36m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2699945a0a992c04fc7dc7fa2f1d0575a2c8b4b769f2874a08e8eae46bef36ae |
|
MD5 | 2e6c4e48de415c35687f559ed675998e |
|
BLAKE2b-256 | b303f73e18bf480de1b8b033d2f1259875727fb02a39430906b95e889985dd1f |
Hashes for brotlipy-0.7.0-cp36-cp36m-macosx_10_6_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a80319ae13ea8dd60ecdc4f5ccf6da3ae64787765923256b62c598c5bba4121 |
|
MD5 | 0279a80a35c34526c1ec32f01441f6a9 |
|
BLAKE2b-256 | 7c17365232505a464b27b993f7fed99d235eb0a46a538a470d6d9a4b60b6055d |
Hashes for brotlipy-0.7.0-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c1d5e2cf945a46975bdb11a19257fa057b67591eb232f393d260e7246d9e571 |
|
MD5 | 4f221f6cf18f67ff0d0fbf552a2bf9d0 |
|
BLAKE2b-256 | ed9f34289c5ef1c8805128dd7de7074de3fc83081f26dd3d9805d243fc34c753 |
Hashes for brotlipy-0.7.0-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc6c5ee0df9732a44d08edab32f8a616b769cc5a4155a12d2d010d248eb3fb07 |
|
MD5 | f9e257736d4fe274cbe830e38eb238dd |
|
BLAKE2b-256 | 62792b02e6f06a21f4dcd5258491068f1c1c637863f789221edb68c2bcb60e2a |
Hashes for brotlipy-0.7.0-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9448227b0df082e574c45c983fa5cd4bda7bfb11ea6b59def0940c1647be0c3c |
|
MD5 | 20a5328ce11ceaf254346612c14aea79 |
|
BLAKE2b-256 | 5ccf30c9fa63ab89340584cad3b332e63d57bc18ac48302e628666c50c5cc637 |
Hashes for brotlipy-0.7.0-cp35-cp35m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e31f7adcc5851ca06134705fcf3478210da45d35ad75ec181e1ce9ce345bb38 |
|
MD5 | 0ab7d6b5245d736dce55622d0397979c |
|
BLAKE2b-256 | edae5999b20d0dbf7bbac50f417585367dd7cd1ce4364be97d3bf48b88ebbb25 |
Hashes for brotlipy-0.7.0-cp35-cp35m-macosx_10_6_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07194f4768eb62a4f4ea76b6d0df6ade185e24ebd85877c351daa0a069f1111a |
|
MD5 | fef625eca57b9958c28b908f0d9e0cc8 |
|
BLAKE2b-256 | f0d9446fa83d92c396cff66d4f9fc4330a74b36f8c5dc71fef1446903764f072 |
Hashes for brotlipy-0.7.0-cp35-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac1d66c9774ee62e762750e399a0c95e93b180e96179b645f28b162b55ae8adc |
|
MD5 | 636595db2b516e41fe9c08967c5f0fd8 |
|
BLAKE2b-256 | 035341f17238db696c4c95019174ca5bfd2396ef379c7918ae4f6ff82529ee92 |
Hashes for brotlipy-0.7.0-cp35-abi3-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79ab3bca8dd12c17e092273484f2ac48b906de2b4828dcdf6a7d520f99646ab3 |
|
MD5 | 20d0b8a1b4b22f9438e52a20d3a5138f |
|
BLAKE2b-256 | 1ddb94a242376511ce71e9758169dd11ca9cf5e8f675e12dede8fbcea644c089 |
Hashes for brotlipy-0.7.0-cp35-abi3-manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5c549ae5928dda952463196180445c24d6fad2d73cb13bd118293aced31b771 |
|
MD5 | 20e058f0a14860932a32b43d0383edd6 |
|
BLAKE2b-256 | 7d19416936acb7efa79164be7f09a95e26ba03649dcb7799254395ea2f140635 |
Hashes for brotlipy-0.7.0-cp35-abi3-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7cf5bb69e767a59acc3da0d199d4b5d0c9fed7bef3ffa3efa80c6f39095686b |
|
MD5 | cf1d4d66a33a1cf59e6d3917bc0c6073 |
|
BLAKE2b-256 | 972e372bc34bd5741212ac884b5d88f284ba7369f848bccb9a80b458a9224576 |
Hashes for brotlipy-0.7.0-cp35-abi3-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ef230ca9e168ce2b7dc173a48a0cc3d78bcdf0bd0ea7743472a317041a4768e |
|
MD5 | 817afa801ccb95f55c72b3411043942b |
|
BLAKE2b-256 | a171844dc49400ff6c82b169454c03376d3cf68b01543b7e99bd502a9295a5ba |
Hashes for brotlipy-0.7.0-cp35-abi3-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ff18e42f51ebc9d9d77a0db33f99ad95f01dd431e4491f0eca519b90e9415a9 |
|
MD5 | 671cfc8a382431b031dacfa07fe34f0d |
|
BLAKE2b-256 | b31bca5c77fe4a5b99cef24767b48254ea50ffad813407c74aa06d93089d1014 |
Hashes for brotlipy-0.7.0-cp35-abi3-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82f61506d001e626ec3a1ac8a69df11eb3555a4878599befcb672c8178befac8 |
|
MD5 | d013013f6bda56fd725fceae809d03b7 |
|
BLAKE2b-256 | 3c58998e70ed426a86f641d49c7a107eaf17de1f7e22d65b1e0b4e33deb172b9 |
Hashes for brotlipy-0.7.0-cp35-abi3-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 382971a641125323e90486244d6266ffb0e1f4dd920fbdcf508d2a19acc7c3b3 |
|
MD5 | c419acd6960cf464e1ba6bf0c373fc2c |
|
BLAKE2b-256 | c098446b36a3517eb1b3c70d7a32b0523b8946a90db71a95be01a05cf6dd9206 |
Hashes for brotlipy-0.7.0-cp34-cp34m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6cc0036b1304dd0073eec416cb2f6b9e37ac8296afd9e481cac3b1f07f9db25 |
|
MD5 | 0514aa502ddaf6c806780a587e3f2601 |
|
BLAKE2b-256 | cbbd708d73ee93df1579218595c6417675f1d1403545c408fcb61278fa549eaf |
Hashes for brotlipy-0.7.0-cp34-cp34m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a07647886e24e2fb2d68ca8bf3ada398eb56fd8eac46c733d4d95c64d17f743b |
|
MD5 | a7850446b80ff7700a3a226cd7b18d57 |
|
BLAKE2b-256 | 5e124fc01aee265312d485eaf5ec6b2910dcfc04d486e70fbd6e0c5ac48e0c1a |
Hashes for brotlipy-0.7.0-cp34-cp34m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79aaf217072840f3e9a3b641cccc51f7fc23037496bd71e26211856b93f4b4cb |
|
MD5 | f03eaf169ca1cb3947ce5c65a8e6e01d |
|
BLAKE2b-256 | f6fdb6a07a1e10fffaba9d77e0061a8399110fff3ddcd8c400a44730d75e8767 |
Hashes for brotlipy-0.7.0-cp34-cp34m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0fa6088a9a87645d43d7e21e32b4a6bf8f7c3939015a50158c10972aa7f425b7 |
|
MD5 | a72a2475a6575c5b240d29d51ed25c24 |
|
BLAKE2b-256 | fdd150b96cd675eafa3be44ba855902202746961eeebe8c79898247f1bdc889e |
Hashes for brotlipy-0.7.0-cp34-cp34m-macosx_10_6_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 653faef61241bf8bf99d73ca7ec4baa63401ba7b2a2aa88958394869379d67c7 |
|
MD5 | e3798954774aa1b71251fd117765ad9c |
|
BLAKE2b-256 | d2906946a15c6d3155c34fff8d9ea4de1e89348db2dd0313981f2294b5251586 |
Hashes for brotlipy-0.7.0-cp33-cp33m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a3e56ced8b15fbbd363380344f70f3b438e0fd1fcf27b7526b6172ea950e867 |
|
MD5 | 766deaedfdd005f9812f92171c19e4d9 |
|
BLAKE2b-256 | 1bc34166a7c3eb7671d85bf74f9fbde895a2164c38041a8dc6493dc473616fd9 |
Hashes for brotlipy-0.7.0-cp33-cp33m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2c1c724c4ac375feb2110f1af98ecdc0e5a8ea79d068efb5891f621a5b235cb |
|
MD5 | 322961e88d71d39956d7ef87d262d0da |
|
BLAKE2b-256 | d3f2f2473f263930eaf78a3ab5ab036cab5498b3f398a8128283d76220c5cd6d |
Hashes for brotlipy-0.7.0-cp33-cp33m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0be698678a114addcf87a4b9496c552c68a2c99bf93cf8e08f5738b392e82057 |
|
MD5 | 01d9f7f15998877e0a8cd25be0a2fe8e |
|
BLAKE2b-256 | eeb147209dd45d58084b8447c653fa287b852fb180b755a12db9b0ae8b9776d4 |
Hashes for brotlipy-0.7.0-cp33-cp33m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 091b299bf36dd6ef7a06570dbc98c0f80a504a56c5b797f31934d2ad01ae7d17 |
|
MD5 | 798e80bc2cc1a40187a5d00351acd205 |
|
BLAKE2b-256 | 02bb4a03606dfb23207f9bd74f01e988196865d2c41bb54d5d0b43999b14455b |
Hashes for brotlipy-0.7.0-cp33-cp33m-macosx_10_6_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96bc59ff9b5b5552843dc67999486a220e07a0522dddd3935da05dc194fa485c |
|
MD5 | 4087f27072f92fa98cc63e3d04b9e015 |
|
BLAKE2b-256 | 09ca0caa76c12466c8c6cd5d38af69ecb9116399fcedb51b4cf29b109010a245 |
Hashes for brotlipy-0.7.0-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b39abc3256c978f575df5cd7893153277216474f303e26f0e43ba3d3969ef96 |
|
MD5 | 52ceddb31216bd8dbcdb1e947dee5dbe |
|
BLAKE2b-256 | cf9639f12999318ef1f0d01ed7d02336eb4bd88c9acd3d297d1db70a54b270ea |
Hashes for brotlipy-0.7.0-cp27-cp27mu-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4c98b0d2c9c7020a524ca5bbff42027db1004c6571f8bc7b747f2b843128e7a |
|
MD5 | cfc9be91bb5aa9b5a82a782ebbebf6ed |
|
BLAKE2b-256 | cd919a2f24c255c149aded97c3b9484f480e4263f4c9476b944bf25a935a1d27 |
Hashes for brotlipy-0.7.0-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 637847560d671657f993313ecc6c6c6666a936b7a925779fd044065c7bc035b9 |
|
MD5 | c0bdf9721ad0cf5a626e9b54808912ab |
|
BLAKE2b-256 | 69da06095db7716b0753c7867df161ec6ff6d5b7b111b29f031c4de908e92199 |
Hashes for brotlipy-0.7.0-cp27-cp27m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5de6f7d010b7558f72f4b061a07395c5c3fd57f0285c5af7f126a677b976a868 |
|
MD5 | 2ee47c91a1ddc72dde449eb58843be0e |
|
BLAKE2b-256 | 55df61f8cc43d6feeb6ce96fdc395678cbe5ea6c1c0f996ddb345357c52f588c |
Hashes for brotlipy-0.7.0-cp27-cp27m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd1d1c64214af5d90014d82cee5d8141b13d44c92ada7a0c0ec0679c6f15a471 |
|
MD5 | 895497cc58b5a0a8df652f8dd239be98 |
|
BLAKE2b-256 | 49b468e7b207a92b987327f6f44cc8315dfe9c010dc77eb7274cee903be7213d |
Hashes for brotlipy-0.7.0-cp27-cp27m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50ca336374131cfad20612f26cc43c637ac0bfd2be3361495e99270883b52962 |
|
MD5 | 7a48a5fd8d11b2b5292ae265f617dad9 |
|
BLAKE2b-256 | 1e58d86d43951f2a89f3d9ed0efe789f42133b8c8b82b0b33df40eab78d48428 |
Hashes for brotlipy-0.7.0-cp27-cp27m-macosx_10_6_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af65d2699cb9f13b26ec3ba09e75e80d31ff422c03675fcb36ee4dabe588fdc2 |
|
MD5 | c995e0de8616ba3d64f90a8c3b3193e7 |
|
BLAKE2b-256 | 332ee35b99b9e66d426a83a773328a4543cfde7d4bc86934200b4e79d4a32e1a |