dicato
dicato

Reputation: 684

Does a Python implementation of, or interface to, UCL exist?

UCL can be found here: http://www.oberhumer.com/opensource/ucl/

I am wondering if there is a Python implementation of this library or, at minimum, a simple interface (via SWIG, or even ctypes) exists?

The only evidence I could find of such an implementation led me here: https://build.opensuse.org/package/show?package=python-ucl-common&project=home%3Asjcundy%3AAccessGrid

Which when you try to download the package, you receive an error page.

Upvotes: 2

Views: 1180

Answers (2)

jap
jap

Reputation: 53

Maybe this answer is a little late, but I've just done a simple implementation using cffi (https://bitbucket.org/cffi/cffi).

You can find it at https://github.com/jap/pyucl (only tested on Linux)

Upvotes: 2

agf
agf

Reputation: 176950

Many compression algorithms are available for Python, in zlib, bz2, zipfile, and externally, for example lzo (on the same web site as UCL).

If you really need UCL, try cTypesGen, which should automatically be able to provide you a Python interface to it.

Upvotes: 1

Related Questions