{ "info": { "author": "Stefano Dottore", "author_email": "docheinstein@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "LZW3\n====\n\nCompressor and decompressor that uses `LZW\nalgorithm `__\nwritten in Python3.\n\nREQUIREMENTS\n------------\n\nRequires at least Python 3.5.\n\nINSTALLATION\n------------\n\n::\n\n pip install lzw3\n\nUSAGE\n-----\n\nTwo scripts will be installed in your local binary path (e.g.\n``/home/user/.local/bin``): ``compress`` and ``uncompress``. If you want\nto invoke these scripts, ensure that your ``$PATH`` contains the python\nbinary path Note that this compressor just compress regular files (i.e.\ndoesn't create an archive such as .zip or .tar.gz). Anyhow, directory\ncan still be compressed using the option: ``-r``\n\nCompression\n~~~~~~~~~~~\n\nThe compression phases replaces the original files with the compressed\nones, appending the extension \".Z\"\n\nCompress a list of files:\n\n::\n\n python3 -m lzw3.compressor doc1.txt doc2.txt\n\nCompress a directory recursively:\n\n::\n\n python3 -m lzw3.compressor -r /home/user/Docs/Project\n\nAlternatively you can user the ``compress`` script as follows:\n\n::\n\n compress doc1.txt doc2.txt\n\nOptions\n^^^^^^^\n\n::\n\n -r\n Recursively compress the files inside the directories\n within the given file list.\n If not specified, directories in the file list are skipped.\n\n -v\n Prints information about the handled files and the percentage of\n saved space for each compressed file.\n\n -t\n Prints the time spent for compress each file.\n\n -k\n Keeps the original files instead of replace those with the\n compressed ones.\n\n -f\n Force to compress and keep the compressed file, even if the size\n of the compressed file is higher than the size of the original one.\n\n -d\n Prints debug messages.\n\nDecompression\n~~~~~~~~~~~~~\n\nThe decompression phases replaces the compressed files (with extension\n\".Z\") with the uncompressed ones.\n\nDecompress a list of files:\n\n::\n\n python3 -m lzw3.decompressor doc1.txt.Z doc2.txt.Z\n\nDecompress a directory recursively:\n\n::\n\n python3 -m lzw3.decompressor -r /home/user/Docs/Project\n\nAlternatively you can user the ``uncompress`` script as follows:\n\n::\n\n uncompress doc1.txt.Z doc2.txt.Z\n\nOptions\n^^^^^^^\n\n::\n\n -r\n Recursively decompress the files inside the directories\n within the given file list.\n If not specified, directories in the file list are skipped.\n\n -v\n Prints information about the handled files.\n\n -t\n Prints the time spent for decompress each file.\n\n -k\n Keeps the decompressed files after the decompression.\n\n -f\n Force to decompress the files even if the file name \n doesn't end with \".Z\".\n\n -d\n Prints debug messages.\n\nTESTING\n-------\n\nThe project comes with few unit tests, both on static or random\ngenerated files. To run the tests use:\n\n::\n\n python3 setup.py test\n\nLICENSE\n-------\n\nLZW3 is `MIT licensed <./LICENSE>`__.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Docheinstein/lzw3", "keywords": "lzw lzw3 compressor decompressor compression compress uncompress", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "lzw3", "package_url": "https://pypi.org/project/lzw3/", "platform": "", "project_url": "https://pypi.org/project/lzw3/", "project_urls": { "Homepage": "https://github.com/Docheinstein/lzw3" }, "release_url": "https://pypi.org/project/lzw3/0.4/", "requires_dist": null, "requires_python": ">=3.5", "summary": "Compressor and decompressor for arbitrary files that use LZW algorithm", "version": "0.4" }, "last_serial": 4869808, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "c4f032b22783bf0c69318b78813eda29", "sha256": "d6169b2ed274d8d23a0974d36325ed81429d5fde2225c4b2c40ab55b098e6296" }, "downloads": -1, "filename": "lzw3-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "c4f032b22783bf0c69318b78813eda29", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 20390, "upload_time": "2019-02-19T10:01:00", "url": "https://files.pythonhosted.org/packages/94/63/57b2014abe586241c11c81a558df8391ca9b5a5918470e8de5620c3eaecd/lzw3-0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "be54a8bf8a07812a3babf14118336e6b", "sha256": "0bdf90642b3146850e24a3cce73d851544f5bb7ab2ceae79da9bb4db49d5e12c" }, "downloads": -1, "filename": "lzw3-0.1.tar.gz", "has_sig": false, "md5_digest": "be54a8bf8a07812a3babf14118336e6b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 14976, "upload_time": "2019-02-19T10:01:04", "url": "https://files.pythonhosted.org/packages/12/15/a3c878a684a1ae47a876c71d9a97871133ceab503e2c4c777e1f6fd80599/lzw3-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "250ff234be954190b4c5950043861cbb", "sha256": "32b7a6ee590c6a4b77ba7172ca0b4a2830b9a036e50f84b0518e2b88770f1dd0" }, "downloads": -1, "filename": "lzw3-0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "250ff234be954190b4c5950043861cbb", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 20393, "upload_time": "2019-02-19T10:05:40", "url": "https://files.pythonhosted.org/packages/c7/40/1ab134f326b7fc010da0e5c4973f3b449571622cfad27a96c41915846315/lzw3-0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "689b04a124c8cdb46b45c95390fce299", "sha256": "6cf144fd66ff1cb4a0c3a2062ef43efa8c0d8eea35f2cc6a2f77663807a561b0" }, "downloads": -1, "filename": "lzw3-0.2.tar.gz", "has_sig": false, "md5_digest": "689b04a124c8cdb46b45c95390fce299", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 14973, "upload_time": "2019-02-19T10:05:41", "url": "https://files.pythonhosted.org/packages/e9/79/0ae1c5b333e442721e19198203cc9683a6c6fd5d80a46ebb6d7807d76aad/lzw3-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "23d969e8a80cf8c3716abd915f305982", "sha256": "0b22a0597161527d57ef1dc3201e211c557134fcffc1e4b3c67e99940fe8d84d" }, "downloads": -1, "filename": "lzw3-0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "23d969e8a80cf8c3716abd915f305982", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 21212, "upload_time": "2019-02-19T10:29:02", "url": "https://files.pythonhosted.org/packages/b5/7a/4035cb1707145d2dc00981715605b86f43b3765f607e65f2120577d72a02/lzw3-0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fb2181b83ad687b35be2fe22ed87275b", "sha256": "43f63b92c0ae8b51f84442a327a0b679e891b0b35698a1976206a52f055c9666" }, "downloads": -1, "filename": "lzw3-0.3.tar.gz", "has_sig": false, "md5_digest": "fb2181b83ad687b35be2fe22ed87275b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 15482, "upload_time": "2019-02-19T10:29:03", "url": "https://files.pythonhosted.org/packages/9c/3c/04c1cd4ae3d2c9bc97fd66850c96a7dd7579eb5755b3805d9bf9442cb3df/lzw3-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "150cfb67fb843531b6b2b9d7812f283c", "sha256": "08e65ff5f95b6c4d918ea798de78551c03f76f371f6d1e7a79f4da0f1bbe04b8" }, "downloads": -1, "filename": "lzw3-0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "150cfb67fb843531b6b2b9d7812f283c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 24491, "upload_time": "2019-02-26T14:09:25", "url": "https://files.pythonhosted.org/packages/0a/e9/4daca04ab29e60b9550e1175e5163ab0ccd6e955ae2fee0592af35b38b84/lzw3-0.4-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "150cfb67fb843531b6b2b9d7812f283c", "sha256": "08e65ff5f95b6c4d918ea798de78551c03f76f371f6d1e7a79f4da0f1bbe04b8" }, "downloads": -1, "filename": "lzw3-0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "150cfb67fb843531b6b2b9d7812f283c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 24491, "upload_time": "2019-02-26T14:09:25", "url": "https://files.pythonhosted.org/packages/0a/e9/4daca04ab29e60b9550e1175e5163ab0ccd6e955ae2fee0592af35b38b84/lzw3-0.4-py3-none-any.whl" } ] }