{ "info": { "author": "Vagiz Duseev", "author_email": "vagiz@duseev.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Build Tools" ], "description": "# s3push\n\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/91264fd782414d7c8c40d7e2dbc4254a)](https://www.codacy.com/app/vagiz.d/s3push?utm_source=github.com&utm_medium=referral&utm_content=vduseev/s3push&utm_campaign=Badge_Grade)\n[![Build Status](https://travis-ci.org/vduseev/s3push.svg?branch=master)](https://travis-ci.org/vduseev/s3push)\n[![PyPI version](https://badge.fury.io/py/s3push.svg)](https://badge.fury.io/py/s3push)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nUpload whole directories or distinct files to AWS S3 using `s3push` in command line. Extensive support for different credential sources.\n\n## Project goal\n\nThis tool facilitates painless upload of directories to AWS S3. The initial goal was to provide developers with a simple tool that allows them to upload whole directories to S3 with a minimal effort. Initial project vision also contained an option to create and configure a fresh S3-hosted website from scratch.\n\nHowever, the tool has been written after a very quick research and, as a result, suffered from the *\"Not invented here\"* syndrome. After a bit more careful research it was discovered that not only the other directory uploading tools exist, but also that there are far more superior instruments that also allow configuration of buckets and CloudFront CDN (i.e., `s3cmd`). See the rough [feature set comparison](docs/feature_set_comparison.pdf) in the docs.\n\nAs a **project's post-mortem**, it can be concluded that a proper research must be performed prior to the start of development. For example, before developing a new library or a tool it may be very useful to make a simple feature set comparison.\n\nThe project will, however, continue to exist as a demonstration of continuous delivery setup for a python package development. The environment for the project is designed to support fully automated releases and testing.\n\n## Installation\n\nRecommended installation method is via Pipenv:\n```console\npipenv install s3push\n```\n\nInstalling via Pip instead of Pipenv:\n```console\npip install s3push\n```\n\n## Usage\n\n**Publish a directory with default credentials**\n```console\ns3push ~/my-website/ example.com\n```\n\n**Publish a file using default credentials**\n```console\ns3push ~/my-website/index.html example.com\n```\n\n**Publish with provided key pair**\n```console\ns3push ~/my-website/ example.com -k XXXXXXXXXXXXXXXXXXXX -s xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n```\n\n**Publish with saved profile by providing its name**\n```console\ns3push ~/my-website/ example.com -p my-deployment-profile\n```\n\n**Note**: see [all possible](#priority-of-credentials-providers) options for specifying credentials below.\n\n## Priority of credentials providers\n\n1. Passing credentials as optional arguments: `-k AWS_ACCESS_KEY_ID, -s AAWS_SECRET_ACCESS_KEY`.\n1. Passing profile name of pre-configured credentials as optional argument: `-p PROFILE_NAME`.\n1. Environment variables, as listed in the [boto3 guide](http://boto3.readthedocs.io/en/latest/guide/configuration.html#environment-variable-configuration).\n1. Default credentials in the shared credential file (`~/.aws/credentials`).\n1. Default credentials in the AWS config file (`~/.aws/config`).\n1. Boto2 config file (`/etc/boto.cfg` and `~/.boto`).\n\n## Continuous Delivery\n\n| Branch | Travis-CI Status | CircleCI Status |\n| - | - | - |\n| master | [![Build Status](https://travis-ci.org/vduseev/s3push.svg?branch=master)](https://travis-ci.org/vduseev/s3push) | [![CircleCI](https://circleci.com/gh/vduseev/s3push/tree/master.svg?style=shield)](https://circleci.com/gh/vduseev/s3push/tree/master) |\n| dev | [![Build Status](https://travis-ci.org/vduseev/s3push.svg?branch=dev)](https://travis-ci.org/vduseev/s3push) | [![CircleCI](https://circleci.com/gh/vduseev/s3push/tree/dev.svg?style=shield)](https://circleci.com/gh/vduseev/s3push/tree/dev) |\n\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/vduseev/s3push", "keywords": "aws s3 static website deployment directories folder upload push publish", "license": "", "maintainer": "", "maintainer_email": "", "name": "s3push", "package_url": "https://pypi.org/project/s3push/", "platform": "", "project_url": "https://pypi.org/project/s3push/", "project_urls": { "Homepage": "https://github.com/vduseev/s3push" }, "release_url": "https://pypi.org/project/s3push/2019.10.14/", "requires_dist": [ "boto3", "twine; extra == 'dev'", "wheels; extra == 'dev'" ], "requires_python": "", "summary": "Upload directories to AWS S3", "version": "2019.10.14", "yanked": false, "yanked_reason": null }, "last_serial": 6016252, "releases": { "2018.4.11": [ { "comment_text": "", "digests": { "md5": "ca1a7cbe685390a977576dfe9e9b403f", "sha256": "e45add2edbff568db9cccc1b00c78c5c93a5278d9081422937da04cdb115ed40" }, "downloads": -1, "filename": "s3push-2018.4.11-py3-none-any.whl", "has_sig": false, "md5_digest": "ca1a7cbe685390a977576dfe9e9b403f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5939, "upload_time": "2018-04-25T01:11:05", "upload_time_iso_8601": "2018-04-25T01:11:05.040995Z", "url": "https://files.pythonhosted.org/packages/6c/d9/741b999bb490f4f731f525c6fe4de6d593a7daef69a8387880dfe7ff2a2a/s3push-2018.4.11-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "62aaa2c1469a37133d6fcee67edd9a5a", "sha256": "59eda839c36bef3c305b715cc6fae1aa9ee2d4b8d53a5b0b4155cb9d3fba25cb" }, "downloads": -1, "filename": "s3push-2018.4.11.tar.gz", "has_sig": false, "md5_digest": "62aaa2c1469a37133d6fcee67edd9a5a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5116, "upload_time": "2018-04-25T01:11:06", "upload_time_iso_8601": "2018-04-25T01:11:06.014054Z", "url": "https://files.pythonhosted.org/packages/37/35/6e384cabe0fd2da5c39df11872b813660a8ab90e8f078c1e18bc5c7ca6d2/s3push-2018.4.11.tar.gz", "yanked": false, "yanked_reason": null } ], "2018.4.8": [ { "comment_text": "", "digests": { "md5": "d663e378a6457d23a111865d014949a9", "sha256": "8991d35f3dcacbdb6abe9d81b610ec64376e862b3142a3176880cc0b15d358b1" }, "downloads": -1, "filename": "s3push-2018.4.8-py3-none-any.whl", "has_sig": false, "md5_digest": "d663e378a6457d23a111865d014949a9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5882, "upload_time": "2018-04-25T00:59:34", "upload_time_iso_8601": "2018-04-25T00:59:34.617576Z", "url": "https://files.pythonhosted.org/packages/1c/78/5e82a05069d786f95544ef42de6b2a3201b9c669b9bbd88080edf7534b55/s3push-2018.4.8-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "95bd161abb47dfd18badbf1b40371de3", "sha256": "c0f72bf9dd1f55649e7ff4a6a540ff631478bd92fb041c8a9a04385e7defffbd" }, "downloads": -1, "filename": "s3push-2018.4.8.tar.gz", "has_sig": false, "md5_digest": "95bd161abb47dfd18badbf1b40371de3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5049, "upload_time": "2018-04-25T00:59:35", "upload_time_iso_8601": "2018-04-25T00:59:35.640744Z", "url": "https://files.pythonhosted.org/packages/28/18/8dbf30dbdb4abae9c7ba0e58e41cbaed830b62711c330e0cce9390987473/s3push-2018.4.8.tar.gz", "yanked": false, "yanked_reason": null } ], "2019.10.14": [ { "comment_text": "", "digests": { "md5": "e28f9805829fafe94ddf0af6fa1b4c61", "sha256": "6dbed5196fc53d2d4251863d537e0ef7abf1ad9739d56ff0a85a323a44cbda5e" }, "downloads": -1, "filename": "s3push-2019.10.14-py3-none-any.whl", "has_sig": false, "md5_digest": "e28f9805829fafe94ddf0af6fa1b4c61", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5955, "upload_time": "2019-10-23T02:46:32", "upload_time_iso_8601": "2019-10-23T02:46:32.580472Z", "url": "https://files.pythonhosted.org/packages/9d/fc/200d7c9d4fceaceb212240743a52dee7daeea7f740e9199f7121095a80f9/s3push-2019.10.14-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "728fdbc7eca157e9da71151ee9abc6e6", "sha256": "58306407c081f07dae1d6c4010cec60d3e50c1b1acc242755b66a5ee0db6c2d9" }, "downloads": -1, "filename": "s3push-2019.10.14.tar.gz", "has_sig": false, "md5_digest": "728fdbc7eca157e9da71151ee9abc6e6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5117, "upload_time": "2019-10-23T02:46:34", "upload_time_iso_8601": "2019-10-23T02:46:34.157755Z", "url": "https://files.pythonhosted.org/packages/83/a9/51d740705407524e5ec4d18e32d2dc1c02ece9d837a1177351a0bf570ff0/s3push-2019.10.14.tar.gz", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e28f9805829fafe94ddf0af6fa1b4c61", "sha256": "6dbed5196fc53d2d4251863d537e0ef7abf1ad9739d56ff0a85a323a44cbda5e" }, "downloads": -1, "filename": "s3push-2019.10.14-py3-none-any.whl", "has_sig": false, "md5_digest": "e28f9805829fafe94ddf0af6fa1b4c61", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5955, "upload_time": "2019-10-23T02:46:32", "upload_time_iso_8601": "2019-10-23T02:46:32.580472Z", "url": "https://files.pythonhosted.org/packages/9d/fc/200d7c9d4fceaceb212240743a52dee7daeea7f740e9199f7121095a80f9/s3push-2019.10.14-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "728fdbc7eca157e9da71151ee9abc6e6", "sha256": "58306407c081f07dae1d6c4010cec60d3e50c1b1acc242755b66a5ee0db6c2d9" }, "downloads": -1, "filename": "s3push-2019.10.14.tar.gz", "has_sig": false, "md5_digest": "728fdbc7eca157e9da71151ee9abc6e6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5117, "upload_time": "2019-10-23T02:46:34", "upload_time_iso_8601": "2019-10-23T02:46:34.157755Z", "url": "https://files.pythonhosted.org/packages/83/a9/51d740705407524e5ec4d18e32d2dc1c02ece9d837a1177351a0bf570ff0/s3push-2019.10.14.tar.gz", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }