{ "info": { "author": "Nicola Pietroluongo", "author_email": "nik.longstone@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Internet" ], "description": "Sked CLI\n========\n\nConfigures `AWS Scheduled Scaling`_ for Amazon EC2 Auto Scaling based on Tags.\n\nYou can Tag your EC2 instances and define in a config file the scaling profiles. The rest is magic...\n\n.. _AWS Scheduled Scaling: https://docs.aws.amazon.com/autoscaling/ec2/userguide/schedule_time.html\n\nInstallation\n------------\n``$ pip install sked``\n\nUsage\n-------\n::\n\n sked create [-c=]\n sked delete [-c=]\n sked -h | --help\n sked --version\n\n\nExamples\n--------\n::\n\n sked create -c my_schedule.yml\n sked delete -c my_schedule.yml\n\n\n**If you omit the -c parameter, the cli by default tries to use a file called sked.yml.**\n\nConfiguration file sample\n-------------------------\n\n::\n\n # sked.yml\n profiles:\n small:\n desired_capacity: 5\n min_size: 1\n max_size: 10\n recurrence: 0 7 * * * # every day at 07:00\n overnight:\n desired_capacity: 0\n min_size: 0\n recurrence: 15 19 * * MON-FRI # 19:15 from Monday to Friday\n\n auto_scaling_groups:\n - filter:\n tag:\n key: Name\n value: SomeTag\n schedule:\n - profile: small\n times:\n - start_time: 2018-03-01T00:00:00Z\n - start_time: 2018-04-01T00:00:00Z\n - filter:\n tags:\n - tag: {key: Name, value: MyInstanceA}\n - tag: {key: Name, value: 'My Instance B'}\n schedule:\n - profile: small\n times:\n - start_time: 2018-03-01T00:00:00Z\n - start_time: 2018-04-01T00:00:00Z\n\nAdditional Note\n---------------\n\nSked doesn't store the state of the applied scheduled action. Everything is based upon the Yaml configuration file.\n\nIf you want to use the delete command make sure you didn't change the Yaml configuration file in the meantime.\n\nFor instance, the following workflow **will produce an error**:\n\n1. run ``sked create``\n2. change the ``sked.yml`` file\n3. run ``sked delete``\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/niklongstone/sked", "keywords": "cli,aws,scaling,auto scaling group,scheduled actions", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "sked", "package_url": "https://pypi.org/project/sked/", "platform": "", "project_url": "https://pypi.org/project/sked/", "project_urls": { "Homepage": "https://github.com/niklongstone/sked" }, "release_url": "https://pypi.org/project/sked/1.0.0/", "requires_dist": [ "docopt", "boto3", "PyYAML", "mock; python_version in \"2.6, 2.7\"", "coverage; extra == 'test'", "pytest; extra == 'test'", "pytest-cov; extra == 'test'", "tox; extra == 'test'" ], "requires_python": "", "summary": "CLI utility to create AWS Scheduled Actions using instance tags or autoscaling id via a config file", "version": "1.0.0" }, "last_serial": 3851978, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "337de8d920750c11fb564c2df6c2d58a", "sha256": "2cd639fbfda8220c76ae89879924c7cdadfacf3749ce253cc29dc2a4d7ffebc1" }, "downloads": -1, "filename": "sked-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "337de8d920750c11fb564c2df6c2d58a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7882, "upload_time": "2018-05-10T21:24:31", "url": "https://files.pythonhosted.org/packages/c4/1a/122b46396b55c24ccf6a7c44f79dc95c8ddf9dec2a04355b1c98b078abf8/sked-1.0.0-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "337de8d920750c11fb564c2df6c2d58a", "sha256": "2cd639fbfda8220c76ae89879924c7cdadfacf3749ce253cc29dc2a4d7ffebc1" }, "downloads": -1, "filename": "sked-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "337de8d920750c11fb564c2df6c2d58a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7882, "upload_time": "2018-05-10T21:24:31", "url": "https://files.pythonhosted.org/packages/c4/1a/122b46396b55c24ccf6a7c44f79dc95c8ddf9dec2a04355b1c98b078abf8/sked-1.0.0-py2.py3-none-any.whl" } ] }