{ "info": { "author": "leenr", "author_email": "i@leenr.ru", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication", "Operating System :: MacOS :: MacOS X", "Operating System :: POSIX", "Programming Language :: Python", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Topic :: Software Development :: Libraries" ], "description": "===========\ngzip-stream\n===========\n\n`gzip-stream` is a super-tiny library that will help you compress by GZIP\non-the-fly.\n\n`GZIPCompressedStream` class instance acting like an any other stream (in fact,\n`GZIPCompressedStream` inherits `io.RawIOBase `_),\nbut wraps another stream and compress it on-the-fly.\n\n.. code-block:: python\n\n from gzip_stream import GZIPCompressedStream\n from my_upload_lib import MyUploadClient\n\n upload_client = MyUploadClient()\n with open('my_very_big_1tb_file.txt') as file_to_upload:\n compressed_stream = GZIPCompressedStream(\n file_to_upload,\n compression_level=7\n )\n upload_client.upload_fileobj(compressed_stream)\n\n`GZIPCompressedStream` does not read entire stream, but instead read it\nby chunks, until compressed output size will not satisfy read size.\n\nModule works on Python ~= 3.5.\n\nInstallation\n------------\n.. code-block:: bash\n\n pip install gzip-stream\n\n\nLicense\n-------\nPublic Domain: `CC0 1.0 Universal `_.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/leenr/gzip-stream", "keywords": "gzip,compression", "license": "", "maintainer": "leenr", "maintainer_email": "i@leenr.ru", "name": "gzip-stream", "package_url": "https://pypi.org/project/gzip-stream/", "platform": "posix", "project_url": "https://pypi.org/project/gzip-stream/", "project_urls": { "Homepage": "https://github.com/leenr/gzip-stream" }, "release_url": "https://pypi.org/project/gzip-stream/1.0.0/", "requires_dist": null, "requires_python": "~=3.5", "summary": "Compress stream by GZIP on the fly.", "version": "1.0.0" }, "last_serial": 5573562, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "0e1083412f4a394ab3e10741cfaa82d6", "sha256": "10537ba40d8ea94e6780d13bd89235d537a3d725d4c9d2dcf34993b15fa3dfe3" }, "downloads": -1, "filename": "gzip-stream-1.0.0.tar.gz", "has_sig": false, "md5_digest": "0e1083412f4a394ab3e10741cfaa82d6", "packagetype": "sdist", "python_version": "source", "requires_python": "~=3.5", "size": 2732, "upload_time": "2019-07-23T17:25:19", "url": "https://files.pythonhosted.org/packages/3e/f2/fef1be541429c6f944889dd8713dd0be8ce350f29cea2bc26378996e825d/gzip-stream-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0e1083412f4a394ab3e10741cfaa82d6", "sha256": "10537ba40d8ea94e6780d13bd89235d537a3d725d4c9d2dcf34993b15fa3dfe3" }, "downloads": -1, "filename": "gzip-stream-1.0.0.tar.gz", "has_sig": false, "md5_digest": "0e1083412f4a394ab3e10741cfaa82d6", "packagetype": "sdist", "python_version": "source", "requires_python": "~=3.5", "size": 2732, "upload_time": "2019-07-23T17:25:19", "url": "https://files.pythonhosted.org/packages/3e/f2/fef1be541429c6f944889dd8713dd0be8ce350f29cea2bc26378996e825d/gzip-stream-1.0.0.tar.gz" } ] }