$npx skillfedfor your agent

brotlipy

Python binding to the Brotli library

With conditionsPyPI UtilitiesReleased May 20171.9M downloads / moMITPlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — brotlipy-0.7.0-cp27-cp27m-macosx_10_6_intel.whl · brotlipy-0.7.0-cp27-cp27m-manylinux1_i686.whl · brotlipy-0.7.0-cp27-cp27m-manylinux1_x86_64.whl
v0.7.0 · released 2017-05-30

Yes, if you need Brotli compression in Python and are on a supported platform. The package is actively maintained with a recent commit on 2026-03-05, has no known vulnerabilities, and receives substantial downloads. However, the last release was 2017-05-30 and classifiers target Python 2.7 through 3.5; verify compatibility with your Python version before adopting in new projects.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a C compiler if prebuilt wheels are not available for your Python version and platform.
  • Medium install friction due to compiled C extensions; prebuilt wheels are available for common platforms (Python 2.7, 3.3–3.5 on macOS, Linux, and Windows), but older Python versions and less common architectures may require compilation.

License · maintenance · safety

MIT (permissive) — Licensed under MIT; the underlying Brotli library is Apache License 2.0. Both are permissive, so you can use this in commercial and proprietary projects without restriction.

last release 2017-05-30 (3363 days) · last repo commit 2026-03-05 · 154 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,876,211 downloads/mo, #3,470 on PyPI

Verify before relying

pip install brotlipy

import brotlipy
data = brotlipy.decompress(compressed_data)
  • Whether the package works reliably on modern Python versions given the last release was 2017-05-30.
  • Current performance characteristics compared to alternative Brotli compression solutions.
  • Compatibility with Python versions beyond 3.5 despite active repository status.
Same gist for agents: .md · .json

What it is and what it does

brotlipy is a Python wrapper around Google's Brotli compression library. It exposes both one-shot compression and decompression functions and a streaming API for incremental processing. The package bundles the Brotli C library and compiles it during installation, so it has no Python runtime dependencies but does require a C compiler on platforms without prebuilt wheels.

The library is used to add Brotli support to Python applications that need efficient compression—commonly in HTTP clients and servers, data pipelines, and tools that work with Brotli-compressed content. It supports compression and decompression with configurable parameters, and includes a streaming decompressor with a finish() method for handling incomplete data.

Use it for

  • Decompress Brotli-encoded HTTP responses in web clients or scraping tools.
  • Compress data for storage or transmission using Brotli in data processing pipelines.
  • Incrementally decompress large Brotli-compressed files without loading them entirely into memory.
  • Add Brotli support to HTTP servers or reverse proxies that handle compressed payloads.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need Brotli compression in Python and are on a supported platform.

The package is actively maintained with a recent commit on 2026-03-05, has no known vulnerabilities, and receives substantial downloads. However, the last release was 2017-05-30 and classifiers target Python 2.7 through 3.5; verify compatibility with your Python version before adopting in new projects.

Install

brotlipy on PyPI

Before you install

Medium install friction due to compiled C extensions; prebuilt wheels are available for common platforms (Python 2.7, 3.3–3.5 on macOS, Linux, and Windows), but older Python versions and less common architectures may require compilation.

Requires a C compiler if prebuilt wheels are not available for your Python version and platform.

License in practice

Licensed under MIT; the underlying Brotli library is Apache License 2.0. Both are permissive, so you can use this in commercial and proprietary projects without restriction.

Quickstart

pip install brotlipy

import brotlipy
data = brotlipy.decompress(compressed_data)

Verify before relying

  • Whether the package works reliably on modern Python versions given the last release was 2017-05-30.
  • Current performance characteristics compared to alternative Brotli compression solutions.
  • Compatibility with Python versions beyond 3.5 despite active repository status.

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionMedium. Platform-specific wheel
Runtime dependenciesNone
MaintenanceActively maintained 3,363 days since the last release
Last repo commit
First released
Downloads1,876,211 / month, #3,470 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Programming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPy

Evidence: brotlipy-0.7.0-cp27-cp27m-macosx_10_6_intel.whl; brotlipy-0.7.0-cp27-cp27m-manylinux1_i686.whl; brotlipy-0.7.0-cp27-cp27m-manylinux1_x86_64.whl; brotlipy-0.7.0-cp27-cp27mu-manylinux1_i686.whl; brotlipy-0.7.0-cp27-cp27mu-manylinux1_x86_64.whl; brotlipy-0.7.0-cp27-cp27m-win32.whl; brotlipy-0.7.0-cp27-cp27m-win_amd64.whl; brotlipy-0.7.0-cp33-cp33m-macosx_10_6_intel.whl; brotlipy-0.7.0-cp33-cp33m-manylinux1_i686.whl; brotlipy-0.7.0-cp33-cp33m-manylinux1_x86_64.whl; brotlipy-0.7.0-cp33-cp33m-win32.whl; brotlipy-0.7.0-cp33-cp33m-win_amd64.whl; brotlipy-0.7.0-cp34-cp34m-macosx_10_6_intel.whl; brotlipy-0.7.0-cp34-cp34m-manylinux1_i686.whl; brotlipy-0.7.0-cp34-cp34m-manylinux1_x86_64.whl; brotlipy-0.7.0-cp34-cp34m-win32.whl; brotlipy-0.7.0-cp34-cp34m-win_amd64.whl; brotlipy-0.7.0-cp35-abi3-macosx_10_9_x86_64.whl; brotlipy-0.7.0-cp35-abi3-manylinux1_i686.whl; brotlipy-0.7.0-cp35-abi3-manylinux1_x86_64.whl

Tags

Capabilities
brotli compression pythonpython brotli encoder decodercompress decompress brotlibrotli bindings pythonstreaming compression brotli
Topics
compressionbrotli

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “brotli compression python”

  • brotlipybrotlipy provides Python bindings to the Brotli compression…
  • brotlicffiProvides Python CFFI bindings to the Brotli compression library,…
  • brotliProvides Python bindings to the Brotli compression library, enabling…

Give your agent the search over MCP, or paste the wish link into any chat.

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.

Install it if you need to display or transform source code.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo

See also brotli · brotlicffi · brotli-asgi · python-lzf · Flask-Compress · python-neo-lzf · astc-encoder-py · apple-compress · lzallright · cramjam