PyCompress
Pycompressor is a tool for compressing text files into smaller ones, as well as extracting compressed files back into the original content.
It can be used as a program or imported as a package module, and use the functions defined on it.
For example, in order to compress one file:
$ pycompress -c /usr/share/dict/words -d /tmp/compressed.zf
The original file, in this example has a size of ~4.8M, and the tool left the resulting file at /tmp/compressed.zf, with a size of ~2.7M.
In order to extract it:
$ pycompress -x /tmp/compressed.zf -d /tmp/original
You can specify the name of the resulting file with the -d flag. If you don’t indicate a name for the resulting file, the default will be <original-file>.comp.
For the full options, run:
$ pycompress -h
Installation
pip install trenzalore
Will install the package and leave an application named pycompress for using the command line utility.
Development
To install the package in development mode, run:
make dev
And run the tests with:
make test
Tests have dependencies that can be installed by running make testdeps.
Before submitting a pull request, run the checklist to make sure all dependencies are met (code style/linting, tests, pass, etc.). This is automated with:
make checklist
This will run the checks for the code style (make lint), as well as the tests (make test).
In order to check that the project runs with the supported Python versions, run:
make tox
Metadata
Release files for trenzalore 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| trenzalore-0.2.0.tar.gz | 9.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| trenzalore-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.2 kB
Release files / trenzalore-0.2.0.tar.gz
| Download URL | trenzalore-0.2.0.tar.gz |
|---|---|
| Size | 9.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
96616e58a194e018126bc7ba829050189d6c94951651af61aad180f5e50f1dd2
|
|
BLAKE2b-256 checksum How to use checksums |
7a0ce206d6dbaade1c79a86b72fa2a79ddb68e73eea5d8983f15ceacb2f4d7f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
|
Release files / trenzalore-0.2.0-py3-none-any.whl
| Download URL | trenzalore-0.2.0-py3-none-any.whl |
|---|---|
| Size | 11.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0c77831280bac6f765670b894a892f6195fbef272f2d269683c5752ad8838746
|
|
BLAKE2b-256 checksum How to use checksums |
d850e8442bb123d910c16dac0c3cedf8555f8abe93cde4f41e3171a1f7d804b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
|
Security for trenzalore 0.2.0
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.