-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* updated README to be more accurate. * added support for askExtractMode * preliminary support for FILETIMEs on PROPVARIANTS (like mtime) * slightly more data/data/debugging/logging info
- Loading branch information
Showing
12 changed files
with
83 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
python-lib7zip | ||
============== | ||
Python bindings for lib7zip_ | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
Python bindings for 7-Zip | ||
~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
:author: Mark Harviston <[email protected]> | ||
:version: 0.1 | ||
|
||
pylib7zip is a direct binding to 7z.dll from the 7-zip project (7zip.org) | ||
|
||
7z.dll uses Windows COM+ calling conventions with an over-engineered slightly pathological | ||
OOP API. | ||
7z.dll uses Windows COM+ calling conventions without registering itself with the COM server | ||
and has an over-engineered slightly pathological OOP API. | ||
|
||
Currently only works on Windows with Python 3.3 | ||
Currently only works on Windows with Python 3.3. | ||
|
||
This provides roughly the same functionality as lib7zip does for C++ and SevenZipSharp does for C# | ||
but with a clean Pythonic API. | ||
|
||
Like lib7zip getting metadata and extracting files are the only operations supported, creating archives, or updating them in-place is not supported. | ||
|
||
This is beta software and may crash if used in an unusual way. | ||
This is beta software and may crash if used in an unusual (or even a usual) way. | ||
|
||
Dependencies | ||
------------ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import logging | ||
#logger = logging.getLogger('lib7zip') | ||
logging.basicConfig( | ||
level=logging.DEBUG, | ||
#level=logging.INFO, | ||
format='%(asctime)s - %(name)s::%(funcName)s @ %(filename)s:%(lineno)d - %(levelname)s - %(message)s', | ||
datefmt='%H:%M', | ||
) | ||
logger = logging.getLogger('lib7zip.simplecom') | ||
logger.setLevel(logging.INFO) | ||
logger = logging.getLogger('lib7zip.stream') | ||
logger.setLevel(logging.INFO) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters