py-zippy 1.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- py_zippy-1.0.0/LICENSE +21 -0
- py_zippy-1.0.0/PKG-INFO +149 -0
- py_zippy-1.0.0/README.md +95 -0
- py_zippy-1.0.0/py_zippy.egg-info/PKG-INFO +149 -0
- py_zippy-1.0.0/py_zippy.egg-info/SOURCES.txt +19 -0
- py_zippy-1.0.0/py_zippy.egg-info/dependency_links.txt +1 -0
- py_zippy-1.0.0/py_zippy.egg-info/entry_points.txt +2 -0
- py_zippy-1.0.0/py_zippy.egg-info/requires.txt +4 -0
- py_zippy-1.0.0/py_zippy.egg-info/top_level.txt +1 -0
- py_zippy-1.0.0/pyproject.toml +52 -0
- py_zippy-1.0.0/setup.cfg +4 -0
- py_zippy-1.0.0/zippy/__init__.py +8 -0
- py_zippy-1.0.0/zippy/cli.py +286 -0
- py_zippy-1.0.0/zippy/create.py +237 -0
- py_zippy-1.0.0/zippy/extract.py +128 -0
- py_zippy-1.0.0/zippy/list.py +68 -0
- py_zippy-1.0.0/zippy/lock.py +104 -0
- py_zippy-1.0.0/zippy/repair.py +243 -0
- py_zippy-1.0.0/zippy/test.py +153 -0
- py_zippy-1.0.0/zippy/unlock.py +120 -0
- py_zippy-1.0.0/zippy/utils.py +375 -0
py_zippy-1.0.0/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2025 John H. Mitander
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
py_zippy-1.0.0/PKG-INFO
ADDED
@@ -0,0 +1,149 @@
|
|
1
|
+
Metadata-Version: 2.4
|
2
|
+
Name: py-zippy
|
3
|
+
Version: 1.0.0
|
4
|
+
Summary: Archive Utility Toolkit supporting multi-format workflows, password recovery, and repair helpers.
|
5
|
+
Author-email: John Hauger Mitander <john@on1.no>
|
6
|
+
License: MIT License
|
7
|
+
|
8
|
+
Copyright (c) 2025 John H. Mitander
|
9
|
+
|
10
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
11
|
+
of this software and associated documentation files (the "Software"), to deal
|
12
|
+
in the Software without restriction, including without limitation the rights
|
13
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
14
|
+
copies of the Software, and to permit persons to whom the Software is
|
15
|
+
furnished to do so, subject to the following conditions:
|
16
|
+
|
17
|
+
The above copyright notice and this permission notice shall be included in all
|
18
|
+
copies or substantial portions of the Software.
|
19
|
+
|
20
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
21
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
22
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
23
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
24
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
25
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
26
|
+
SOFTWARE.
|
27
|
+
|
28
|
+
Project-URL: Homepage, https://github.com/John0n1/ZIPPY
|
29
|
+
Project-URL: Documentation, https://github.com/John0n1/ZIPPY#readme
|
30
|
+
Project-URL: Issues, https://github.com/John0n1/ZIPPY/issues
|
31
|
+
Keywords: archives,zip,tar,cli,toolkit
|
32
|
+
Classifier: Development Status :: 5 - Production/Stable
|
33
|
+
Classifier: Environment :: Console
|
34
|
+
Classifier: Intended Audience :: System Administrators
|
35
|
+
Classifier: License :: OSI Approved :: MIT License
|
36
|
+
Classifier: Operating System :: OS Independent
|
37
|
+
Classifier: Programming Language :: Python
|
38
|
+
Classifier: Programming Language :: Python :: 3
|
39
|
+
Classifier: Programming Language :: Python :: 3.9
|
40
|
+
Classifier: Programming Language :: Python :: 3.10
|
41
|
+
Classifier: Programming Language :: Python :: 3.11
|
42
|
+
Classifier: Programming Language :: Python :: 3.12
|
43
|
+
Classifier: Topic :: System :: Archiving
|
44
|
+
Classifier: Topic :: System :: Archiving :: Compression
|
45
|
+
Classifier: Topic :: Utilities
|
46
|
+
Requires-Python: >=3.9
|
47
|
+
Description-Content-Type: text/markdown
|
48
|
+
License-File: LICENSE
|
49
|
+
Requires-Dist: colorama>=0.4.6
|
50
|
+
Requires-Dist: python-dotenv>=1.0
|
51
|
+
Requires-Dist: pyzipper>=0.3.6
|
52
|
+
Requires-Dist: patool>=1.12
|
53
|
+
Dynamic: license-file
|
54
|
+
|
55
|
+
<div align="center">
|
56
|
+
|
57
|
+
# Zippy
|
58
|
+
|
59
|
+
**Multi-purpose archive extraction, repair and brute-force toolkit.**
|
60
|
+
|
61
|
+
</div>
|
62
|
+
|
63
|
+
    
