{ "info": { "author": "Shubham Dipt", "author_email": "shubham.dipt@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "Copyright (c) 2018 Dr. Shubham Dipt\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\nDescription: ec2_task\n =================\n \n Enabling easy start, running of tasks and stopping of EC2 instances in AWS.\n \n Requirements\n ------------\n \n * Python3 (>=3.4)\n \n \n ### Usage\n \n $ pip install ec2-task\n \n Add your AWS credentials and details of your EC2 instance in config file e.g. aws_config.ini.\n The aws_config file should have the following:\n \n [aws]\n AWS_ACCESS_KEY_ID=\n AWS_SECRET_ACCESS_KEY\n INSTANCE_ID=\n REGION=\n KEY_PATH=\n USER=\n \n List of tasks should be added as a separate file (containing mainly shell commands) e.g. task.sh.\n \n >>> from ec2_task import connect_ec2\n >>> ec2_instance = connect_ec2.Ec2Instance(config_file=\"aws_config.ini\") # include the path of your aws config file\n >>> ec2_instance.start_instance()\n >>> ec2_instance.run_task(task_file=\"task.sh\") # include the path of your task file\n >>> ec2_instance.stop_instance()\n \n Check example in the Github repository.\n \nPlatform: any\nClassifier: Programming Language :: Python :: 3\nClassifier: License :: OSI Approved :: MIT License\nClassifier: Operating System :: OS Independent\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/shubhamdipt/aws-ec2-task", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "ec2-task", "package_url": "https://pypi.org/project/ec2-task/", "platform": "", "project_url": "https://pypi.org/project/ec2-task/", "project_urls": { "Homepage": "https://github.com/shubhamdipt/aws-ec2-task" }, "release_url": "https://pypi.org/project/ec2-task/0.9/", "requires_dist": [ "asn1crypto (==0.24.0)", "bcrypt (==3.1.4)", "boto3 (==1.7.48)", "botocore (==1.10.48)", "cffi (==1.11.5)", "cryptography (==2.2.2)", "docutils (==0.14)", "idna (==2.7)", "jmespath (==0.9.3)", "paramiko (==2.4.1)", "pyasn1 (==0.4.3)", "pycparser (==2.18)", "PyNaCl (==1.2.1)", "python-dateutil (==2.7.3)", "s3transfer (==0.1.13)", "six (==1.11.0)" ], "requires_python": "", "summary": "A python module to manage AWS EC2 instances.", "version": "0.9" }, "last_serial": 4033016, "releases": { "0.9": [ { "comment_text": "", "digests": { "md5": "8aa18cbb21bd03cbf2361f8fc9319d9d", "sha256": "986776628a7b5e4e0630f477c925ce56458149d007e4f503789df00a45b3ae27" }, "downloads": -1, "filename": "ec2_task-0.9-py3-none-any.whl", "has_sig": false, "md5_digest": "8aa18cbb21bd03cbf2361f8fc9319d9d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3636, "upload_time": "2018-07-05T12:23:30", "url": "https://files.pythonhosted.org/packages/6c/c2/80be64edf280f287f7998675cea20e0bd2089215e65eeb31f7a676802285/ec2_task-0.9-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2582d668f790e52679972c4aad22a17a", "sha256": "868481b073a0914fea6b523524a42b6b3001192eb00c62bc9bfe246d21eabff6" }, "downloads": -1, "filename": "ec2-task-0.9.tar.gz", "has_sig": false, "md5_digest": "2582d668f790e52679972c4aad22a17a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3333, "upload_time": "2018-07-05T12:23:31", "url": "https://files.pythonhosted.org/packages/f8/5f/4cb4290f06d268da947b71e9ee06924a76e8ed5d6efe4c8734d253ff47d8/ec2-task-0.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8aa18cbb21bd03cbf2361f8fc9319d9d", "sha256": "986776628a7b5e4e0630f477c925ce56458149d007e4f503789df00a45b3ae27" }, "downloads": -1, "filename": "ec2_task-0.9-py3-none-any.whl", "has_sig": false, "md5_digest": "8aa18cbb21bd03cbf2361f8fc9319d9d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3636, "upload_time": "2018-07-05T12:23:30", "url": "https://files.pythonhosted.org/packages/6c/c2/80be64edf280f287f7998675cea20e0bd2089215e65eeb31f7a676802285/ec2_task-0.9-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2582d668f790e52679972c4aad22a17a", "sha256": "868481b073a0914fea6b523524a42b6b3001192eb00c62bc9bfe246d21eabff6" }, "downloads": -1, "filename": "ec2-task-0.9.tar.gz", "has_sig": false, "md5_digest": "2582d668f790e52679972c4aad22a17a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3333, "upload_time": "2018-07-05T12:23:31", "url": "https://files.pythonhosted.org/packages/f8/5f/4cb4290f06d268da947b71e9ee06924a76e8ed5d6efe4c8734d253ff47d8/ec2-task-0.9.tar.gz" } ] }