PyHuff
Description
This package allows its users to shrink any ASCII based file using Huffman Code algorithm.
Installing
PyHuff is available in PyPi:
$ pip install pyhuff
Usage
To shrink a file named example.txt:
$ pyhuff example.txt
Two files will be created:
- example.huff: the encoded file
- example.tree.huff: the huffman tree used to encode the file
To restore the original file:
$ pyhuff example.huff example.tree.huff decoded_example.txt
In the example above, the decoded file will be created as decoded_example.txt. You can pass any filename as argument. Notice that, if the given file already exists, it will be overwritten.
To get help, simply call:
$ pyhuff
created by Durval Carvalho and Victor Moura
Metadata
Release files for pyhuff 1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyhuff-1.1-py3-none-any.whl | Python 3 | none | any | Details for pyhuff-1.1-py3-none-any.whl |
Release files / pyhuff-1.1-py3-none-any.whl
| Download URL | pyhuff-1.1-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6196023cca9630d83c64107fd5134ef3db9248ac2a9379a5ff1b4acc197090a8
|
|
BLAKE2b-256 checksum How to use checksums |
875f5e0158a48c4cb140a54711784143a402a374c8017e48e83cfa8894d14ba6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3
|
Security for pyhuff 1.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.