Skip to main content

'Simple program to compressing text files using 4 most popular lossless algorithms'

Project description

Program to text compression and decompression which has implemented a few of the most popular lossless algorithms.

Description

Program compress and decompress text files, using chosen algorithm. It can run on files as well as in recursive way on directory with text files. Solid compression mode can be set with proper flag, default if directory is given it runs with non-solid mode and compress each file in that directory creating new compressed file. Implemented algorithms are:

Usage

To install tcmpr use following command (assuming that you have pip installed):

$ pip install tcmpr

Compress file filename.txt with default algorithm (huffman coding):

$ tcmpr filename.txt

Decompress file filename.txt.huffman with appropriate algorithm based on extension (here .huffman):

$ tcmpr -d filename.txt.huffman

Other commands are described in official documentation

Docs

Documentation to project is hosted on readthedocs.org under following link here

Authors

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

tcmpr-0.2-py2.py3-none-any.whl (15.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file tcmpr-0.2-py2.py3-none-any.whl.

File metadata

  • Download URL: tcmpr-0.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 15.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7

File hashes

Hashes for tcmpr-0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d2274d8dec3ca8ac82b7fe2892dfb931463781d64d38b5c1470fca6865374323
MD5 214ceb53d9bad005e1173cedab7a10d5
BLAKE2b-256 0f6c46893726812515a801be180555f30690654230573a2d2fa68b3c81e6a5b9

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page