|
64
|
+
|
65
|
+
```bash
|
66
|
+
|
67
|
+
- **Broad format coverage** - (`tar`, `tar.gz`, `tar.bz2`, `tar.xz`, `tar.lzma`), (`gzip`, `bz2`, `xz`, `lzma`), `7z`, `rar`, `zstd` and ZIP family (including APK/JAR/WAR/IPA/EAR).
|
68
|
+
- **Consistent UX** - consistent logging, progress indicators, and tab completion for every command.
|
69
|
+
- **Security tooling** - create or re-lock encrypted ZIPs, run smart dictionary attacks with the bundled password list, and capture verbose traces when needed.
|
70
|
+
- **Integrity & repair** - repair, attempt salvage extractions, and perform best-effort recovery for TAR and single-file formats. It grabs whatever it can, even if files look broken or corrupted. This is achieved by scanning the archive for valid headers and footers, and extracting the data in between, then rebuilding the file structure using advanced data pointers and heuristics.
|
71
|
+
|
72
|
+
## Installation
|
73
|
+
|
74
|
+
### From PyPI (recommended)
|
75
|
+
|
76
|
+
```bash
|
77
|
+
python -m pip install zippy
|
78
|
+
```
|
79
|
+
|
80
|
+
### From source
|
81
|
+
|
82
|
+
```bash
|
83
|
+
git clone https://github.com/John0n1/ZIPPY.git
|
84
|
+
cd ZIPPY
|
85
|
+
python -m pip install .
|
86
|
+
|
87
|
+
### Debian package
|
88
|
+
|
89
|
+
```bash
|
90
|
+
sudo apt install ./zippy_*.deb
|
91
|
+
```
|
92
|
+
|
93
|
+
## Quick start
|
94
|
+
|
95
|
+
```bash
|
96
|
+
# Extract an archive
|
97
|
+
zippy --extract backups/site.tar.xz -o ./site
|
98
|
+
|
99
|
+
# Create a password-protected ZIP from multiple paths
|
100
|
+
zippy --lock secure.zip -f docs,images -p "Tru5ted!"
|
101
|
+
|
102
|
+
# List TAR.BZ2 contents
|
103
|
+
zippy --list datasets.tar.bz2
|
104
|
+
|
105
|
+
# Attempt unlocking with the bundled wordlist
|
106
|
+
zippy --unlock encrypted.zip -d password_list.txt --verbose
|
107
|
+
|
108
|
+
# Run salvage repair on a damaged tarball
|
109
|
+
zippy --repair broken.tar.gz --repair-mode remove_corrupted
|
110
|
+
```
|
111
|
+
|
112
|
+
Run `zippy --help` for the full command reference or `zippy --version` to confirm the installed release.
|
113
|
+
|
114
|
+
## Supported archive formats
|
115
|
+
|
116
|
+
| Family | Types |
|
117
|
+
| ------ | ----- |
|
118
|
+
| ZIP | `zip` (with optional password protection) |
|
119
|
+
| TAR | `tar`, `tar.gz`, `tar.bz2`, `tar.xz`, `tar.lzma`, `.tgz`, `.tbz`, `.txz`, `.tlz` |
|
120
|
+
| Single-file | `gzip` (`.gz`), `bz2` (`.bz2`), `xz` (`.xz`), `lzma` (`.lzma`) |
|
121
|
+
|
122
|
+
Unsupported formats (e.g. 7z, rar, zstd) will raise a friendly error instructing you to choose a supported type.
|
123
|
+
|
124
|
+
## Configuration & automation
|
125
|
+
|
126
|
+
- Use `--save-config <file>` to capture the current flag set (including passwords or dictionary paths if provided).
|
127
|
+
- Rehydrate saved flags via `--load-config <file>` for repeatable batch jobs.
|
128
|
+
- Disable animations with `--no-animation` for CI environments.
|
129
|
+
|
130
|
+
## Logging & colours
|
131
|
+
|
132
|
+
Logging defaults to concise `INFO` output. Add `--verbose` for `DEBUG` traces. Colour output automatically downgrades in non-interactive terminals, while animations fall back to plain log messages when disabled or redirected. Windows terminals are supported through `colorama`.
|
133
|
+
|
134
|
+
## Password dictionary
|
135
|
+
|
136
|
+
The bundled `password_list.txt` contains hundreds of common credentials, curated for demonstration purposes. The unlock command trims duplicates, ignores comments (`# ...`), and safely handles mixed encodings. Supply your own list with `--dictionary <file>` for larger attacks.
|
137
|
+
|
138
|
+
## Contributing
|
139
|
+
Pull requests are welcome—please open an issue describing the enhancement before submitting substantial changes.
|
140
|
+
|
141
|
+
## License
|
142
|
+
|
143
|
+
Zippy is released under the MIT License. See `LICENSE` for the full text.
|
144
|
+
|
145
|
+
## Disclaimer
|
146
|
+
|
147
|
+
Zippy is provided "as is" without warranty of any kind. Use at your own risk and keep backups of critical data.
|
148
|
+
|
149
|
+
**The author is not responsible for any data loss or damage resulting from the use of this software.**
|
py_zippy-1.0.0/README.md
ADDED
@@ -0,0 +1,95 @@
|
|
1
|
+
<div align="center">
|
2
|
+
|
3
|
+
# Zippy
|
4
|
+
|
5
|
+
**Multi-purpose archive extraction, repair and brute-force toolkit.**
|
6
|
+
|
7
|
+
</div>
|
8
|
+
|
9
|
+
    
