patool
patool copied to clipboard
patool is a portable command line archive file manager
I need to comment archive, but i can't found this function
When Compiling a Script with any compile like pyinstaller as a windowed (no console) Then the .exe crashes right away with the error: ``` Traceback (most recent call last): File...
OS: Ubuntu 22.04 Version: 2.2.0 ```python import patoolib patoolib.extract_archive(archive_path, outdir=output_path, verbosity=-1) ``` verbosity was set to -1, -1 or lower means no output. But some info log printed, such as...
So I have an arhive (18gb) and it only extracts about 8gb it dosent give a error and it says that the extraction was susseful. (I tried with smaller files...
is it possible to constrain output directory for unsafe archive with malicious path? (../)
this should be a good idea with big archives. examples: ```` 7z e -so test.zip | grep pattern # patool search (wont pass the filenames this way?) 7z e -so...
During porting app from linux to windows I got that issue. After changing filename from "xxx.7z.001" to "xxx.7z" the patool is recognizing format otherwise I've got "patoolib.util.PatoolError: unknown archive format...
The minimum version of Python required by `patoolib` is 3.10, and [type hints](https://peps.python.org/pep-0484/) is available. So I add this to the [public API](https://wummel.github.io/patool/#api). See also: - -
[Ruff](https://docs.astral.sh/ruff/) can also be used as a drop-in replacement Python code formatter for [Black](https://github.com/psf/black). So I apply this to the code. Also, I add linting errors checking to the CI.
OS: Windows 11 Version: 2.2.0 ```python import patoolib file_list = patoolib.list_archive(archive_path, verbosity=1) ``` list_archive can print the archive list, but return value is None. Could it support return the file...