{ "info": { "author": "Jeremy Carbaugh", "author_email": "jcarbaugh@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "=============\npython-s3file\n=============\n\nRead and write files to S3 using a file-like object. Refer to S3 buckets and keys using full URLs.\n\nThe underlying mechanism is a lazy read and write using ``cStringIO`` as the file emulation. This is an in memory buffer so is not suitable for large files (larger than your memory).\n\nAs S3 only supports reads and writes of the whole key, the S3 key will be read in its entirety and written on ``close``. Starting from release 1.2 this read and write are deferred until required and the key is only read from if the file is read from or written within and only updated if a write operation has been carried out on the buffer contents.\n\n\nMore tests and docs are needed.\n\nRequirements\n============\n\nboto\n\nUsage\n=====\n\nBasic usage::\n\n\tfrom s3file import s3open\n\n\tf = s3open(\"http://mybucket.s3.amazonaws.com/myfile.txt\")\n\tf.write(\"Lorem ipsum dolor sit amet...\")\n\tf.close()\n\n``with`` statement::\n\n\twith s3open(path) as remote_file:\n\t remote_file.write(\"blah blah blah\")\n\nS3 authentication key and secret may be passed into the ``s3open`` method or stored in the `boto config file `_.::\n\n\tf = s3open(\"http://mybucket.s3.amazonaws.com/myfile.txt\", key, secret)\n\nOther parameters to s3open include:\n\nexpiration_days\n\tSets the number of days that the remote file should be cached by clients. Default is 0, not cached.\n\nprivate\n\tIf True, sets the file to be private. Defaults to False, publicly readable.\n\ncontent_type\n\tThe content_type of the file will be guessed from the URL, but you can explicitly set it by passing a content_type value.\n\ncreate\n\t**New in version 1.1** If False, assume bucket exists and bypass validation. Riskier, but can speed up writing. Defaults to True.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/jcarbaugh/python-s3file/", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "python-s3file", "package_url": "https://pypi.org/project/python-s3file/", "platform": "any", "project_url": "https://pypi.org/project/python-s3file/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/jcarbaugh/python-s3file/" }, "release_url": "https://pypi.org/project/python-s3file/1.3/", "requires_dist": null, "requires_python": null, "summary": "Read and write to Amazon S3 using a file-like object", "version": "1.3" }, "last_serial": 988944, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "1c36a4bb727ce6c5c0a910640f073990", "sha256": "f1b8c0b1711536b254ffc71889fc05cebb0d4a0604719d20206a104b151cd2cb" }, "downloads": -1, "filename": "python-s3file-0.1.tar.gz", "has_sig": false, "md5_digest": "1c36a4bb727ce6c5c0a910640f073990", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3108, "upload_time": "2011-07-12T21:12:55", "url": "https://files.pythonhosted.org/packages/bd/fd/1eead48b56bf38dabf9903d2d31dcf989eafcfc649816edefc0a739d33ac/python-s3file-0.1.tar.gz" } ], "1.0": [ { "comment_text": "", "digests": { "md5": "466f356cb2f8e9de4d64cb7afd8f45d3", "sha256": "e0a2c8150cda3572e7b9cacba1fd455d6bd13dc9dcf319ad7cfafaa0173fa2e4" }, "downloads": -1, "filename": "python-s3file-1.0.tar.gz", "has_sig": false, "md5_digest": "466f356cb2f8e9de4d64cb7afd8f45d3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3217, "upload_time": "2012-01-14T00:05:57", "url": "https://files.pythonhosted.org/packages/6e/51/dd14dea492c3d7c4a8c885f655146af95af17f23967d1e0483261f10d1ec/python-s3file-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "1d4b16feff5ea6591eb5c825a0c53fff", "sha256": "583badaf99bb9fadaa28e43f55b67506e8e10bffcce82896ab2ebc427bd4dd08" }, "downloads": -1, "filename": "python-s3file-1.1.tar.gz", "has_sig": false, "md5_digest": "1d4b16feff5ea6591eb5c825a0c53fff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3714, "upload_time": "2012-12-17T15:38:46", "url": "https://files.pythonhosted.org/packages/e4/00/d61f4ecac54f4c201a14c7b939b01e4cf2f8ac32ee0e9153d6825ebf7312/python-s3file-1.1.tar.gz" } ], "1.3": [ { "comment_text": "", "digests": { "md5": "74b38acbeb575ff9a90ea2685dfacc79", "sha256": "19d0a6a4472ece8bec57ccbe7c8715c7d185ee811015bc8d963fc54ba7de7119" }, "downloads": -1, "filename": "python-s3file-1.3.tar.gz", "has_sig": false, "md5_digest": "74b38acbeb575ff9a90ea2685dfacc79", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5760, "upload_time": "2014-02-03T03:36:37", "url": "https://files.pythonhosted.org/packages/c4/c4/6878442a2fc1b42b4dea971560b568b3b8c3b87eadb4f4ea8596ccd01f84/python-s3file-1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "74b38acbeb575ff9a90ea2685dfacc79", "sha256": "19d0a6a4472ece8bec57ccbe7c8715c7d185ee811015bc8d963fc54ba7de7119" }, "downloads": -1, "filename": "python-s3file-1.3.tar.gz", "has_sig": false, "md5_digest": "74b38acbeb575ff9a90ea2685dfacc79", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5760, "upload_time": "2014-02-03T03:36:37", "url": "https://files.pythonhosted.org/packages/c4/c4/6878442a2fc1b42b4dea971560b568b3b8c3b87eadb4f4ea8596ccd01f84/python-s3file-1.3.tar.gz" } ] }