|
10
|
+
|
11
|
+
```bash
|
12
|
+
|
13
|
+
- **Broad format coverage** - (`tar`, `tar.gz`, `tar.bz2`, `tar.xz`, `tar.lzma`), (`gzip`, `bz2`, `xz`, `lzma`), `7z`, `rar`, `zstd` and ZIP family (including APK/JAR/WAR/IPA/EAR).
|
14
|
+
- **Consistent UX** - consistent logging, progress indicators, and tab completion for every command.
|
15
|
+
- **Security tooling** - create or re-lock encrypted ZIPs, run smart dictionary attacks with the bundled password list, and capture verbose traces when needed.
|
16
|
+
- **Integrity & repair** - repair, attempt salvage extractions, and perform best-effort recovery for TAR and single-file formats. It grabs whatever it can, even if files look broken or corrupted. This is achieved by scanning the archive for valid headers and footers, and extracting the data in between, then rebuilding the file structure using advanced data pointers and heuristics.
|
17
|
+
|
18
|
+
## Installation
|
19
|
+
|
20
|
+
### From PyPI (recommended)
|
21
|
+
|
22
|
+
```bash
|
23
|
+
python -m pip install zippy
|
24
|
+
```
|
25
|
+
|
26
|
+
### From source
|
27
|
+
|
28
|
+
```bash
|
29
|
+
git clone https://github.com/John0n1/ZIPPY.git
|
30
|
+
cd ZIPPY
|
31
|
+
python -m pip install .
|
32
|
+
|
33
|
+
### Debian package
|
34
|
+
|
35
|
+
```bash
|
36
|
+
sudo apt install ./zippy_*.deb
|
37
|
+
```
|
38
|
+
|
39
|
+
## Quick start
|
40
|
+
|
41
|
+
```bash
|
42
|
+
# Extract an archive
|
43
|
+
zippy --extract backups/site.tar.xz -o ./site
|
44
|
+
|
45
|
+
# Create a password-protected ZIP from multiple paths
|
46
|
+
zippy --lock secure.zip -f docs,images -p "Tru5ted!"
|
47
|
+
|
48
|
+
# List TAR.BZ2 contents
|
49
|
+
zippy --list datasets.tar.bz2
|
50
|
+
|
51
|
+
# Attempt unlocking with the bundled wordlist
|
52
|
+
zippy --unlock encrypted.zip -d password_list.txt --verbose
|
53
|
+
|
54
|
+
# Run salvage repair on a damaged tarball
|
55
|
+
zippy --repair broken.tar.gz --repair-mode remove_corrupted
|
56
|
+
```
|
57
|
+
|
58
|
+
Run `zippy --help` for the full command reference or `zippy --version` to confirm the installed release.
|
59
|
+
|
60
|
+
## Supported archive formats
|
61
|
+
|
62
|
+
| Family | Types |
|
63
|
+
| ------ | ----- |
|
64
|
+
| ZIP | `zip` (with optional password protection) |
|
65
|
+
| TAR | `tar`, `tar.gz`, `tar.bz2`, `tar.xz`, `tar.lzma`, `.tgz`, `.tbz`, `.txz`, `.tlz` |
|
66
|
+
| Single-file | `gzip` (`.gz`), `bz2` (`.bz2`), `xz` (`.xz`), `lzma` (`.lzma`) |
|
67
|
+
|
68
|
+
Unsupported formats (e.g. 7z, rar, zstd) will raise a friendly error instructing you to choose a supported type.
|
69
|
+
|
70
|
+
## Configuration & automation
|
71
|
+
|
72
|
+
- Use `--save-config <file>` to capture the current flag set (including passwords or dictionary paths if provided).
|
73
|
+
- Rehydrate saved flags via `--load-config <file>` for repeatable batch jobs.
|
74
|
+
- Disable animations with `--no-animation` for CI environments.
|
75
|
+
|
76
|
+
## Logging & colours
|
77
|
+
|
78
|
+
Logging defaults to concise `INFO` output. Add `--verbose` for `DEBUG` traces. Colour output automatically downgrades in non-interactive terminals, while animations fall back to plain log messages when disabled or redirected. Windows terminals are supported through `colorama`.
|
79
|
+
|
80
|
+
## Password dictionary
|
81
|
+
|
82
|
+
The bundled `password_list.txt` contains hundreds of common credentials, curated for demonstration purposes. The unlock command trims duplicates, ignores comments (`# ...`), and safely handles mixed encodings. Supply your own list with `--dictionary <file>` for larger attacks.
|
83
|
+
|
84
|
+
## Contributing
|
85
|
+
Pull requests are welcome—please open an issue describing the enhancement before submitting substantial changes.
|
86
|
+
|
87
|
+
## License
|
88
|
+
|
89
|
+
Zippy is released under the MIT License. See `LICENSE` for the full text.
|
90
|
+
|
91
|
+
## Disclaimer
|
92
|
+
|
93
|
+
Zippy is provided "as is" without warranty of any kind. Use at your own risk and keep backups of critical data.
|
94
|
+
|
95
|
+
**The author is not responsible for any data loss or damage resulting from the use of this software.**
|
@@ -0,0 +1,149 @@
|
|
1
|
+
Metadata-Version: 2.4
|
2
|
+
Name: py-zippy
|
3
|
+
Version: 1.0.0
|
4
|
+
Summary: Archive Utility Toolkit supporting multi-format workflows, password recovery, and repair helpers.
|
5
|
+
Author-email: John Hauger Mitander <john@on1.no>
|
6
|
+
License: MIT License
|
7
|
+
|
8
|
+
Copyright (c) 2025 John H. Mitander
|
9
|
+
|
10
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
11
|
+
of this software and associated documentation files (the "Software"), to deal
|
12
|
+
in the Software without restriction, including without limitation the rights
|
13
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
14
|
+
copies of the Software, and to permit persons to whom the Software is
|
15
|
+
furnished to do so, subject to the following conditions:
|
16
|
+
|
17
|
+
The above copyright notice and this permission notice shall be included in all
|
18
|
+
copies or substantial portions of the Software.
|
19
|
+
|
20
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
21
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
22
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
23
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
24
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
25
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
26
|
+
SOFTWARE.
|
27
|
+
|
28
|
+
Project-URL: Homepage, https://github.com/John0n1/ZIPPY
|
29
|
+
Project-URL: Documentation, https://github.com/John0n1/ZIPPY#readme
|
30
|
+
Project-URL: Issues, https://github.com/John0n1/ZIPPY/issues
|
31
|
+
Keywords: archives,zip,tar,cli,toolkit
|
32
|
+
Classifier: Development Status :: 5 - Production/Stable
|
33
|
+
Classifier: Environment :: Console
|
34
|
+
Classifier: Intended Audience :: System Administrators
|
35
|
+
Classifier: License :: OSI Approved :: MIT License
|
36
|
+
Classifier: Operating System :: OS Independent
|
37
|
+
Classifier: Programming Language :: Python
|
38
|
+
Classifier: Programming Language :: Python :: 3
|
39
|
+
Classifier: Programming Language :: Python :: 3.9
|
40
|
+
Classifier: Programming Language :: Python :: 3.10
|
41
|
+
Classifier: Programming Language :: Python :: 3.11
|
42
|
+
Classifier: Programming Language :: Python :: 3.12
|
43
|
+
Classifier: Topic :: System :: Archiving
|
44
|
+
Classifier: Topic :: System :: Archiving :: Compression
|
45
|
+
Classifier: Topic :: Utilities
|
46
|
+
Requires-Python: >=3.9
|
47
|
+
Description-Content-Type: text/markdown
|
48
|
+
License-File: LICENSE
|
49
|
+
Requires-Dist: colorama>=0.4.6
|
50
|
+
Requires-Dist: python-dotenv>=1.0
|
51
|
+
Requires-Dist: pyzipper>=0.3.6
|
52
|
+
Requires-Dist: patool>=1.12
|
53
|
+
Dynamic: license-file
|
54
|
+
|
55
|
+
<div align="center">
|
56
|
+
|
57
|
+
# Zippy
|
58
|
+
|
59
|
+
**Multi-purpose archive extraction, repair and brute-force toolkit.**
|
60
|
+
|
61
|
+
</div>
|
62
|
+
|
63
|
+
    
