{ "info": { "author": "SchoolOrchestration", "author_email": "tech@appointmentguru.co", "bugtrack_url": null, "classifiers": [ "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# s3vault\n\n> A library for storing documents in AWS s3\n\n## Before you start\n\nFor best results, create a bucket with the following settings:\n\n* Encryption on\n* Versioning on\n\n## Installation\n\n```\npip install s3vault\n```\n\n**Environment variables**\n\nThe following environment variables can optionally be provided:\n\n* `AWS_ACCESS_KEY_ID`\n* `AWS_SECRET_ACCESS_KEY`\n* `AWS_S3_REGION_NAME`\n\n\n## Usage\n\n```python\nfrom s3vault.vault import Vault\nvault = Vault(bucket, owner_id, collection)\n```\n\nYou can also provide `aws_access_key_id`, `aws_secret_access_key` and `aws_s3_region_name`, otherwise if will default to the values in the environment variables above.\n\n### Upload a file from a url\n\n```python\nvault.upload_from_url(url, filename, extension='pdf')\n```\n\n* **url:** the url to fetch the file to store from\n* **filename** the Key at which to store the object. Convention: `:collection/:owner_id/:object_id`\n\n**TODO:** this method should use the same convention as the below methods to enforce consistency\n\n### Get a file\n\n```\nvault.get_object(object_id)\n```\n\n```\nvault.get_versions(object_id)\n```", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://gitlab.com/.../...", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "s3vault", "package_url": "https://pypi.org/project/s3vault/", "platform": "", "project_url": "https://pypi.org/project/s3vault/", "project_urls": { "Homepage": "https://gitlab.com/.../..." }, "release_url": "https://pypi.org/project/s3vault/0.1.1/", "requires_dist": null, "requires_python": "", "summary": "...", "version": "0.1.1" }, "last_serial": 4556268, "releases": { "0.0.0": [ { "comment_text": "", "digests": { "md5": "39d49ae77b8077d15a80ce845d2dbd9f", "sha256": "ce2d1703462341f9aa505995082e796292281198a0c0c4efffe9c3f85050b51e" }, "downloads": -1, "filename": "s3vault-0.0.0.tar.gz", "has_sig": false, "md5_digest": "39d49ae77b8077d15a80ce845d2dbd9f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2118, "upload_time": "2018-10-21T09:32:18", "url": "https://files.pythonhosted.org/packages/5b/4b/b43374967d83692e88863d714469bbd19c8b0415a09b49b0d27e051e633f/s3vault-0.0.0.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "a0ed1532b7c4896f2f1a55a4dff34a8a", "sha256": "b6705be07711b102abe1da97e43772ad8c6e6edbdab61a56fc3064b01c568b91" }, "downloads": -1, "filename": "s3vault-0.1.0.tar.gz", "has_sig": false, "md5_digest": "a0ed1532b7c4896f2f1a55a4dff34a8a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2775, "upload_time": "2018-12-03T12:40:24", "url": "https://files.pythonhosted.org/packages/0c/50/4aaff714dd1db0f137e296922422bc1c36cda0c9933dafac97220f9d9c69/s3vault-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "1e18924c926e4ab354ab980f4ffb6af9", "sha256": "0aaeb3bb26404912e4583b4afe65ad1de4edcd618904ce4f80857a0188f95595" }, "downloads": -1, "filename": "s3vault-0.1.1.tar.gz", "has_sig": false, "md5_digest": "1e18924c926e4ab354ab980f4ffb6af9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2876, "upload_time": "2018-12-03T15:58:41", "url": "https://files.pythonhosted.org/packages/cb/c3/faea3f4d8615320c299cd8d8df094ce1355209dd37f3a473122745ce5056/s3vault-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1e18924c926e4ab354ab980f4ffb6af9", "sha256": "0aaeb3bb26404912e4583b4afe65ad1de4edcd618904ce4f80857a0188f95595" }, "downloads": -1, "filename": "s3vault-0.1.1.tar.gz", "has_sig": false, "md5_digest": "1e18924c926e4ab354ab980f4ffb6af9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2876, "upload_time": "2018-12-03T15:58:41", "url": "https://files.pythonhosted.org/packages/cb/c3/faea3f4d8615320c299cd8d8df094ce1355209dd37f3a473122745ce5056/s3vault-0.1.1.tar.gz" } ] }