Skip to main content

Python binding to the Brotli library

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

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.

Authors

brotlipy is maintained by Cory Benfield.

Changelog

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

brotlipy-0.6.0.tar.gz (437.7 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

brotlipy-0.6.0-pp226-pp226u-macosx_10_10_x86_64.whl (337.1 kB view details)

Uploaded PyPymacOS 10.10+ x86-64

brotlipy-0.6.0-cp36-cp36m-win_amd64.whl (351.1 kB view details)

Uploaded CPython 3.6mWindows x86-64

brotlipy-0.6.0-cp36-cp36m-win32.whl (331.2 kB view details)

Uploaded CPython 3.6mWindows x86

brotlipy-0.6.0-cp36-cp36m-manylinux1_x86_64.whl (845.8 kB view details)

Uploaded CPython 3.6m

brotlipy-0.6.0-cp36-cp36m-manylinux1_i686.whl (787.7 kB view details)

Uploaded CPython 3.6m

brotlipy-0.6.0-cp36-cp36m-macosx_10_6_intel.whl (657.1 kB view details)

Uploaded CPython 3.6mmacOS 10.6+ Intel (x86-64, i386)

brotlipy-0.6.0-cp35-cp35m-win_amd64.whl (351.1 kB view details)

Uploaded CPython 3.5mWindows x86-64

brotlipy-0.6.0-cp35-cp35m-win32.whl (331.2 kB view details)

Uploaded CPython 3.5mWindows x86

brotlipy-0.6.0-cp35-cp35m-manylinux1_x86_64.whl (850.0 kB view details)

Uploaded CPython 3.5m

brotlipy-0.6.0-cp35-cp35m-manylinux1_i686.whl (791.9 kB view details)

Uploaded CPython 3.5m

brotlipy-0.6.0-cp35-cp35m-macosx_10_6_intel.whl (657.1 kB view details)

Uploaded CPython 3.5mmacOS 10.6+ Intel (x86-64, i386)

brotlipy-0.6.0-cp34-cp34m-win_amd64.whl (368.3 kB view details)

Uploaded CPython 3.4mWindows x86-64

brotlipy-0.6.0-cp34-cp34m-win32.whl (353.4 kB view details)

Uploaded CPython 3.4mWindows x86

brotlipy-0.6.0-cp34-cp34m-manylinux1_x86_64.whl (849.7 kB view details)

Uploaded CPython 3.4m

brotlipy-0.6.0-cp34-cp34m-manylinux1_i686.whl (791.7 kB view details)

Uploaded CPython 3.4m

brotlipy-0.6.0-cp34-cp34m-macosx_10_6_intel.whl (657.1 kB view details)

Uploaded CPython 3.4mmacOS 10.6+ Intel (x86-64, i386)

brotlipy-0.6.0-cp33-cp33m-win_amd64.whl (368.3 kB view details)

Uploaded CPython 3.3mWindows x86-64

brotlipy-0.6.0-cp33-cp33m-win32.whl (353.4 kB view details)

Uploaded CPython 3.3mWindows x86

brotlipy-0.6.0-cp33-cp33m-manylinux1_x86_64.whl (849.6 kB view details)

Uploaded CPython 3.3m

brotlipy-0.6.0-cp33-cp33m-manylinux1_i686.whl (791.4 kB view details)

Uploaded CPython 3.3m

brotlipy-0.6.0-cp33-cp33m-macosx_10_6_intel.whl (657.0 kB view details)

Uploaded CPython 3.3mmacOS 10.6+ Intel (x86-64, i386)

brotlipy-0.6.0-cp27-cp27mu-manylinux1_x86_64.whl (843.7 kB view details)

Uploaded CPython 2.7mu

brotlipy-0.6.0-cp27-cp27mu-manylinux1_i686.whl (784.7 kB view details)

Uploaded CPython 2.7mu

brotlipy-0.6.0-cp27-cp27m-win_amd64.whl (367.9 kB view details)

Uploaded CPython 2.7mWindows x86-64

brotlipy-0.6.0-cp27-cp27m-win32.whl (352.5 kB view details)

Uploaded CPython 2.7mWindows x86

brotlipy-0.6.0-cp27-cp27m-manylinux1_x86_64.whl (843.6 kB view details)

Uploaded CPython 2.7m

brotlipy-0.6.0-cp27-cp27m-manylinux1_i686.whl (784.7 kB view details)

Uploaded CPython 2.7m

brotlipy-0.6.0-cp27-cp27m-macosx_10_6_intel.whl (657.0 kB view details)

Uploaded CPython 2.7mmacOS 10.6+ Intel (x86-64, i386)

File details

Details for the file brotlipy-0.6.0.tar.gz.

File metadata

  • Download URL: brotlipy-0.6.0.tar.gz
  • Upload date:
  • Size: 437.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for brotlipy-0.6.0.tar.gz
Algorithm Hash digest
SHA256 2680f33531ee516baf68943210a74ae5a80d3f0b88673df570d371ff53f04283
MD5 477e8c1dd78e00d9b7825f802afb1245
BLAKE2b-256 b0f9d629de68c3a9f5ce3e1ff2fe70f1cf0396765582bc3194179a2742c47731

See more details on using hashes here.

File details

Details for the file brotlipy-0.6.0-pp226-pp226u-macosx_10_10_x86_64.whl.

File metadata

File hashes

Hashes for brotlipy-0.6.0-pp226-pp226u-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 8cad63b4d2e7402275a85b750b2b01aa977d57f78294f9fed33c21d1a21a2413
MD5 8983fcac89768d2eb8d8ef5dde8a0f43
BLAKE2b-256 986a0695bb0fd2210037b9880658f6b9ee702d330eb4aaf6293f1e3a1ba2dad5

See more details on using hashes here.

File details

Details for the file brotlipy-0.6.0-cp36-cp36m-win_amd64.whl.

File metadata

File hashes

Hashes for brotlipy-0.6.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 eb0e4af68b921f6b6a1fadada58fa18b9d8ba28398fdf6adc84a1d3a3cac578b
MD5 39c1f0cd8ac87372126f83304b52c9ab
BLAKE2b-256 98e852d2496f39e1f27bdcbb207066a1b6e9d3c77a880f85c624c67b71a5259e

See more details on using hashes here.

File details

Details for the file brotlipy-0.6.0-cp36-cp36m-win32.whl.

File metadata

File hashes

Hashes for brotlipy-0.6.0-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 a85168aec44ca03922a670557e1e773c3294a12217053f84da512eb0ebf3d835
MD5 856d4497138161cef58f90225412b565
BLAKE2b-256 06de7f5950e39f818b3c92c626e1001df0452b277d598a918122343a085b5bf6

See more details on using hashes here.

File details

Details for the file brotlipy-0.6.0-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for brotlipy-0.6.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 ee09d82d2e04a74d85a9eb6d6310f85b8f596088a3e665ee8b95f45bc3917ef0
MD5 3c7ea736ad4c09919d51fe7439626757
BLAKE2b-256 ad7a7b85957e849ae7f94dc869f6204bd48ec9249ccda87b2de1f989e3fb15fc

See more details on using hashes here.

File details

Details for the file brotlipy-0.6.0-cp36-cp36m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for brotlipy-0.6.0-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 6e120203e4b3ca54dd7ecdd2c434c31f9958623a58ad14761dac6f635b2a83f8
MD5 50abc1245ecd3317b9fdd734958023ba
BLAKE2b-256 05cc15e895821c0e9fb6a2dedc858d151fdc04a2e89d6da2a3d00cfbb2757ee8

See more details on using hashes here.

File details

Details for the file brotlipy-0.6.0-cp36-cp36m-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for brotlipy-0.6.0-cp36-cp36m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 ee228ecc724e7e5aa53cc91f9478b9bb41b4a2b422f89cdb7f1f0791336aaa88
MD5 dad5c7e5ff7aa5d1581f066504380ef7
BLAKE2b-256 4fd90d4a2c2257710494e514c4aa840a5df441c4da65be145f1f1e65df1fbd12

See more details on using hashes here.

File details

Details for the file brotlipy-0.6.0-cp35-cp35m-win_amd64.whl.

File metadata

File hashes

Hashes for brotlipy-0.6.0-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 49b8d3011f9733fb003a7b59aefd9b880d2831ea72db490e0353bddc99467b40
MD5 3ee341db531d8a0dead5d4eed5f257e7
BLAKE2b-256 2fc90984a11d3dad4d2064c06648448b82fe79b146394552149c38750dcf9525

See more details on using hashes here.

File details

Details for the file brotlipy-0.6.0-cp35-cp35m-win32.whl.

File metadata

File hashes

Hashes for brotlipy-0.6.0-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 3e6ec8578151fb9ca84143170a2fe7f833845900a75b2092c96e27381fc35767
MD5 d430ac1d632a558abbcf12cade62c7dc
BLAKE2b-256 e21a29f5d7aee8c71abcbf7a1061a4fe77cf8eec9e3bc5797075a3ccbbc56886

See more details on using hashes here.

File details

Details for the file brotlipy-0.6.0-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for brotlipy-0.6.0-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 a7600b4fcb9df5f5040ce589488e179d2dc5ee9a52796f4482145170f60d20af
MD5 658ef4477caf2836828f1bfad2cab838
BLAKE2b-256 254ce8c30d16f6c287e9578737da02c42918bbdc67d8943db5b7b63477ee9869

See more details on using hashes here.

File details

Details for the file brotlipy-0.6.0-cp35-cp35m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for brotlipy-0.6.0-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 da1fe578e6b6ecba920706e0ae8d49a3d7da8c21c87c17ecb953820d29088d78
MD5 72dcf257f372d627bb0885d80bb2bd20
BLAKE2b-256 759610cf6285f1fab9b611d31834de05d0b2980fa5fea417513645a08219fa46

See more details on using hashes here.

File details

Details for the file brotlipy-0.6.0-cp35-cp35m-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for brotlipy-0.6.0-cp35-cp35m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 b265a93357c063b3fed36fd4b2f92c57520c2202c270439c4f39bc306b33bd64
MD5 714df6364cf7388fa95ff5298e76c07e
BLAKE2b-256 d5acca7388831bb5b3234ecff9b2944cea5702fd4608c763bd18a6d387b611cb

See more details on using hashes here.

File details

Details for the file brotlipy-0.6.0-cp34-cp34m-win_amd64.whl.

File metadata

File hashes

Hashes for brotlipy-0.6.0-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 39ce667f1385fd50823afc6857f6bb26e36054c6c9eb7bc40e96cfa03f084b62
MD5 168d88cf3c07d317ece814c4df0dd13d
BLAKE2b-256 8f2097bdd254a369642ba0f573487d885b0cc22e0dc8661bdbf8aa73df18df17

See more details on using hashes here.

File details

Details for the file brotlipy-0.6.0-cp34-cp34m-win32.whl.

File metadata

File hashes

Hashes for brotlipy-0.6.0-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 aa7df0afb821749fa40b110b68b124b223a4f8bedf2fb7b1d841e490e9e48390
MD5 9a1eb5072c53d19f341dc8328a579880
BLAKE2b-256 89b61d4748b957617aecb26b0d7299b0dcbcf26d40ce9f03efdd6fa2e33fc958

See more details on using hashes here.

File details

Details for the file brotlipy-0.6.0-cp34-cp34m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for brotlipy-0.6.0-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 2729ce4ff88e58b01050a91cde61746f12317baecd3e6d3181c5307e0a359daf
MD5 b3b3a7c4bd2c295638b7c9708624771d
BLAKE2b-256 12a68c43926d337de403bce1f9f77d2ba5cf6711d270fc85091e156f201484ed

See more details on using hashes here.

File details

Details for the file brotlipy-0.6.0-cp34-cp34m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for brotlipy-0.6.0-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 bdc38ad0a0b769a31c2568990e4bf17c89d89f82c74af6ed9bf40238244ea2e0
MD5 8fba4f58c8f4e3ba761f07d2a36f0697
BLAKE2b-256 8c4fb1e64114f142747b620511e52372bbea75a2544af038df2e10d6defd6cdf

See more details on using hashes here.

File details

Details for the file brotlipy-0.6.0-cp34-cp34m-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for brotlipy-0.6.0-cp34-cp34m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 5325ce29c3537ac464377988fb98c457ce5ee62624db2352f25ebb798c0c449e
MD5 dffbc9b1f9b1f5a60024cc76d6423d55
BLAKE2b-256 4dbeef5d7975178937f72ad810727c1b41d38799ed3d660b250be8266bba429f

See more details on using hashes here.

File details

Details for the file brotlipy-0.6.0-cp33-cp33m-win_amd64.whl.

File metadata

File hashes

Hashes for brotlipy-0.6.0-cp33-cp33m-win_amd64.whl
Algorithm Hash digest
SHA256 ce48653e4d3d84389c7eb83d155b5a912e713a9fcb6e4380686fb78ad96b00d2
MD5 bbd806b54bbea9495472ae30f61650c6
BLAKE2b-256 5323f54b4cffd79c86f4f660d744c41076af64879a5ce76da51506a081fb8f76

See more details on using hashes here.

File details

Details for the file brotlipy-0.6.0-cp33-cp33m-win32.whl.

File metadata

File hashes

Hashes for brotlipy-0.6.0-cp33-cp33m-win32.whl
Algorithm Hash digest
SHA256 b6cf94233301c59b43287f9d52644824ea854206fc4aa9337b38b55b172a4b7e
MD5 c261df3f5fdea82ed799e207078ce838
BLAKE2b-256 9f059c37598676b51574c58f0848b0faf8cba75d57e295b0c31f5b4120a23050

See more details on using hashes here.

File details

Details for the file brotlipy-0.6.0-cp33-cp33m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for brotlipy-0.6.0-cp33-cp33m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 72c9b9dca23b06db8e7c148db510fdbd3ffdb13e7f6a33c0464ee48b8bc81402
MD5 52bb69bd3b557d14c1e3fc932410407a
BLAKE2b-256 90a090452d6e42ad6c64a643c27ce551ac09c397a4ba6fb423831a15dd3f80ba

See more details on using hashes here.

File details

Details for the file brotlipy-0.6.0-cp33-cp33m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for brotlipy-0.6.0-cp33-cp33m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 82ad9b83d2f822fa22cc30669faeec2d41e72174307d9641c9d3afe330dc3aba
MD5 e594fe97400ea2b408d1cbba03fb20c5
BLAKE2b-256 b3efb7dfd905c677af8e1377033738955016bd87719f102d8e88bea1a440ef48

See more details on using hashes here.

File details

Details for the file brotlipy-0.6.0-cp33-cp33m-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for brotlipy-0.6.0-cp33-cp33m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 615c57b3579f580062bff218e90836b820d573b933e866d88d3c19a4790ea7ec
MD5 e1711a376d12f77c9a5b8765e0627fa6
BLAKE2b-256 cce47cdc6f1d40e379eeca4af55a3fa18478134484059416e86e2733b1af14d0

See more details on using hashes here.

File details

Details for the file brotlipy-0.6.0-cp27-cp27mu-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for brotlipy-0.6.0-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 26f6ff4aa3c2940b78b127f2be4ce010f31f9b8225bed5bd84016c79838bb9b2
MD5 f018cd6725b9a912033d8432ae9bb8a3
BLAKE2b-256 5f5a0a5b783d9655dcb0391c60f6720c900e45ae35025fa80778780a4f1afc4c

See more details on using hashes here.

File details

Details for the file brotlipy-0.6.0-cp27-cp27mu-manylinux1_i686.whl.

File metadata

File hashes

Hashes for brotlipy-0.6.0-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 595efca1779974cec1ebd9b800db50e326604f42fc5dbf193243d134412ee515
MD5 635c7217bfc580fcdac4ffc52bc858cc
BLAKE2b-256 b21a0591806ee0683c25dcf602136c994ecf8798865e4f79dd323de9fce14350

See more details on using hashes here.

File details

Details for the file brotlipy-0.6.0-cp27-cp27m-win_amd64.whl.

File metadata

File hashes

Hashes for brotlipy-0.6.0-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 c49b046a73de3670252ffe3e5a810ce5313303800e7bacdc86897b55ea6e7ce7
MD5 21ed477d6ae5d39492a93902d0245a54
BLAKE2b-256 d3eb9e213307d40ac3380cd478eda46181b274d1b24ddc6a1664fa98b6ce2c9d

See more details on using hashes here.

File details

Details for the file brotlipy-0.6.0-cp27-cp27m-win32.whl.

File metadata

File hashes

Hashes for brotlipy-0.6.0-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 1d89b727f4db30caebb266b2a90ee18b5e13a8532f592be1501acb9c0593d88d
MD5 a60e18d170051c2bb3aeca838708ffa4
BLAKE2b-256 1d1bd89f693467971c1c612f549d4d8a514ab2322c244543714ad0fcafe7ee6f

See more details on using hashes here.

File details

Details for the file brotlipy-0.6.0-cp27-cp27m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for brotlipy-0.6.0-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 458debd0924e0817ee489ad1202fcd36be85c3983d64aabd1546c865441680a9
MD5 be15bf36c1db0ff401805075e7cb9a73
BLAKE2b-256 af4130d2c34147e914127f811b78ba0226ccde5431f2601e72391607e676771a

See more details on using hashes here.

File details

Details for the file brotlipy-0.6.0-cp27-cp27m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for brotlipy-0.6.0-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 27b5ac9acd759adc26c9d963f003b910e80173ac0440917d2f0f7ea34e3d7e5f
MD5 c802156b553566d6903b94f393109c40
BLAKE2b-256 5ba71a0ab49408780014b30fe2fb8da6a90a6c747607a2ebb46f7739ae13782b

See more details on using hashes here.

File details

Details for the file brotlipy-0.6.0-cp27-cp27m-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for brotlipy-0.6.0-cp27-cp27m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 c72ec24236f13225cd4f8cbf9d5c73ed412de2c2241830f1a7d8cc33e64d1575
MD5 c73cc4fa9bc6b50a658ad3c27fa6bff8
BLAKE2b-256 fcee153fde78f4440f6bf1f8a789985809734bf4d757fe007fa02e7cd880f02e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page