{ "info": { "author": "Eleme Lab", "author_email": "imaralla@icloud.com", "bugtrack_url": null, "classifiers": [], "description": "takumi-cli: Takumi command line toolkit\n=======================================\n\n.. image:: https://travis-ci.org/elemepi/takumi-cli.svg?branch=master\n :target: https://travis-ci.org/elemepi/takumi-cli\n\nCommand line tool for managing Takumi services.\n\nInstall\n-------\n\n.. code:: bash\n\n $ pip install takumi-cli\n\nUsage\n-----\n\n.. code-block:: bash\n\n $ takumi -h\n\nRun service\n~~~~~~~~~~~\n\n.. code-block:: bash\n\n $ takumi serve\n\nDeploy an application\n~~~~~~~~~~~~~~~~~~~~~\n\nTo deploy using ansible, extra requirements should be installed:\n\n.. code:: bash\n\n $ pip install takumi-cli[deploy]\n\n\nAdd ``deploy`` entry to *app.yaml*:\n\n.. code:: yaml\n\n deploy:\n vars:\n version: HEAD\n targets:\n testing:\n - localhost\n - testing.com\n prod:\n - app.prod\n\nUsing the following command to deploy:\n\n.. code-block:: bash\n\n $ takumi deploy testing -t deploy\n\nThe deploy command is implemented using `ansible `_.\n\nTo deploy crontab, add the following config to *app.yaml*\n\n.. code-block:: yaml\n\n deploy:\n crontab:\n - name: check dirs\n schedule: \"0 5,2 * * *\"\n job: 'ls -alh > /dev/null'\n\n - name: say hello\n schedule:\n minute: 0\n hour: 5,2\n job: 'scripts/say_hello.py'\n\nthen run:\n\n.. code-block:: bash\n\n $ takumi deploy -t cron\n\nCron jobs are run under app working directory ``/srv/{{ app_name }}``.\n\nStart an interactive shell\n~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nTo start an IPython shell, extra requirements should be installed:\n\n.. code:: bash\n\n $ pip install takumi-cli[shell]\n\nStart the shell:\n\n.. code:: bash\n\n $ takumi shell -t -- \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/elemecreativelab/takumi-cli", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "takumi-cli", "package_url": "https://pypi.org/project/takumi-cli/", "platform": "", "project_url": "https://pypi.org/project/takumi-cli/", "project_urls": { "Homepage": "https://github.com/elemecreativelab/takumi-cli" }, "release_url": "https://pypi.org/project/takumi-cli/0.1.2/", "requires_dist": [ "takumi", "takumi-ext", "takumi-config", "docopt", "schema", "gevent (>=1.2.1)", "thriftpy", "gunicorn", "ansible (>=2.2.0.0); extra == 'deploy'", "takumi-client; extra == 'shell'", "IPython; extra == 'shell'" ], "requires_python": "", "summary": "Takumi service framework command line toolkit", "version": "0.1.2" }, "last_serial": 4136849, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "43716bc02bd099eb52110ccb2579db08", "sha256": "571cb10eccfcc0061d2a2a1a5f7daba03ae7d40661a42a91a565e69459271439" }, "downloads": -1, "filename": "takumi_cli-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "43716bc02bd099eb52110ccb2579db08", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13702, "upload_time": "2017-04-17T10:17:52", "url": "https://files.pythonhosted.org/packages/67/9c/10526b075483679932f972ab1ecab8c3ee26bad313df868f5c789b29b113/takumi_cli-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e3e966dc3048b5f2261d9fea2e01c5e1", "sha256": "68f68e19f47cca763831fedef8db7bd1824221d870b329a60f301147d878f909" }, "downloads": -1, "filename": "takumi_cli-0.1.0.tar.gz", "has_sig": false, "md5_digest": "e3e966dc3048b5f2261d9fea2e01c5e1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9104, "upload_time": "2017-04-17T10:17:54", "url": "https://files.pythonhosted.org/packages/f6/92/7c6227ccbae43a3ef32910a4cf94ae5776ac6beaa5c469ef1a7b9eb078b7/takumi_cli-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "faf0961e5a2e6e4d1998bda2ea92b44e", "sha256": "61d7f3e18b5e0a4b968fe6e50bbeb5a31af1fa644b145146879950315306a58f" }, "downloads": -1, "filename": "takumi_cli-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "faf0961e5a2e6e4d1998bda2ea92b44e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13683, "upload_time": "2018-08-04T07:48:42", "url": "https://files.pythonhosted.org/packages/00/ae/0feaf14e18bb19cb0e82a434e2a57c2216cf6cc95733cae2d345c3c7c7ff/takumi_cli-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8996a357fe83663532265373a93c18f3", "sha256": "f6184ec94e29c721c7b2e0d9f44d8a26a66e8ce2f43a3f2de70f62c81a195f2a" }, "downloads": -1, "filename": "takumi_cli-0.1.1.tar.gz", "has_sig": false, "md5_digest": "8996a357fe83663532265373a93c18f3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9905, "upload_time": "2018-08-04T07:48:44", "url": "https://files.pythonhosted.org/packages/a1/de/7d584e6bcaaa794e3880c9f6c62d885e00d73c5e12c835725ec0ce75929f/takumi_cli-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "3b7c5be5b5fffef4bd6ad66783d498b9", "sha256": "1bc9681237b778df9fd07ba0a213ef80e75907f7814ec7e5bc0afe69b4cce43c" }, "downloads": -1, "filename": "takumi_cli-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3b7c5be5b5fffef4bd6ad66783d498b9", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13679, "upload_time": "2018-08-05T07:04:37", "url": "https://files.pythonhosted.org/packages/c4/60/d3e98fbe8ecb3bd2a57e3cd74a1243aa4994b12ee711623bc82899f05593/takumi_cli-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5e6cb0283e27f24470e2a217bd76a4f8", "sha256": "91b8708991cdb4e29b0a612487ad2134f68e4ece1d81214eca39303989ca9fe4" }, "downloads": -1, "filename": "takumi_cli-0.1.2.tar.gz", "has_sig": false, "md5_digest": "5e6cb0283e27f24470e2a217bd76a4f8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9898, "upload_time": "2018-08-05T07:04:41", "url": "https://files.pythonhosted.org/packages/f2/fc/47cc7ca671346a5e86543f8a83de27646a1a0c41dacec132d24d38c0bae4/takumi_cli-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3b7c5be5b5fffef4bd6ad66783d498b9", "sha256": "1bc9681237b778df9fd07ba0a213ef80e75907f7814ec7e5bc0afe69b4cce43c" }, "downloads": -1, "filename": "takumi_cli-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3b7c5be5b5fffef4bd6ad66783d498b9", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13679, "upload_time": "2018-08-05T07:04:37", "url": "https://files.pythonhosted.org/packages/c4/60/d3e98fbe8ecb3bd2a57e3cd74a1243aa4994b12ee711623bc82899f05593/takumi_cli-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5e6cb0283e27f24470e2a217bd76a4f8", "sha256": "91b8708991cdb4e29b0a612487ad2134f68e4ece1d81214eca39303989ca9fe4" }, "downloads": -1, "filename": "takumi_cli-0.1.2.tar.gz", "has_sig": false, "md5_digest": "5e6cb0283e27f24470e2a217bd76a4f8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9898, "upload_time": "2018-08-05T07:04:41", "url": "https://files.pythonhosted.org/packages/f2/fc/47cc7ca671346a5e86543f8a83de27646a1a0c41dacec132d24d38c0bae4/takumi_cli-0.1.2.tar.gz" } ] }