Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

PackBits encoder/decoder

Project Description

This module implements a PackBits encoder/decoder for Python 2.x and 3.x.

PackBits encoding is used in PSD and TIFF files.


pip install packbits


Import packbits module; then use packbits.encode(data) and packbits.decode(data) functions.


Development happens at github and bitbucket:

The main issue tracker is at github:

Feel free to submit ideas, bugs, pull requests (git or hg) or regular patches.

In order to run tests, install tox and type


from the source checkout.

The license is MIT.

Release History

This version
History Node


History Node


Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(2.2 kB) Copy SHA256 Hash SHA256
Source None Apr 6, 2013

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers