{ "info": { "author": "Vince Tse, based on work by Niall McCarroll", "author_email": "thelazyenginerd@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Topic :: System :: Filesystems" ], "description": "|Build Status| |Code Coverage| |Code Climate|\n\nS3 Cache for Python\n===================\n\n`Niall McCarroll `__ wrote a neat little `AWS\nS3 cache `__ on his\nblog that I found really useful, but could not find on\n`PyPI `__, so here it is in a refactored\nform as a public service.\n\nInstructions\n------------\n\n::\n\n from s3cache import S3Cache\n\n s3 = S3Cache(\"/tmp\", \"t13d-misc\")\n s3.connect()\n s3.create_bucket()\n assert(s3.bucket_exists())\n\n s3.set_verbosity(True)\n s3.set_caching(True)\n\n f = s3.open(\"/tmp/world.txt\", \"w\")\n f.write(\"Hello\")\n f.close()\n\n f = s3.open(\"/tmp/world.txt\", \"a\")\n f.write(\" World\")\n f.close()\n\n f2 = s3.open(\"/tmp/world.txt\", \"r\")\n f2.close()\n\n assert(s3.object_exists(\"/tmp/world.txt\"))\n s3.remove_object(\"/tmp/world.txt\")\n\nReferences\n----------\n\n#. `A local file cache for amazon S3 using python and\n boto `__\n\n.. |Build Status| image:: https://travis-ci.org/vincetse/python-s3-cache.svg?branch=master\n :target: https://travis-ci.org/vincetse/python-s3-cache\n :alt: Build Status\n\n.. |Code Coverage| image:: https://coveralls.io/repos/github/vincetse/python-s3-cache/badge.svg?branch=master\n :target: https://coveralls.io/github/vincetse/python-s3-cache?branch=master\n :alt: Code Coverage\n\n.. |Code Climate| image:: https://codeclimate.com/github/vincetse/python-s3-cache/badges/issue_count.svg\n :target: https://codeclimate.com/github/vincetse/python-s3-cache\n :alt: Issue Count", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/vincetse/python-s3-cache", "keywords": "aws,s3,cache", "license": "", "maintainer": "", "maintainer_email": "", "name": "s3cache", "package_url": "https://pypi.org/project/s3cache/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/s3cache/", "project_urls": { "Homepage": "https://github.com/vincetse/python-s3-cache" }, "release_url": "https://pypi.org/project/s3cache/0.1.1/", "requires_dist": null, "requires_python": "", "summary": "Local cache of S3 buckets", "version": "0.1.1" }, "last_serial": 2338278, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "fa51169d4826d543ee85749629a80670", "sha256": "2ba8427af371857e0fdbca2b0e4e2155cbc6b73c5237ddbdad32f4296dfc482e" }, "downloads": -1, "filename": "s3cache-0.1.0.tar.gz", "has_sig": false, "md5_digest": "fa51169d4826d543ee85749629a80670", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4883, "upload_time": "2016-09-03T22:02:11", "url": "https://files.pythonhosted.org/packages/2a/d5/da26112568cf2ddaae2a3d7157fd83a596689c7f8489844f1c61166743de/s3cache-0.1.0.tar.gz" } ], "0.1.0rc1": [], "0.1.0rc2": [ { "comment_text": "", "digests": { "md5": "5170778551e28a930577384bdd1b8e03", "sha256": "f48f66f27fc712e44aa98a99f482a83cbe0e720ccb13ddff8d5ca874adda37ad" }, "downloads": -1, "filename": "s3cache-0.1.0rc2.tar.gz", "has_sig": false, "md5_digest": "5170778551e28a930577384bdd1b8e03", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4883, "upload_time": "2016-09-03T21:22:56", "url": "https://files.pythonhosted.org/packages/f3/ab/0f0a97888a1bc0e6d2c8d13ea9131950716647c6d8aebec5996c30d9c197/s3cache-0.1.0rc2.tar.gz" } ], "0.1.0rc3": [ { "comment_text": "", "digests": { "md5": "854d45b102f99e7fca4f1786097a57c7", "sha256": "19f91cc5cf9e276373e8aefa0ea1d03d5a77cdd87018195915935eca78579e71" }, "downloads": -1, "filename": "s3cache-0.1.0rc3.tar.gz", "has_sig": false, "md5_digest": "854d45b102f99e7fca4f1786097a57c7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4886, "upload_time": "2016-09-03T21:38:36", "url": "https://files.pythonhosted.org/packages/94/83/780fa55b5be4622d160d23d9214781b2ce07947b7ed616f6981acfa1866c/s3cache-0.1.0rc3.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "abae8903cbfd772aeada69d2e8983bfe", "sha256": "f1f82db4c08de0f38d416b273fdbb47d876cb65ca3961da0bd0e897c59ac96e0" }, "downloads": -1, "filename": "s3cache-0.1.1.tar.gz", "has_sig": false, "md5_digest": "abae8903cbfd772aeada69d2e8983bfe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4912, "upload_time": "2016-09-12T16:12:26", "url": "https://files.pythonhosted.org/packages/b7/f7/bd1ceea00e7abc31d84ac5cceaa63953a0d777a764108a52bd60a29decf8/s3cache-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "abae8903cbfd772aeada69d2e8983bfe", "sha256": "f1f82db4c08de0f38d416b273fdbb47d876cb65ca3961da0bd0e897c59ac96e0" }, "downloads": -1, "filename": "s3cache-0.1.1.tar.gz", "has_sig": false, "md5_digest": "abae8903cbfd772aeada69d2e8983bfe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4912, "upload_time": "2016-09-12T16:12:26", "url": "https://files.pythonhosted.org/packages/b7/f7/bd1ceea00e7abc31d84ac5cceaa63953a0d777a764108a52bd60a29decf8/s3cache-0.1.1.tar.gz" } ] }