Pyliblinear - a liblinear python API

pyliblinear is an API for liblinear without using ctypes. It aims for more pythonic access to liblinear’s features, especially featuring streams of data and lazy evaluations whereever possible.

Supported python versions are Python 2.7 and Python 3.4 and above.


Development Status


The API is not stabilized yet. There also may be a few kinks here and there.


Integrity Check

There are hashes (MD5, SHA1 and SHA256) of the download packages stored in the digests file. In order to check the integrity of the downloaded file, use a tool like md5sum (or sha1sum, sha256sum accordingly), e.g.:

$ md5sum -c pyliblinear-2.1.0.dev2.digests
pyliblinear-2.1.0.dev2.tar.bz2: OK
pyliblinear-2.1.0.dev2.tar.gz: OK
pyliblinear-2.1.0.dev2.tar.xz: OK OK

In order to check the integrity of the digest file itself, you can check the PGP signature of that file. The file is signed by André Malo, Key-ID 0x8103A37E:

$ gpg --verify pyliblinear-2.1.0.dev2.digests
gpg: Signature made Wed Oct 18 09:28:42 2017 CEST using DSA key ID 8103A37E
gpg: Good signature from "Andre Malo <>"
gpg:                 aka "Andr\xe9\x20Malo <>"
gpg:                 aka "Andre Malo <>"


pyliblinear is available under the terms and conditions of the “Apache License, Version 2.0.” You’ll find the detailed licensing terms in the root directory of the source distribution package or online at

pyliblinear ships with a copy of liblinear, which is licensed under the terms of the 3-clause BSD license.


No bugs, of course. ;-) But if you’ve found one or have an idea how to improve pyliblinear, feel free to send a pull request on github or send a mail to <>.

Author Information

pyliblinear was written and is maintained by André Malo.