{ "info": { "author": "laughingman7743", "author_email": "laughingman7743@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": ".. image:: https://img.shields.io/pypi/pyversions/ecr-cli.svg\n :target: https://pypi.org/project/ecr-cli/\n\n.. image:: https://travis-ci.org/laughingman7743/ecr-cli.svg?branch=master\n :target: https://travis-ci.org/laughingman7743/ecr-cli\n\n.. image:: https://codecov.io/gh/laughingman7743/ecr-cli/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/laughingman7743/ecr-cli\n\n.. image:: https://img.shields.io/pypi/l/ecr-cli.svg\n :target: https://github.com/laughingman7743/ecr-cli/blob/master/LICENSE\n\n\necr-cli\n=======\n\nGoodbye docker login & a long registry URL for `Amazon ECR`_ :)\n\n.. _`Amazon ECR`: https://docs.aws.amazon.com/AmazonECR/latest/userguide/what-is-ecr.html\n\nRequirements\n------------\n\n* Python\n\n - CPython 2,7, 3,4, 3.5, 3.6\n\n* Docker\n\n - API version >= 1.21\n\nInstallation\n------------\n\n.. code:: bash\n\n $ pip install ecr-cli\n\nECR Configuration file\n----------------------\n\nIf you place a file in `YAML format`_ with the filename ``.ecr.yml`` in the same directory as ``Dockerfile``,\nprofile name, region name, registry ID and tag can be set.\n\n.. _`YAML format`: http://www.yaml.org/\n\n+--------------+------------+-------------------------------------------------------------------------------------+\n| Key name | Value | Description |\n+==============+============+=====================================================================================+\n| profile_name | str | Use a specific profile from your credential file. |\n+--------------+------------+-------------------------------------------------------------------------------------+\n| region_name | str | The region to use. Overrides config/env settings. |\n+--------------+------------+-------------------------------------------------------------------------------------+\n| registry_id | str | AWS account ID that correspond to a Amazon ECR registry that you want to log in to. |\n+--------------+------------+-------------------------------------------------------------------------------------+\n| tags | seq of str | Name and optionally a tag in the \u2018name:tag\u2019 format. |\n+--------------+------------+-------------------------------------------------------------------------------------+\n\n``.ecr.yml`` example:\n\n.. code:: yaml\n\n profile_name: null\n region_name: us-west-2\n registry_id: null\n tags:\n - java/amazonlinux-oracle-java:latest\n - java/amazonlinux-oracle-java:2017.12-8u162\n\nNOTE: Command line options override settings in this file.\n\nUsage\n-----\n\n.. code::\n\n Usage: ecr [OPTIONS] COMMAND [ARGS]...\n\n Options:\n --profile TEXT Use a specific profile from your credential file.\n --region TEXT The region to use. Overrides config/env settings.\n --registry-id TEXT AWS account ID that correspond to a Amazon ECR registry that you want to log in to.\n --debug / --no-debug Turn on debug logging.\n -h, --help Show this message and exit.\n\n Commands:\n build Build an image from a Dockerfile.\n pull Pull an image or a repository from a Amazon ECR registry\n push Push an image or a repository to a Amazon ECR registry.\n\nBuild\n~~~~~\n\n.. code::\n\n Usage: ecr build [OPTIONS] PATH\n\n Build an image from a Dockerfile.\n\n Options:\n -t, --tag TEXT Name and optionally a tag in the `name:tag` format.\n --dockerfile PATH Name of the Dockerfile (Default is `PATH/Dockerfile`).\n --configfile PATH Name of the ECR configuration file (Default is `PATH/.ecr.yml`).\n --cache / --no-cache Use cache when building the image.\n --rm / --no-rm Remove intermediate containers after a successful build.\n --force-rm / --no-force-rm Always remove intermediate containers.\n --pull / --no-pull Always attempt to pull a newer version of the image.\n --squash / --no-squash Squash newly built layers into a single new layer.\n --push / --no-push Push an image or a repository to a Amazon ECR registry after a successful build.\n --quiet / --no-quiet Suppress the standard output.\n --no-profile Forcibly disable the ECR configuration file profile.\n -h, --help Show this message and exit.\n\nPush\n~~~~\n\n.. code::\n\n Usage: ecr push [OPTIONS] NAME...\n\n Push an image or a repository to a Amazon ECR registry.\n\n Options:\n --quiet / --no-quiet Suppress the standard output.\n -h, --help Show this message and exit.\n\nPull\n~~~~\n\n.. code::\n\n Usage: ecr pull [OPTIONS] NAME...\n\n Pull an image or a repository from a Amazon ECR registry\n\n Options:\n --quiet / --no-quiet Suppress the standard output.\n -h, --help Show this message and exit.\n\nAuthentication\n--------------\n\nSupport `Boto3 credentials`_.\n\n.. _`Boto3 credentials`: http://boto3.readthedocs.io/en/latest/guide/configuration.html\n\nTesting\n-------\n\nTODO\n\nTODO\n----\n\n#. Progress bar can not be reset :(\n#. Vacuum command\n#. Tests\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/laughingman7743/ecr-cli/", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "ecr-cli", "package_url": "https://pypi.org/project/ecr-cli/", "platform": "", "project_url": "https://pypi.org/project/ecr-cli/", "project_urls": { "Homepage": "https://github.com/laughingman7743/ecr-cli/" }, "release_url": "https://pypi.org/project/ecr-cli/0.0.8/", "requires_dist": [ "future", "click (>=6.0)", "PyYAML (>=3.12)", "boto3 (>=1.5.0)", "docker (>=3.1.0)", "tqdm (>=4.19.0)" ], "requires_python": "", "summary": "Goodbye docker login & a long repository URL for Amazon ECR :)", "version": "0.0.8" }, "last_serial": 3870784, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "7d903fdf5452372929ecae7410718de4", "sha256": "8d8cc1245c82f093a918654d38c773ccf9c5dbc71459a546329b184c11ce0057" }, "downloads": -1, "filename": "ecr_cli-0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7d903fdf5452372929ecae7410718de4", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 10809, "upload_time": "2018-03-04T04:23:04", "url": "https://files.pythonhosted.org/packages/7f/76/ff721650b74df0a02d7059f3940b63a68c0251b470a0403408266deb1535/ecr_cli-0.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3c0948573f00c034108ebc267690b663", "sha256": "0cc5a557fdd6736011ee5e50c47c03f935d68c2454cf3b454b9ef39524ffc1c4" }, "downloads": -1, "filename": "ecr-cli-0.0.1.tar.gz", "has_sig": false, "md5_digest": "3c0948573f00c034108ebc267690b663", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6590, "upload_time": "2018-03-04T04:23:06", "url": "https://files.pythonhosted.org/packages/e5/48/d69d7a7e3a0c193ccd64e6c9edf0e8378b7f7dcc61f5a611a9d542d96fec/ecr-cli-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "48f27ea89bfd395752f2ffc8e95c79e4", "sha256": "74e4d5673c449affc5738e7822801fd8e7110c59a3cb0e6cbe8c3b2855f9d310" }, "downloads": -1, "filename": "ecr_cli-0.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "48f27ea89bfd395752f2ffc8e95c79e4", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 10806, "upload_time": "2018-03-11T00:30:19", "url": "https://files.pythonhosted.org/packages/d5/d2/eadbc82ab2db883bd3df5d3a4a5d1f89293107c002aa867b7ca7440e3fb1/ecr_cli-0.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d82443639c28f8f732e05fe16df4ccd7", "sha256": "96870cd0001f746131b076f229dda6826588770dfd78b89aa11fff18bcdf5bc9" }, "downloads": -1, "filename": "ecr-cli-0.0.2.tar.gz", "has_sig": false, "md5_digest": "d82443639c28f8f732e05fe16df4ccd7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6596, "upload_time": "2018-03-11T00:30:07", "url": "https://files.pythonhosted.org/packages/f9/59/c78f05cbcb81f25d0fb97b463983dc4b489eefa510bfe058f0784323f328/ecr-cli-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "c9bcf8ff5cb7e1f895580c773b82f81b", "sha256": "b9ded1e6c4bd89d0a3923bd57f88fc0e3f68e2c87718e79abbd63d195bd9b4c5" }, "downloads": -1, "filename": "ecr_cli-0.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c9bcf8ff5cb7e1f895580c773b82f81b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 10931, "upload_time": "2018-04-01T05:43:26", "url": "https://files.pythonhosted.org/packages/ff/cd/69f76113bc8a3c58a3194302f3736ade76819ae966d41fec8489a56c0932/ecr_cli-0.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "98277909d461f23f77455a9430b0fee4", "sha256": "f41ac1d62559f1f6a997a8b83f34500af2bf320a8f8282493009b81103b2a602" }, "downloads": -1, "filename": "ecr-cli-0.0.3.tar.gz", "has_sig": false, "md5_digest": "98277909d461f23f77455a9430b0fee4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6671, "upload_time": "2018-04-01T05:43:13", "url": "https://files.pythonhosted.org/packages/86/7b/3055aaad51cf178f5f9fc872a1e983d6f8a8935a5158183ccfffb1173183/ecr-cli-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "03396214605de6ffe41a6184c46c637c", "sha256": "59db19397d04577a0bf7bb53681646f8d03705465bbf3180a522919d7241b994" }, "downloads": -1, "filename": "ecr_cli-0.0.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "03396214605de6ffe41a6184c46c637c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8459, "upload_time": "2018-05-07T15:22:26", "url": "https://files.pythonhosted.org/packages/75/21/4e040f48379dd28ffd9fe375d5e411bbdaa72f5d546e56a6c92e62a7bdbd/ecr_cli-0.0.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d5f67c215678304e3146341564df2ffc", "sha256": "f2923cef0e8cfa697ac4293473b816027d171f9c732bc37b98337ce9d512b32a" }, "downloads": -1, "filename": "ecr-cli-0.0.4.tar.gz", "has_sig": false, "md5_digest": "d5f67c215678304e3146341564df2ffc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6722, "upload_time": "2018-05-07T15:22:10", "url": "https://files.pythonhosted.org/packages/6d/e2/0f2b9d0a25f6486e36111827734f02663ba319bbb57c9f031da688b49fc0/ecr-cli-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "368b23380c3e0f9e5ae65e954e9c86cd", "sha256": "ddeda44db31bbac7bb0ee64131829beb2904df857e9f595b8985c87690f097fc" }, "downloads": -1, "filename": "ecr_cli-0.0.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "368b23380c3e0f9e5ae65e954e9c86cd", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8460, "upload_time": "2018-05-08T06:42:16", "url": "https://files.pythonhosted.org/packages/a3/53/e7ba415dafe05e847be83bfa65f03a09c1e8dd6e367fadecf7ee14fdbc67/ecr_cli-0.0.5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bce50ff113617434177aa9f7f86e88a3", "sha256": "5cae6052a2d843c2dd9f0d4b6ce44cbedd3f457b0ab6b6b2f983046e7952f96b" }, "downloads": -1, "filename": "ecr-cli-0.0.5.tar.gz", "has_sig": false, "md5_digest": "bce50ff113617434177aa9f7f86e88a3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6750, "upload_time": "2018-05-08T06:42:24", "url": "https://files.pythonhosted.org/packages/ea/f5/b1a7ef165417aa678edd79c322a110c653eb54561d2836d2ffb07e776ddf/ecr-cli-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "2d29bdcae085736b9111e42db8cc53d4", "sha256": "9f475488899ead9230999b26d0a3d6d7b3106674fbb160376c3633eef6eb4f7b" }, "downloads": -1, "filename": "ecr_cli-0.0.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2d29bdcae085736b9111e42db8cc53d4", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8478, "upload_time": "2018-05-10T05:24:03", "url": "https://files.pythonhosted.org/packages/95/0d/ac265bc48206baee93a6159ac4da276e2d5070d17d669fa0f7d7136a097a/ecr_cli-0.0.6-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "610934b0c8ffb5e092041dc85cb25efe", "sha256": "7d1ee64b0922e6bcf95d2b31c593fb276687a85e4a21f996c63ee08c390cff75" }, "downloads": -1, "filename": "ecr-cli-0.0.6.tar.gz", "has_sig": false, "md5_digest": "610934b0c8ffb5e092041dc85cb25efe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6780, "upload_time": "2018-05-10T05:23:54", "url": "https://files.pythonhosted.org/packages/7a/d1/a8dea532b7b2861385b333ac574d5bfb7143ceae8a8afd45c1b4536daedd/ecr-cli-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "2af8d2207bdb92548c97340cf8b9510c", "sha256": "d843c5566dff9a737b4037b11e176933953511916f840baa6566d67d116dcd25" }, "downloads": -1, "filename": "ecr_cli-0.0.7-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2af8d2207bdb92548c97340cf8b9510c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8496, "upload_time": "2018-05-17T02:01:15", "url": "https://files.pythonhosted.org/packages/ef/cf/e80f9be232723ffa845eeece67c78eccdaac96bf61ac4ceb40c6c60fb8b4/ecr_cli-0.0.7-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "885e8e550f39683a4d686926bb8215eb", "sha256": "520b9a41e17458dc11f574ea7a27288eb0d89b2c49b684204fffa779d36ebff3" }, "downloads": -1, "filename": "ecr-cli-0.0.7.tar.gz", "has_sig": false, "md5_digest": "885e8e550f39683a4d686926bb8215eb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6808, "upload_time": "2018-05-17T02:01:05", "url": "https://files.pythonhosted.org/packages/c5/b8/7e84c05de6d4a8aa1ed4fe560690e0ca0037772637a3966ed781da50bdbd/ecr-cli-0.0.7.tar.gz" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "cd2a23b0076d359bd393976c4a1e96b7", "sha256": "1af8e864bba75b3aaffdfc6bf4f1d9c96118475696f0c12c8f9b691f11ba7d6b" }, "downloads": -1, "filename": "ecr_cli-0.0.8-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "cd2a23b0076d359bd393976c4a1e96b7", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8494, "upload_time": "2018-05-17T02:24:47", "url": "https://files.pythonhosted.org/packages/09/7d/fc81c232b276662c6abcb5c7b86cef8bacddea55b808eaed71d3e19bf6dd/ecr_cli-0.0.8-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6bc4248fe4bf62d7347522509cb6c73e", "sha256": "7254317ea5ac5c34d41b04899bcd6bada9dc703ef5643cd8ae2b81bd732e49e9" }, "downloads": -1, "filename": "ecr-cli-0.0.8.tar.gz", "has_sig": false, "md5_digest": "6bc4248fe4bf62d7347522509cb6c73e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6814, "upload_time": "2018-05-17T02:24:57", "url": "https://files.pythonhosted.org/packages/6f/a9/e6d2cfa6a0608ad6dcec9d718112db24707dbc19390d4c1a74f099a252ef/ecr-cli-0.0.8.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cd2a23b0076d359bd393976c4a1e96b7", "sha256": "1af8e864bba75b3aaffdfc6bf4f1d9c96118475696f0c12c8f9b691f11ba7d6b" }, "downloads": -1, "filename": "ecr_cli-0.0.8-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "cd2a23b0076d359bd393976c4a1e96b7", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8494, "upload_time": "2018-05-17T02:24:47", "url": "https://files.pythonhosted.org/packages/09/7d/fc81c232b276662c6abcb5c7b86cef8bacddea55b808eaed71d3e19bf6dd/ecr_cli-0.0.8-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6bc4248fe4bf62d7347522509cb6c73e", "sha256": "7254317ea5ac5c34d41b04899bcd6bada9dc703ef5643cd8ae2b81bd732e49e9" }, "downloads": -1, "filename": "ecr-cli-0.0.8.tar.gz", "has_sig": false, "md5_digest": "6bc4248fe4bf62d7347522509cb6c73e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6814, "upload_time": "2018-05-17T02:24:57", "url": "https://files.pythonhosted.org/packages/6f/a9/e6d2cfa6a0608ad6dcec9d718112db24707dbc19390d4c1a74f099a252ef/ecr-cli-0.0.8.tar.gz" } ] }