{ "info": { "author": "mattsb42", "author_email": "m@ttsb42.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Natural Language :: English", "Programming Language :: Python", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Topic :: System :: Archiving :: Packaging" ], "description": "*************\nAccretion CLI\n*************\n\nThe Accretion CLI is the primary point for controlling Accretion resources.\n\nThe Accretion CLI maintains configuration state in a \"Deployment File\".\n\n.. warning::\n\n Accretion is under active development and is not yet stable.\n The below reflects the target interface for the Accretion CLI.\n Not all commands will work yet.\n\nUsage\n=====\n\ninit\n----\n\nInitialize the ``DEPLOYMENT_FILE`` for deployments to ``REGIONS``.\n\nThis does NOT deploy to those regions.\n\nRun ``accretion update`` to update and fill all regions in a deployment file.\n\n.. code:: shell\n\n accretion init DEPLOYMENT_FILE REGIONS...\n\nupdate\n------\n\nUpdate deployments in all regions described in ``DEPLOYMENT_FILE``.\n\nThis will also\ninitialize any empty deployment regions\nand complete any partial deployments.\n\n.. code:: shell\n\n accretion update all DEPLOYMENT_FILE\n\n\nadd regions\n-----------\n\nAdd more ``REGIONS`` to an existing deployment description in ``DEPLOYMENT_FILE``.\n\nThis does NOT deploy to those regions.\n\nRun ``accretion update`` to update and fill all regions in a deployment file.\n\n\n.. code:: shell\n\n accretion add regions DEPLOYMENT_FILE REGIONS...\n\n\ndestroy\n-------\n\nDestroy all resources for an Accretion deployment described in ``DEPLOYMENT_FILE``.\n\n.. warning::\n\n This will destroy ALL resources in ALL regions.\n Be sure that is what you want to do before running this.\n\n.. code:: shell\n\n accretion destroy DEPLOYMENT_FILE\n\n\nrequest\n-------\n\nRequest a new layer version build.\n\n.. important::\n\n These operations are currently completely asynchronous with no way of tracking a layer build through the CLI.\n I plan to add tooling around this later,\n but the exact form it will take is still TBD.\n `mattsb42/accretion#27 `_\n\nraw\n^^^\n\nRequest a new layer in every region in ``DEPLOYMENT_FILE``.\nThe Layer must be described in the Accretion format in ``REQUEST_FILE``.\n\n.. code:: json\n\n {\n \"Name\": \"layer name\",\n \"Language\": \"Language to target\",\n \"Requirements\": {\n \"Type\": \"accretion\",\n \"Requirements\": [\n {\n \"Name\": \"Requirement Name\",\n \"Details\": \"Requirement version or other identifying details\"\n }\n ]\n },\n \"Requirements\": {\n \"Type\": \"requirements.txt\",\n \"Requirements\": \"Raw contents of requirements.txt file format\"\n }\n }\n\n.. note::\n\n The only supported language at this time is ``python``.\n\n\n.. code:: shell\n\n accretion request raw DEPLOYMENT_FILE REQUEST_FILE\n\nrequirements\n^^^^^^^^^^^^\n\nRequest a new layer named ``LAYER_NAME`` in every region in ``DEPLOYMENT_FILE``.\nThe Layer requirements must be defined in the Python requirements.txt format in ``REQUIREMENTS_FILE``.\n\n.. code:: shell\n\n accretion request DEPLOYMENT_FILE REQUIREMENTS_FILE\n\nlist\n----\n\nlayers\n^^^^^^\n\n.. important::\n\n `This command has not yet been implemented `_.\n\nList all Accretion-managed Lambda Layers and their versions in the specified region.\n\n.. code:: shell\n\n accretion list layers DEPLOYMENT_FILE REGION_NAME\n\ndescribe\n--------\n\nlayer-version\n^^^^^^^^^^^^^\n\n.. important::\n\n `This command has not yet been implemented `_.\n\nDescribe a Layer version, listing the contents of that Layer.\n\n.. code:: shell\n\n accretion describe layer-version DEPLOYMENT_FILE REGION_NAME LAYER_NAME LAYER_VERSION\n\ncheck\n-----\n\n.. important::\n\n `This command has not yet been implemented `_.\n\nCheck a \"Request File\" for correctness.\n\n\n.. code:: shell\n\n accretion check REQUEST_FILE\n\nDeployment File\n===============\n\n.. warning::\n\n Deployment files MUST NOT be modified by anything other than Accretion tooling.\n\nAn Accretion deployment file describes the stacks associated with a single Accretion deployment.\n\nIt is a JSON file with the following structure:\n\n.. code:: json\n\n {\n \"Deployments\": {\n \"AWS_REGION\": {\n \"Core\": \"STACK_NAME\",\n \"ArtifactBuilder\": \"STACK_NAME\",\n \"LayerBuilder\": \"STACK_NAME\"\n }\n }\n }\n\n\n.. _Request File:\n\nRequest File\n============\n\nAn Accretion require file describes the Layer that is being requested.\n\nIt is a JSON file with the following structure:\n\n.. code:: json\n\n {\n \"Name\": \"layer name\",\n \"Language\": \"Language to target\",\n \"Requirements\": {\n \"Type\": \"accretion\",\n \"Requirements\": [\n {\n \"Name\": \"Requirement Name\",\n \"Details\": \"Requirement version or identifying details\"\n }\n ]\n },\n \"Requirements\": {\n \"Type\": \"requirements.txt\",\n \"Requirements\": \"Raw contents of requirements.txt file format\"\n }\n }\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/mattsb42/accretion", "keywords": "aws lambda", "license": "Apache License 2.0", "maintainer": "mattsb42", "maintainer_email": "", "name": "accretion-cli", "package_url": "https://pypi.org/project/accretion-cli/", "platform": "", "project_url": "https://pypi.org/project/accretion-cli/", "project_urls": { "Homepage": "https://github.com/mattsb42/accretion" }, "release_url": "https://pypi.org/project/accretion-cli/0.1.0/", "requires_dist": [ "attrs", "troposphere[policy]", "awacs (>=0.9.0)", "Click (>=7.0)", "accretion-common (>=0.1.0)", "boto3", "botocore" ], "requires_python": "", "summary": "Accretion CloudFormation template artifact_builder.", "version": "0.1.0" }, "last_serial": 5413857, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "3920111393dfdec8fffc16d80697fbbf", "sha256": "1f3352fe8ae1448a98e55ca09c0eeaa46ee679577bf9eb0b11d614d1aad5cd28" }, "downloads": -1, "filename": "accretion_cli-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3920111393dfdec8fffc16d80697fbbf", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 33033, "upload_time": "2019-06-18T07:51:07", "url": "https://files.pythonhosted.org/packages/05/0e/7930cc51d8c970dfcb733a31d34f96b7c4776a729cc2ddbd1fcc19bb7623/accretion_cli-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "03c3e3f315e84fac642be3adf117e5c0", "sha256": "e843be71510cc42d7bc3298520223fb307b980fa9d025cf72df9c72c282ca9cb" }, "downloads": -1, "filename": "accretion_cli-0.1.0.tar.gz", "has_sig": false, "md5_digest": "03c3e3f315e84fac642be3adf117e5c0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 32421, "upload_time": "2019-06-18T07:51:09", "url": "https://files.pythonhosted.org/packages/f7/00/225de1a007190d13dd55174e7e9e20bf2bd44051126ec6390ef969670654/accretion_cli-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3920111393dfdec8fffc16d80697fbbf", "sha256": "1f3352fe8ae1448a98e55ca09c0eeaa46ee679577bf9eb0b11d614d1aad5cd28" }, "downloads": -1, "filename": "accretion_cli-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3920111393dfdec8fffc16d80697fbbf", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 33033, "upload_time": "2019-06-18T07:51:07", "url": "https://files.pythonhosted.org/packages/05/0e/7930cc51d8c970dfcb733a31d34f96b7c4776a729cc2ddbd1fcc19bb7623/accretion_cli-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "03c3e3f315e84fac642be3adf117e5c0", "sha256": "e843be71510cc42d7bc3298520223fb307b980fa9d025cf72df9c72c282ca9cb" }, "downloads": -1, "filename": "accretion_cli-0.1.0.tar.gz", "has_sig": false, "md5_digest": "03c3e3f315e84fac642be3adf117e5c0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 32421, "upload_time": "2019-06-18T07:51:09", "url": "https://files.pythonhosted.org/packages/f7/00/225de1a007190d13dd55174e7e9e20bf2bd44051126ec6390ef969670654/accretion_cli-0.1.0.tar.gz" } ] }