[PR #17] Add Python bindings #596

Open
opened 2026-01-29 20:46:20 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/google/brotli/pull/17

State: closed
Merged: Yes


This adds Python bindings (developed originally as https://github.com/khaledhosny/brotli-python). Everything is kept under python subdirectory, but distutils is very inflexible, so I had to symlink dec and enc directories from top level for the build to work (I wouldn’t insist on using a setup.py script myself, but it seems to be required for PyPI which I guess we would want to uploat to at some point). CC @behdad.

**Original Pull Request:** https://github.com/google/brotli/pull/17 **State:** closed **Merged:** Yes --- This adds Python bindings (developed originally as https://github.com/khaledhosny/brotli-python). Everything is kept under `python` subdirectory, but distutils is very inflexible, so I had to symlink `dec` and `enc` directories from top level for the build to work (I wouldn’t insist on using a `setup.py` script myself, but it seems to be required for PyPI which I guess we would want to uploat to at some point). CC @behdad.
claunia added the pull-request label 2026-01-29 20:46:20 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#596