Skip to main content

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)

Source distribution for psqueeze 1.0.1
File Size Uploaded
psqueeze-1.0.1.tar.gz 10.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for psqueeze 1.0.1
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page