steeve / python-lz4

LZ4 bindings for python
http://github.com/steeve/python-lz4
106 stars 31 forks source link

__version__ support? #19

Closed apiszcz closed 9 years ago

apiszcz commented 10 years ago

Implement the python version variable support.

(Pdb) dir(lz4) ['LZ4_compress', 'LZ4_uncompress', 'doc', 'file', 'name', 'package', 'compress', 'compressHC', 'decompress', 'dumps', 'loads', 'uncompress']

totaam commented 9 years ago

+1 rationale: it would be nice to be able to tell when the version installed on the user's machine is broken (or vulnerable) so we can give them a nudge (or in our case, switch to another compressor if needed)

Thanks