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.0

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.0
File Size Uploaded
psqueeze-1.0.0.tar.gz 10.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for psqueeze 1.0.0
File Interpreter ABI Platform
psqueeze-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 22.5 kB

Release files / psqueeze-1.0.0.tar.gz

Download URL psqueeze-1.0.0.tar.gz
Size 10.4 kB
Tags Source
SHA-256 checksum
How to use checksums
68d3d67c5efb87583c099a1530733324b0d07d916966f07b893d56a40eb0dc92
BLAKE2b-256 checksum
How to use checksums
a017b3f96326bf146c8286588d7d1bc937bcfbdceb0cfb16a1d20b3b0c8585fb
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.0-py3-none-any.whl

Download URL psqueeze-1.0.0-py3-none-any.whl
Size 12.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c0bad158839c938866bee6e10e9d9282bf1bd071a1fcc519cdd2324cd1b0af54
BLAKE2b-256 checksum
How to use checksums
bc7b0a431cabcbc2efa1be2f6ed8f60d54d4e5ad112599c67d501840648a0480
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

1.0.1

2 release files

This release

1.0.0 This release

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