{ "info": { "author": "Ivan Begtin", "author_email": "ivan@begtin.tech", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "About\n=====\n\nThis tool and library were written to optimize Microsoft Word / Libreoffice ZIP based files. It uses 7-Zip, jpegoptim\nand pngquant and recompresses not only host zip file but also all images and other suitable files inside it.\n\n============\nInstallation\n============\n\nAt the command line::\n\n $ pip install filerepack\n\nOr, if you don't have pip installed::\n\n $ easy_install filerepack\n\nIf you want to install from the latest sources, you can do::\n\n $ git clone https://github.com/ivbeg/filerepack.git\n $ cd filerepack\n $ python setup.py filerepack\n\n\n\n\n============\nCommand line\n============\n\nUsage: frepacker.py FILENAME\n\n docx to csv convertor (http://github.com/ivbeg/filesrepack)\n Repacks ZIP and ZIP'based files and images for better compression\n\n Use command: \"frepacker.py \" to run recompression.\n\nExamples\n========\nfrepacker.py CP_CONTRACT_160166.docx\n\nRecompresses CP_CONTRACT_160166.docx including all zip files, images and so on\n\n\nCode\n====\n\n\nRepacks presentation file \"some_presentation.pptx\n >>> from filerepack import FileRepacker\n >>> rp = FileRepacker()\n >>> stats = rp.repack_zip_file(filename=\"some_presentation.pptx\")\n\n\nRecursively repacks all images .jpg and .png files in directory \"some_media_path\"\n >>> from filerepack import FileRepacker\n >>> rp = FileRepacker()\n >>> stats = rp.pack_images('some_media_path', recursive=True)\n\n\n\nRequirements\n============\nIt works in both Windows and Linux environments.\nYou need to install 7Zip, jpegoptim and pngquant in your OS PATH settings.\n\n\nAcknowledgements\n================\n\n\n.. :changelog:\n\nHistory\n=======\n\n\n0.1.0 (2018-01-14)\n------------------\n* First public release on PyPI and github code\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ivbeg/filesrepack", "keywords": "files converter compression", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "filerepack", "package_url": "https://pypi.org/project/filerepack/", "platform": "", "project_url": "https://pypi.org/project/filerepack/", "project_urls": { "Homepage": "https://github.com/ivbeg/filesrepack" }, "release_url": "https://pypi.org/project/filerepack/0.1.0/", "requires_dist": null, "requires_python": "", "summary": "Repacks existing (un)compressed files for higher compression", "version": "0.1.0" }, "last_serial": 3491091, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "608d016d783dec4faa3a85bafc58d46c", "sha256": "04e2fd86edea58235fde21fa9d518e00b6cbbbf9a46acba1aa3696ea817e4006" }, "downloads": -1, "filename": "filerepack-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "608d016d783dec4faa3a85bafc58d46c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7981, "upload_time": "2018-01-15T13:11:37", "url": "https://files.pythonhosted.org/packages/64/fc/b1ccb31cc49d0e2bc883c88651fa0aed76f7973fb14402df42c4faf4f4cc/filerepack-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c534a27d8e2c280e11d13b517d044e73", "sha256": "4071b3528e82492246f8cf522a993a93fac6dc666db5669965bdd6ea77e7e020" }, "downloads": -1, "filename": "filerepack-0.1.0-py3.4.egg", "has_sig": false, "md5_digest": "c534a27d8e2c280e11d13b517d044e73", "packagetype": "bdist_egg", "python_version": "3.4", "requires_python": null, "size": 9820, "upload_time": "2018-01-15T13:11:38", "url": "https://files.pythonhosted.org/packages/4f/15/d13a01bfba06b85724415c8a3ac7ef015376de667ec64a9627385d393ecc/filerepack-0.1.0-py3.4.egg" }, { "comment_text": "", "digests": { "md5": "c01c86b14acc0c4ab4a19b1a86a68fb3", "sha256": "3e9bf39e5b89a122afbdfc187cc9f55288db55ebbcf4e298c133e898bdcbe6da" }, "downloads": -1, "filename": "filerepack-0.1.0-py3.6.egg", "has_sig": false, "md5_digest": "c01c86b14acc0c4ab4a19b1a86a68fb3", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 10282, "upload_time": "2018-01-15T13:11:38", "url": "https://files.pythonhosted.org/packages/fd/79/4e4c4a7f4f1b1f7acb7e7e30d1ba7fb1a4a2966eaa7c7ec37084ba1d6ad3/filerepack-0.1.0-py3.6.egg" }, { "comment_text": "", "digests": { "md5": "b9baa98f7dc2936b18e21615a52215b3", "sha256": "6f9705ccf940c17f70c85bf1ac58b1551436be2cd440a3cb608a39315cd13901" }, "downloads": -1, "filename": "filerepack-0.1.0.tar.gz", "has_sig": false, "md5_digest": "b9baa98f7dc2936b18e21615a52215b3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5114, "upload_time": "2018-01-15T13:11:39", "url": "https://files.pythonhosted.org/packages/3f/95/50e0e4ded8c38a98651848c7ee28870c61396dbdda6d4b449e37f248bc15/filerepack-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "608d016d783dec4faa3a85bafc58d46c", "sha256": "04e2fd86edea58235fde21fa9d518e00b6cbbbf9a46acba1aa3696ea817e4006" }, "downloads": -1, "filename": "filerepack-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "608d016d783dec4faa3a85bafc58d46c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7981, "upload_time": "2018-01-15T13:11:37", "url": "https://files.pythonhosted.org/packages/64/fc/b1ccb31cc49d0e2bc883c88651fa0aed76f7973fb14402df42c4faf4f4cc/filerepack-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c534a27d8e2c280e11d13b517d044e73", "sha256": "4071b3528e82492246f8cf522a993a93fac6dc666db5669965bdd6ea77e7e020" }, "downloads": -1, "filename": "filerepack-0.1.0-py3.4.egg", "has_sig": false, "md5_digest": "c534a27d8e2c280e11d13b517d044e73", "packagetype": "bdist_egg", "python_version": "3.4", "requires_python": null, "size": 9820, "upload_time": "2018-01-15T13:11:38", "url": "https://files.pythonhosted.org/packages/4f/15/d13a01bfba06b85724415c8a3ac7ef015376de667ec64a9627385d393ecc/filerepack-0.1.0-py3.4.egg" }, { "comment_text": "", "digests": { "md5": "c01c86b14acc0c4ab4a19b1a86a68fb3", "sha256": "3e9bf39e5b89a122afbdfc187cc9f55288db55ebbcf4e298c133e898bdcbe6da" }, "downloads": -1, "filename": "filerepack-0.1.0-py3.6.egg", "has_sig": false, "md5_digest": "c01c86b14acc0c4ab4a19b1a86a68fb3", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 10282, "upload_time": "2018-01-15T13:11:38", "url": "https://files.pythonhosted.org/packages/fd/79/4e4c4a7f4f1b1f7acb7e7e30d1ba7fb1a4a2966eaa7c7ec37084ba1d6ad3/filerepack-0.1.0-py3.6.egg" }, { "comment_text": "", "digests": { "md5": "b9baa98f7dc2936b18e21615a52215b3", "sha256": "6f9705ccf940c17f70c85bf1ac58b1551436be2cd440a3cb608a39315cd13901" }, "downloads": -1, "filename": "filerepack-0.1.0.tar.gz", "has_sig": false, "md5_digest": "b9baa98f7dc2936b18e21615a52215b3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5114, "upload_time": "2018-01-15T13:11:39", "url": "https://files.pythonhosted.org/packages/3f/95/50e0e4ded8c38a98651848c7ee28870c61396dbdda6d4b449e37f248bc15/filerepack-0.1.0.tar.gz" } ] }