Skip to content


Subversion checkout URL

You can clone with
Download ZIP
C Python Makefile
Branch: master

Merge pull request #4 from daphreak/master

Fix bug in output size calculation for compression
latest commit 36f7929304
@jd-boyd authored

TravisCI Status

                 Python-LZO -- Python bindings for LZO

              Copyright (c) 1996-2002 Markus F.X.J. Oberhumer
              Copyright (c) 2011-2014 Joshua D. Boyd          

What is LZO ?

LZO is a portable lossless data compression library written in ANSI C. It offers pretty fast compression and very fast decompression. Decompression requires no memory.

In addition there are slower compression levels achieving a quite competitive compression ratio while still decompressing at this very high speed.

What is Python ?

Python is an interpreted object-oriented programming language, and is often compared to Tcl, Perl, Java or Scheme. To find out more, point your browser to .

What is Python-LZO ?

Python-LZO provides Python bindings for LZO, i.e. you can access the LZO library from your Python scripts thereby compressing ordinary Python strings.

Where's the documentation ?

Python-LZO comes with built-in documentation which is accessible using lzo.__doc__' andlzo.func__doc__'. See "Chapter 3: Data Model" in the Python Reference Manual for more information.

Additionally you should read the docs and study the example programs that ship with the LZO library. Really.


The LZO and Python-LZO algorithms and implementations are Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002 Markus Franz Xaver Johannes Oberhumer

The Python-LZO algorithms implementated post 2011 are Copyright (C) 2011, 2014 Joshua D. Boyd

The LZO and Python-LZO algorithms and implementations are distributed under the terms of the GNU General Public License (GPL). See the file COPYING.

Something went wrong with that request. Please try again.