{ "info": { "author": "Mark Lipscombe", "author_email": "mark@lipscombe.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "===============================\ninstance-config\n===============================\n\n.. image:: https://img.shields.io/pypi/v/instance-config.svg\n :target: https://pypi.python.org/pypi/instance-config\n\nA simple library using consul locks to do one-time configuration tasks on AWS instances.\n\nHow to use it\n--------------\n\n.. code-block:: python\n\n from instance_config import Instance\n\n instance = Instance()\n\n @instance.every()\n def do_each_time():\n # This will run every time the script is invoked.\n return\n\n @instance.once(key='locks/my_app/create_user', version=1, timeout=60)\n def create_user():\n # This will only be run once, in declared order, for each version.\n return do_create_user()\n\n\n\n\nHistory\n-------\n\n0.1.2 (2017-11-06)\n++++++++++++++++++\n\n* First release on PyPI.\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mlipscombe/instance-config", "keywords": "instance-config", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "instance-config", "package_url": "https://pypi.org/project/instance-config/", "platform": "", "project_url": "https://pypi.org/project/instance-config/", "project_urls": { "Homepage": "https://github.com/mlipscombe/instance-config" }, "release_url": "https://pypi.org/project/instance-config/0.1.2/", "requires_dist": [ "boto3", "credstash", "python-consul", "cached-property", "consul-lock" ], "requires_python": "", "summary": "A simple library using consul locks to do one-time configuration tasks on AWS instances.", "version": "0.1.2" }, "last_serial": 3308326, "releases": { "0.1.2": [ { "comment_text": "", "digests": { "md5": "78de9befdc48278c236ad6ed6328b34d", "sha256": "79fbbabca1b5bcc5cbcded9e8ac68dbd0ed7399ddd4c19bcfa2e4019e5310da2" }, "downloads": -1, "filename": "instance_config-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "78de9befdc48278c236ad6ed6328b34d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5442, "upload_time": "2017-11-06T04:43:53", "url": "https://files.pythonhosted.org/packages/ff/5f/308d542b5c02ec3221fad6e91a8de16978479f7eebbb4da40497f90e5ea8/instance_config-0.1.2-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "78de9befdc48278c236ad6ed6328b34d", "sha256": "79fbbabca1b5bcc5cbcded9e8ac68dbd0ed7399ddd4c19bcfa2e4019e5310da2" }, "downloads": -1, "filename": "instance_config-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "78de9befdc48278c236ad6ed6328b34d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5442, "upload_time": "2017-11-06T04:43:53", "url": "https://files.pythonhosted.org/packages/ff/5f/308d542b5c02ec3221fad6e91a8de16978479f7eebbb4da40497f90e5ea8/instance_config-0.1.2-py2.py3-none-any.whl" } ] }