|
64
|
+
|
65
|
+
```bash
|
66
|
+
|
67
|
+
- **Broad format coverage** - (`tar`, `tar.gz`, `tar.bz2`, `tar.xz`, `tar.lzma`), (`gzip`, `bz2`, `xz`, `lzma`), `7z`, `rar`, `zstd` and ZIP family (including APK/JAR/WAR/IPA/EAR).
|
68
|
+
- **Consistent UX** - consistent logging, progress indicators, and tab completion for every command.
|
69
|
+
- **Security tooling** - create or re-lock encrypted ZIPs, run smart dictionary attacks with the bundled password list, and capture verbose traces when needed.
|
70
|
+
- **Integrity & repair** - repair, attempt salvage extractions, and perform best-effort recovery for TAR and single-file formats. It grabs whatever it can, even if files look broken or corrupted. This is achieved by scanning the archive for valid headers and footers, and extracting the data in between, then rebuilding the file structure using advanced data pointers and heuristics.
|
71
|
+
|
72
|
+
## Installation
|
73
|
+
|
74
|
+
### From PyPI (recommended)
|
75
|
+
|
76
|
+
```bash
|
77
|
+
python -m pip install zippy
|
78
|
+
```
|
79
|
+
|
80
|
+
### From source
|
81
|
+
|
82
|
+
```bash
|
83
|
+
git clone https://github.com/John0n1/ZIPPY.git
|
84
|
+
cd ZIPPY
|
85
|
+
python -m pip install .
|
86
|
+
|
87
|
+
### Debian package
|
88
|
+
|
89
|
+
```bash
|
90
|
+
sudo apt install ./zippy_*.deb
|
91
|
+
```
|
92
|
+
|
93
|
+
## Quick start
|
94
|
+
|
95
|
+
```bash
|
96
|
+
# Extract an archive
|
97
|
+
zippy --extract backups/site.tar.xz -o ./site
|
98
|
+
|
99
|
+
# Create a password-protected ZIP from multiple paths
|
100
|
+
zippy --lock secure.zip -f docs,images -p "Tru5ted!"
|
101
|
+
|
102
|
+
# List TAR.BZ2 contents
|
103
|
+
zippy --list datasets.tar.bz2
|
104
|
+
|
105
|
+
# Attempt unlocking with the bundled wordlist
|
106
|
+
zippy --unlock encrypted.zip -d password_list.txt --verbose
|
107
|
+
|
108
|
+
# Run salvage repair on a damaged tarball
|
109
|
+
zippy --repair broken.tar.gz --repair-mode remove_corrupted
|
110
|
+
```
|
111
|
+
|
112
|
+
Run `zippy --help` for the full command reference or `zippy --version` to confirm the installed release.
|
113
|
+
|
114
|
+
## Supported archive formats
|
115
|
+
|
116
|
+
| Family | Types |
|
117
|
+
| ------ | ----- |
|
118
|
+
| ZIP | `zip` (with optional password protection) |
|
119
|
+
| TAR | `tar`, `tar.gz`, `tar.bz2`, `tar.xz`, `tar.lzma`, `.tgz`, `.tbz`, `.txz`, `.tlz` |
|
120
|
+
| Single-file | `gzip` (`.gz`), `bz2` (`.bz2`), `xz` (`.xz`), `lzma` (`.lzma`) |
|
121
|
+
|
122
|
+
Unsupported formats (e.g. 7z, rar, zstd) will raise a friendly error instructing you to choose a supported type.
|
123
|
+
|
124
|
+
## Configuration & automation
|
125
|
+
|
126
|
+
- Use `--save-config <file>` to capture the current flag set (including passwords or dictionary paths if provided).
|
127
|
+
- Rehydrate saved flags via `--load-config <file>` for repeatable batch jobs.
|
128
|
+
- Disable animations with `--no-animation` for CI environments.
|
129
|
+
|
130
|
+
## Logging & colours
|
131
|
+
|
132
|
+
Logging defaults to concise `INFO` output. Add `--verbose` for `DEBUG` traces. Colour output automatically downgrades in non-interactive terminals, while animations fall back to plain log messages when disabled or redirected. Windows terminals are supported through `colorama`.
|
133
|
+
|
134
|
+
## Password dictionary
|
135
|
+
|
136
|
+
The bundled `password_list.txt` contains hundreds of common credentials, curated for demonstration purposes. The unlock command trims duplicates, ignores comments (`# ...`), and safely handles mixed encodings. Supply your own list with `--dictionary <file>` for larger attacks.
|
137
|
+
|
138
|
+
## Contributing
|
139
|
+
Pull requests are welcome—please open an issue describing the enhancement before submitting substantial changes.
|
140
|
+
|
141
|
+
## License
|
142
|
+
|
143
|
+
Zippy is released under the MIT License. See `LICENSE` for the full text.
|
144
|
+
|
145
|
+
## Disclaimer
|
146
|
+
|
147
|
+
Zippy is provided "as is" without warranty of any kind. Use at your own risk and keep backups of critical data.
|
148
|
+
|
149
|
+
**The author is not responsible for any data loss or damage resulting from the use of this software.**
|
@@ -0,0 +1,19 @@
|
|
1
|
+
LICENSE
|
2
|
+
README.md
|
3
|
+
pyproject.toml
|
4
|
+
py_zippy.egg-info/PKG-INFO
|
5
|
+
py_zippy.egg-info/SOURCES.txt
|
6
|
+
py_zippy.egg-info/dependency_links.txt
|
7
|
+
py_zippy.egg-info/entry_points.txt
|
8
|
+
py_zippy.egg-info/requires.txt
|
9
|
+
py_zippy.egg-info/top_level.txt
|
10
|
+
zippy/__init__.py
|
11
|
+
zippy/cli.py
|
12
|
+
zippy/create.py
|
13
|
+
zippy/extract.py
|
14
|
+
zippy/list.py
|
15
|
+
zippy/lock.py
|
16
|
+
zippy/repair.py
|
17
|
+
zippy/test.py
|
18
|
+
zippy/unlock.py
|
19
|
+
zippy/utils.py
|
@@ -0,0 +1 @@
|
|
1
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
zippy
|
@@ -0,0 +1,52 @@
|
|
1
|
+
[build-system]
|
2
|
+
requires = ["setuptools>=68", "wheel"]
|
3
|
+
build-backend = "setuptools.build_meta"
|
4
|
+
|
5
|
+
[project]
|
6
|
+
name = "py-zippy"
|
7
|
+
version = "1.0.0"
|
8
|
+
description = "Archive Utility Toolkit supporting multi-format workflows, password recovery, and repair helpers."
|
9
|
+
readme = "README.md"
|
10
|
+
license = { file = "LICENSE" }
|
11
|
+
requires-python = ">=3.9"
|
12
|
+
authors = [
|
13
|
+
{ name = "John Hauger Mitander", email = "john@on1.no" },
|
14
|
+
]
|
15
|
+
keywords = ["archives", "zip", "tar", "cli", "toolkit"]
|
16
|
+
classifiers = [
|
17
|
+
"Development Status :: 5 - Production/Stable",
|
18
|
+
"Environment :: Console",
|
19
|
+
"Intended Audience :: System Administrators",
|
20
|
+
"License :: OSI Approved :: MIT License",
|
21
|
+
"Operating System :: OS Independent",
|
22
|
+
"Programming Language :: Python",
|
23
|
+
"Programming Language :: Python :: 3",
|
24
|
+
"Programming Language :: Python :: 3.9",
|
25
|
+
"Programming Language :: Python :: 3.10",
|
26
|
+
"Programming Language :: Python :: 3.11",
|
27
|
+
"Programming Language :: Python :: 3.12",
|
28
|
+
"Topic :: System :: Archiving",
|
29
|
+
"Topic :: System :: Archiving :: Compression",
|
30
|
+
"Topic :: Utilities",
|
31
|
+
]
|
32
|
+
dependencies = [
|
33
|
+
"colorama>=0.4.6",
|
34
|
+
"python-dotenv>=1.0",
|
35
|
+
"pyzipper>=0.3.6",
|
36
|
+
"patool>=1.12",
|
37
|
+
]
|
38
|
+
|
39
|
+
[project.urls]
|
40
|
+
Homepage = "https://github.com/John0n1/ZIPPY"
|
41
|
+
Documentation = "https://github.com/John0n1/ZIPPY#readme"
|
42
|
+
Issues = "https://github.com/John0n1/ZIPPY/issues"
|
43
|
+
|
44
|
+
[project.scripts]
|
45
|
+
zippy = "zippy.cli:main"
|
46
|
+
|
47
|
+
[tool.setuptools]
|
48
|
+
include-package-data = true
|
49
|
+
|
50
|
+
[tool.setuptools.packages.find]
|
51
|
+
where = ["."]
|
52
|
+
include = ["zippy", "zippy.*"]
|
py_zippy-1.0.0/setup.cfg
ADDED