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.1-py2.py3-none-any.whl (12.8 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: tcmpr-0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 12.8 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.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 140074c887b1aa4ad73e9f260297697d13d224b29e452050f12b901e9448350d
MD5 3b3337fa25a36eb3ff526a1436eec825
BLAKE2b-256 f8afcb3578b9808f6515af6b4a266d14b6e61c80b6a0a81f7954505b1db32b01

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