{ "info": { "author": "Arvid Norlander", "author_email": "VorpalBlade@users.noreply.github.com", "bugtrack_url": null, "classifiers": [ "Framework :: Pelican :: Plugins", "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# Zopfli Gzip cache\n\nThis is a variant of [gzip_cache] but using [zopfli] for better compression.\n\nCertain web servers (e.g., Nginx) can use a static cache of gzip-compressed\nfiles to prevent the server from compressing files during an HTTP call. Since\ncompression occurs at another time, these compressed files can be compressed\nat a higher compression level for increased optimization.\n\nSince zopfli is slow, this plugin uses joblib to compress files in parallel.\n\nThe ``pelican-zopfli`` plugin compresses all common text type files into a\n``.gz`` file within the same directory as the original file.\n\n## Installation\n\nThe easiest option is to install via pip from PyPI:\n\n```\npip install pelican-zopfli\n```\n\nIt is also possible to simply clone the git repository and put it in a directory\nlisted in ``PLUGIN_PATHS`` in your ``pelicanconf.py``:\n\n```\ngit clone https://github.com/VorpalBlade/pelican_zopfli.git\n```\n\nIn both cases you will then have to enable the plugin by putting\n``pelican_zopfli`` into ``PLUGINS`` in your pelican configuration. It is\na good idea to only do this in your ``publishconf.py`` since this plugin is\nquite slow.\n\n## Settings\n\n* `PELICAN_ZOPFLI_OVERWRITE`\n If True, the original files will be replaced by the gzip-compressed files. \n This is useful for static hosting services (e.g S3). Defaults to False.\n\n [gzip_cache]: \n [zopfli]: \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/VorpalBlade/pelican_zopfli", "keywords": "pelican blog static compress zopfli", "license": "AGPL-3.0", "maintainer": "", "maintainer_email": "", "name": "pelican-zopfli", "package_url": "https://pypi.org/project/pelican-zopfli/", "platform": "", "project_url": "https://pypi.org/project/pelican-zopfli/", "project_urls": { "Homepage": "https://github.com/VorpalBlade/pelican_zopfli" }, "release_url": "https://pypi.org/project/pelican-zopfli/1.0.1/", "requires_dist": [ "zopflipy (>=1.1)", "pelican (>=4.0)", "joblib (>=0.13.2)" ], "requires_python": "", "summary": "An static resource compression plugin for Pelican, the static site generator.", "version": "1.0.1" }, "last_serial": 5110521, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "df9462d661aa8381093eda68a03bac01", "sha256": "ca4c47686525e078094b038745c8b14d4c724b26d6308eaac5ca1a156b751e11" }, "downloads": -1, "filename": "pelican_zopfli-1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "df9462d661aa8381093eda68a03bac01", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5639, "upload_time": "2019-04-07T17:41:09", "url": "https://files.pythonhosted.org/packages/80/54/9ef7253c321cca2809ec63a2bffb6eebbdffeb76f4425cf72f9fa1515795/pelican_zopfli-1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8404e1e54d68adaa9b5bbe2c832e2ac8", "sha256": "b31804514c9a0fb7ccf2f83e4053c3b3bc97375f4cdbf7318c870877f197c7cf" }, "downloads": -1, "filename": "pelican_zopfli-1.0.tar.gz", "has_sig": false, "md5_digest": "8404e1e54d68adaa9b5bbe2c832e2ac8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3712, "upload_time": "2019-04-07T17:41:12", "url": "https://files.pythonhosted.org/packages/fd/44/a4d9327d818420231f16d692375d3b57073bbe9f9a1bd999508a6de5bb72/pelican_zopfli-1.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "ea63af1dfa3314002ef32112c9aaeb66", "sha256": "0dc25488f7fc843f5cd0fc71cba06627d5f6868cf33261e495124bda8fbfb154" }, "downloads": -1, "filename": "pelican_zopfli-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "ea63af1dfa3314002ef32112c9aaeb66", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 15870, "upload_time": "2019-04-07T17:49:27", "url": "https://files.pythonhosted.org/packages/77/c0/9e3b4bd67ed8b90b891c540a70f1918f509c9ded26d78d09d4312913a421/pelican_zopfli-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a0e4d4d3551f1d53e573dea05d41a74f", "sha256": "773eac5f5dc4bdd8bd9e82e37c21b8edb6e1e868fe7fdfcc48e0fa05b0ea9a49" }, "downloads": -1, "filename": "pelican_zopfli-1.0.1.tar.gz", "has_sig": false, "md5_digest": "a0e4d4d3551f1d53e573dea05d41a74f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3712, "upload_time": "2019-04-07T17:49:28", "url": "https://files.pythonhosted.org/packages/7a/9c/8eef0c1d4315cf62b698c6877f981806bfc0cb5d572f69ae3e2900a18b46/pelican_zopfli-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ea63af1dfa3314002ef32112c9aaeb66", "sha256": "0dc25488f7fc843f5cd0fc71cba06627d5f6868cf33261e495124bda8fbfb154" }, "downloads": -1, "filename": "pelican_zopfli-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "ea63af1dfa3314002ef32112c9aaeb66", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 15870, "upload_time": "2019-04-07T17:49:27", "url": "https://files.pythonhosted.org/packages/77/c0/9e3b4bd67ed8b90b891c540a70f1918f509c9ded26d78d09d4312913a421/pelican_zopfli-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a0e4d4d3551f1d53e573dea05d41a74f", "sha256": "773eac5f5dc4bdd8bd9e82e37c21b8edb6e1e868fe7fdfcc48e0fa05b0ea9a49" }, "downloads": -1, "filename": "pelican_zopfli-1.0.1.tar.gz", "has_sig": false, "md5_digest": "a0e4d4d3551f1d53e573dea05d41a74f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3712, "upload_time": "2019-04-07T17:49:28", "url": "https://files.pythonhosted.org/packages/7a/9c/8eef0c1d4315cf62b698c6877f981806bfc0cb5d572f69ae3e2900a18b46/pelican_zopfli-1.0.1.tar.gz" } ] }