V-E-O / czipfile

fork from czipfile in PyPI with fix and enhancement

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update code base to zipfile in Python 2.7 repo (http://hg.python.org/cpython/file/2.7/Lib/zipfile.py)

V.E.O

czipfile is a replacement for Python's builtin "zipfile" module, and
provides much faster, C-based zipfile decryption.  The code is actually
95% identical to Python 2.7's Lib/zipfile.py, with some very minor
modifications to allow it to compile in Cython, and the _ZipDecrypter
class adapted to take advantage of native C datatypes.

Many thanks to _habnabit from #python in Freenode for pointing me in
the right direction in Cython.

To build:

  $ python setup.py build
  # python setup.py install

Cython is not required to build the extension, though if you want to make
any changes you'll want to edit the .pyx and install Cython rather than
trying to edit the generated .c file.

This package might require Python 2.7; I haven't tested it in earlier
Python versions.

I've put this release under the Python Software Foundation License,
specifically the 2.6.2 version.  I believe this to be the most
appropriate license for the code, given its lineage, though if I
should just use GPLv3 instead, feel free to let me know.

CJ Kucera
pez@apocalyptech.com

About

fork from czipfile in PyPI with fix and enhancement

License:Other


Languages

Language:Python 100.0%