Skip to main content
Compander
=========

Simple context manager to wrap compression and uncompression of gzip and bzip2 files.

Example
-------

```
from compander import Compander

with Compander() as c: # Default is bz2
c.compress('uncompressed_file','compressed_file.bz2')

with Compander('bz2') as c:
c.uncompress('compressed_file.bz2','uncompressed_file')

with Compander('gz') as c:
c.compress('uncompressed_file','compressed_file.gz')

with Compander('gz') as c:
c.uncompress('compressed_file.gz','uncompressed_file')
```

Testing
-------

* python setup.py test

Installation
------------

* python setup.py install

Development
-----------

* pip install -r requirements.txt
* python setup.py test
* python setup.py develop

Metadata

Release files for compander 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 compander 0.1
File Size Uploaded Provenance Actions
compander-0.1.tar.gz 3.4 kB Without provenance Details for compander-0.1.tar.gz

Release files / compander-0.1.tar.gz

Download URL compander-0.1.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
9b6c0e23d9d46802f9d878e96e2bf5c6aa2ebb5624b8429492e7c5f9275115e0
BLAKE2b-256 checksum
How to use checksums
ed732c63461a3821b598d7a670564c69db6322a8de33936b73f029762890d6ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for compander 0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1 This release

1 release file No provenance

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