{ "info": { "author": "QiaoPeng", "author_email": "john_04047210@163.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: Microsoft :: Windows", "Programming Language :: C", "Programming Language :: Python :: 3" ], "description": "# Install from source:\n- $ python setup.py build\n- $ python setup.py install\n----\n# Usage:\n- compress & decompress:
\n**python example:**\n```python\n#-*- coding:utf-8 -*-\nimport PycHuffman as huffman\n\n\ndef run_test():\n file_in = 'original_file.jpg'\n file_out = 'compressed_file.hum.bin'\n file_out_out = 'decompressed_file.hum.jpg'\n rtn = huffman.compress(file_in, file_out)\n print('compress return:', rtn)\n rtn = huffman.decompress(file_out, file_out_out)\n print('decompress return:', rtn)\n\n\n\nif __name__ == '__main__':\n run_test()\n```\n# Upload PyPI\n- $ python -m pip install --user --upgrade setuptools wheel twine\n- $ python setup.py sdist bdist_wheel\n- $ python -m twine upload --repository-url https://upload.pypi.org/legacy/ dist/*\n----\n# Upload TestPyPI\n- $ python -m pip install --user --upgrade setuptools wheel twine\n- $ python setup.py sdist bdist_wheel\n- $ python -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*\n- $ python -m pip install --index-url https://test.pypi.org/simple/ --no-deps PycHuffman\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/john04047210/pyhuffman.git", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "PycHuffman", "package_url": "https://pypi.org/project/PycHuffman/", "platform": "", "project_url": "https://pypi.org/project/PycHuffman/", "project_urls": { "Homepage": "https://github.com/john04047210/pyhuffman.git", "Source": "https://github.com/john04047210/pyhuffman.git" }, "release_url": "https://pypi.org/project/PycHuffman/1.1.0/", "requires_dist": null, "requires_python": "", "summary": "compress or decompress with huffman", "version": "1.1.0" }, "last_serial": 5444872, "releases": { "1.1.0": [ { "comment_text": "", "digests": { "md5": "7e1d40be685a2ee410c9fe8cb0167cfb", "sha256": "4c39e9fc91fe0ba9f6bd95f4e126e76844f59900504e1fcccbb1fee28a30b134" }, "downloads": -1, "filename": "PycHuffman-1.1.0-cp37-cp37m-win32.whl", "has_sig": false, "md5_digest": "7e1d40be685a2ee410c9fe8cb0167cfb", "packagetype": "bdist_wheel", "python_version": "cp37", "requires_python": null, "size": 8919, "upload_time": "2019-06-25T10:23:17", "url": "https://files.pythonhosted.org/packages/bb/60/8017edd91db9a183189cb8c8276c351b8a8abc074b5cff025c878e7445ae/PycHuffman-1.1.0-cp37-cp37m-win32.whl" }, { "comment_text": "", "digests": { "md5": "cb777e105bf1200c066fd7421508deb1", "sha256": "ccca1a5590ec07096c35800fe40f6aec11b65ca4acbdee6fe1756f542940c5c3" }, "downloads": -1, "filename": "PycHuffman-1.1.0.tar.gz", "has_sig": false, "md5_digest": "cb777e105bf1200c066fd7421508deb1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4461, "upload_time": "2019-06-25T10:23:19", "url": "https://files.pythonhosted.org/packages/63/18/3a2a5623bdeb0fe8f9f81c6663c768c71ff993b0f588dc336ffce65f8508/PycHuffman-1.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7e1d40be685a2ee410c9fe8cb0167cfb", "sha256": "4c39e9fc91fe0ba9f6bd95f4e126e76844f59900504e1fcccbb1fee28a30b134" }, "downloads": -1, "filename": "PycHuffman-1.1.0-cp37-cp37m-win32.whl", "has_sig": false, "md5_digest": "7e1d40be685a2ee410c9fe8cb0167cfb", "packagetype": "bdist_wheel", "python_version": "cp37", "requires_python": null, "size": 8919, "upload_time": "2019-06-25T10:23:17", "url": "https://files.pythonhosted.org/packages/bb/60/8017edd91db9a183189cb8c8276c351b8a8abc074b5cff025c878e7445ae/PycHuffman-1.1.0-cp37-cp37m-win32.whl" }, { "comment_text": "", "digests": { "md5": "cb777e105bf1200c066fd7421508deb1", "sha256": "ccca1a5590ec07096c35800fe40f6aec11b65ca4acbdee6fe1756f542940c5c3" }, "downloads": -1, "filename": "PycHuffman-1.1.0.tar.gz", "has_sig": false, "md5_digest": "cb777e105bf1200c066fd7421508deb1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4461, "upload_time": "2019-06-25T10:23:19", "url": "https://files.pythonhosted.org/packages/63/18/3a2a5623bdeb0fe8f9f81c6663c768c71ff993b0f588dc336ffce65f8508/PycHuffman-1.1.0.tar.gz" } ] }