psqueeze
Pure Python implementation of Richard Greenlaw's Squeeze compression format
Usage
import squeeze
squeeze.compress(bytes, filename = "file.bin", log = False)
# bytes is required, it is an uncompressed bytes object
# fn is the filename to be written to the squeeze archive
# log enables/disables the compressor's internal status logging
squeeze.uncompress(bytes, returnfilename = False, log = False)
# bytes is required, it is an uncompressed bytes object
# fn is the filename to be written to the squeeze archive
# log enables/disables the decompressor's internal status logging
CLI
$ psq
# compresses a file or multiple, supports bulk operations and an interactive mode.
# filename is written to current path + .SQ
# --filename=NAME can be added before every file to change the output path of extraction
$ pusq
# decompresses a file or multiple, supports bulk operations and an interactive mode.
# filename is written to the path specified in the header, unless a --filename=NAME is put before the path
Metadata
Release files for psqueeze 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| psqueeze-1.0.1.tar.gz | 10.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| psqueeze-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.5 kB
Release files / psqueeze-1.0.1.tar.gz
| Download URL | psqueeze-1.0.1.tar.gz |
|---|---|
| Size | 10.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4ee5050928eb46d616b5b4d673e45e21a4c3e67553653ea1ee37cd7925428b3b
|
|
BLAKE2b-256 checksum How to use checksums |
bfc6efd1b3e1d81119617c428e825656cb3207d6e8dc6f49ffaf5ffe84fbd000
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.7
|
Release files / psqueeze-1.0.1-py3-none-any.whl
| Download URL | psqueeze-1.0.1-py3-none-any.whl |
|---|---|
| Size | 12.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
57cd965ede4544a72bce8a90311559c71ed27a3b0c9c25cfe7a117bfe2469795
|
|
BLAKE2b-256 checksum How to use checksums |
ee6d0c7cc5d7e9b44ff1eaef6d8721d2f704db65b34d4b36717312c82bea3c76
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.7
|