{ "info": { "author": "Ahmet Demir", "author_email": "me@ahmet2mir.eu", "bugtrack_url": null, "classifiers": [], "description": "::\n\n _____ \n _ _ ___|___ / \n | | | / __| |_ \\ \n | |_| \\__ \\___) |\n \\__,_|___/____/ \n\nus3 helps you to manage files on AWS S3 or S3 compatible API like Ceph\nor Cleversafe. Usefull with Continuous Integreation pipelines :)\n\nInstallation\n------------\n\n::\n\n pip install us3\n\nFor Docker check bottom\n\nUsage\n-----\n\n::\n\n us3 (upload|download) [options] -s \n us3 delete [options] -s \n\nOptions\n-------\n\n::\n\n -h --help Show this screen.\n --version Show version.\n -a --access= Access key.\n -x --secret= Secret key.\n -e --endpoint= Host to connect to. Default \n is s3.amazonaws.com. You can check all AWS host/region on \n http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region\n -i --is_secure= Use secure connection (https) \n or not (http). Default is True.\n -k --calling_format= Choose how to call the S3 API. \n Allowed:\n - SubdomainCallingFormat (default)\n - VHostCallingFormat\n - OrdinaryCallingFormat \n - ProtocolIndependentOrdinaryCallingFormat.\n -b --bucket= Bucket name.\n -s --source= File to download/upload.\n -d --destination= Destination folder path.\n -c --config= Config file path.\n\n**Thoses values are overrided by environment variables.**\n\nConfig file\n~~~~~~~~~~~\n\nYou could use a config file in ``YAML`` format to reduce options in CLI.\n\nBy default, ``us3`` will look at ``/etc/default/us3.yaml`` or to the\ncustom path with ``--config ``.\n\n**Thoses values are overrided by the CLI and environment variables.**\n\nExample:\n\n::\n\n $ cat /etc/default/us3.yaml\n ---\n host: mycustomhost\n access: myaccesskey\n secret: mysecurekey\n calling_format: OrdinaryCallingFormat\n is_secure: False\n\nEnvironment variables\n~~~~~~~~~~~~~~~~~~~~~\n\nEnvironment variables **had priority** on config values and CLI values.\nTo export a value, prepend variable name uppered with ``US3_``.\n\nExample:\n\n::\n\n export US3_HOST= myexporthost\n export US3_ACCESS=myaccesskey\n export US3_SECRET=mysecurekey\n\nDocker\n------\n\nImage size ~70MB\n\n::\n\n docker pull ahmet2mir/us3\n\nAnd use environment variables. By default, files are stored in /data\n\n::\n\n docker run --rm \\\n -e \"US3_ENDPOINT=s3-eu-west-1.amazonaws.com\" \\\n -e 'US3_BUCKET=xxxx' \\\n -e 'US3_ACCESS=yyyy' \\\n -e 'US3_SECRET=zzzz+' \\\n -v /tmp/docker:/data \\\n ahmet2mir/us3 download -s myfile\n\nLicence\n-------\n\nCopyright 2016 - `Ahmet Demir `__\n\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may\nnot use this file except in compliance with the License. You may obtain\na copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ahmet2mir/python-us3.git", "keywords": "s3,command line,cli", "license": "License :: OSI Approved :: Apache Software License", "maintainer": null, "maintainer_email": null, "name": "us3", "package_url": "https://pypi.org/project/us3/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/us3/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/ahmet2mir/python-us3.git" }, "release_url": "https://pypi.org/project/us3/0.0.7/", "requires_dist": null, "requires_python": null, "summary": "US3 helps you to manage files on AWS S3 or S3 compatible API like Ceph or Cleversafe", "version": "0.0.7" }, "last_serial": 2007522, "releases": { "0.0.7": [ { "comment_text": "", "digests": { "md5": "c4d412da60b1be41a0b8cffef2fd5c14", "sha256": "aa4a1e4029f7dbcf9741369a2972e05eadcd3e0803a5940d3c157fc4fbe1dc33" }, "downloads": -1, "filename": "us3-0.0.7.tar.gz", "has_sig": false, "md5_digest": "c4d412da60b1be41a0b8cffef2fd5c14", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5750, "upload_time": "2016-03-15T09:40:25", "url": "https://files.pythonhosted.org/packages/4b/84/94d2389a7697d2679d04fe5124c2b9cf1fa34e26739a75d6f68c3665cd30/us3-0.0.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c4d412da60b1be41a0b8cffef2fd5c14", "sha256": "aa4a1e4029f7dbcf9741369a2972e05eadcd3e0803a5940d3c157fc4fbe1dc33" }, "downloads": -1, "filename": "us3-0.0.7.tar.gz", "has_sig": false, "md5_digest": "c4d412da60b1be41a0b8cffef2fd5c14", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5750, "upload_time": "2016-03-15T09:40:25", "url": "https://files.pythonhosted.org/packages/4b/84/94d2389a7697d2679d04fe5124c2b9cf1fa34e26739a75d6f68c3665cd30/us3-0.0.7.tar.gz" } ] }