{ "info": { "author": "Victor Moura, Durval Carvalho", "author_email": "victor_cmoura@hotmail.com, durvalcsouza@outlook.com", "bugtrack_url": null, "classifiers": [], "description": "# PyHuff \n[![PyPI](https://img.shields.io/pypi/v/pyhuff)](https://pypi.org/project/pyhuff/) [![format](https://img.shields.io/pypi/format/pyhuff)](https://pypi.org/project/pyhuff/)\n\n## Description\nThis package allows its users to shrink any ASCII based file using Huffman Code algorithm.\n\n---\n\n## Installing\nPyHuff is available in [PyPi](https://pypi.org/project/pyhuff/):\n```sh\n$ pip install pyhuff\n```\n\n---\n\n## Usage\nTo shrink a file named `example.txt`:\n```sh\n$ pyhuff example.txt\n```\n\nTwo files will be created:\n- **example.huff**: the encoded file\n- **example.tree.huff**: the huffman tree used to encode the file\n\nTo restore the original file:\n```sh\n$ pyhuff example.huff example.tree.huff decoded_example.txt\n```\nIn 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.\n\nTo get help, simply call:\n```sh\n$ pyhuff\n```\n---\n\ncreated by [Durval Carvalho](https://github.com/durvalcarvalho) and [Victor Moura](https://github.com/victorcmoura)\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/projeto-de-algoritmos-2019-2/project-3-huffman-code-cli", "keywords": "", "license": "GPL-3.0", "maintainer": "", "maintainer_email": "", "name": "pyhuff", "package_url": "https://pypi.org/project/pyhuff/", "platform": "", "project_url": "https://pypi.org/project/pyhuff/", "project_urls": { "Homepage": "https://github.com/projeto-de-algoritmos-2019-2/project-3-huffman-code-cli" }, "release_url": "https://pypi.org/project/pyhuff/1.1/", "requires_dist": null, "requires_python": "", "summary": "This is a huffman code compressor", "version": "1.1" }, "last_serial": 5971835, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "bdb3cbe76ae5d2645f6988f69b9d7ce0", "sha256": "9b0ccdb3db7f18f98777f8c458720c9d41aefe4de288ec0787b7d9ad3e56576e" }, "downloads": -1, "filename": "pyhuff-1.0-py3.7.egg", "has_sig": false, "md5_digest": "bdb3cbe76ae5d2645f6988f69b9d7ce0", "packagetype": "bdist_egg", "python_version": "3.7", "requires_python": null, "size": 4429, "upload_time": "2019-10-12T21:37:41", "url": "https://files.pythonhosted.org/packages/bf/cd/1dffafcb7a344f0ee4a0c2a8fc57c8e0480d79179953522deac56bf460ac/pyhuff-1.0-py3.7.egg" }, { "comment_text": "", "digests": { "md5": "334232cfd8e4ec7ba451335584717981", "sha256": "5d630fffc753ee595df0d41a94a85ffe6f0bc8f2b8917b46610160aaf247ba50" }, "downloads": -1, "filename": "pyhuff-1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "334232cfd8e4ec7ba451335584717981", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2668, "upload_time": "2019-10-12T21:37:39", "url": "https://files.pythonhosted.org/packages/1d/d1/498bc6c5eb257e5ca46eeb24ccfa490a2c5639f15e5dc071634b057a21e1/pyhuff-1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a959a36e9ad234ebb6a40d8765ec4839", "sha256": "5961c8642c6911c7cd10b4ed2f5f2b6f185c0482a814409337a71b2c0066ce32" }, "downloads": -1, "filename": "pyhuff-1.0.tar.gz", "has_sig": false, "md5_digest": "a959a36e9ad234ebb6a40d8765ec4839", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1923, "upload_time": "2019-10-12T21:37:43", "url": "https://files.pythonhosted.org/packages/c0/1e/fa9a206d6916575b75a1b8b3cce21c880355749eed3a6d7fcdb3d5d4be3c/pyhuff-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "50f9c453502a829045826971dac9b93b", "sha256": "6196023cca9630d83c64107fd5134ef3db9248ac2a9379a5ff1b4acc197090a8" }, "downloads": -1, "filename": "pyhuff-1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "50f9c453502a829045826971dac9b93b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4630, "upload_time": "2019-10-14T14:19:10", "url": "https://files.pythonhosted.org/packages/87/5f/5e0158a48c4cb140a54711784143a402a374c8017e48e83cfa8894d14ba6/pyhuff-1.1-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "50f9c453502a829045826971dac9b93b", "sha256": "6196023cca9630d83c64107fd5134ef3db9248ac2a9379a5ff1b4acc197090a8" }, "downloads": -1, "filename": "pyhuff-1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "50f9c453502a829045826971dac9b93b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4630, "upload_time": "2019-10-14T14:19:10", "url": "https://files.pythonhosted.org/packages/87/5f/5e0158a48c4cb140a54711784143a402a374c8017e48e83cfa8894d14ba6/pyhuff-1.1-py3-none-any.whl" } ] }