{ "info": { "author": "J C Lawrence", "author_email": "claw@kanga.nu", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Topic :: Utilities" ], "description": "Plantain\n========\n\nA commandline tool for managing the lifecycle of Mandrill templates.\n\n.. image:: plantain.jpg\n\nIn short, *plantain* allows the user to manage their Mandril email\ntemplates from the commandline, perhaps as part of their configuration\nmanagement system (eg Salt, Ansible, cfengine, Chef, Puppet, etc).\n\nInstall\n=======\n\n::\n\n $ pip install plantain\n\nor:\n\n::\n\n $ sudo python setup.py install\n\nNotes\n=====\n\nNote: *Plantain* used to be called *banana*, until it turned out\nthat someone else already had *banana* in the cheese shop! For\nbackward comparability *plantain* installs a *plantain* and for\nlegacy support, a *banana* binary.\n\nSetup\n=====\n\n*plantain* expects each template to consist of three files: an HTML\nfile (.html) for the HTML fork of the email to be sent, a text file\n(.txt) for the text fork, and a configfile (.cfg) for the metadata\naspects of the template (sending address, Subject: header etc). eg:\n\n::\n\n account_expired.cfg\n account_expired.html\n account_expired.txt\n\nA sample configfile might read:\n\n::\n\n from_name = YourCompany\n from_email = robot@yourcompany.com\n subject = Account Expiration\n\nThe keys in the configfile match the keys used by the Mandrill API: https://mandrillapp.com/api/docs/\n\nNote that for fields which are lists, such as labels, you must put a\ncomma after the first item if there's only one item in the list for it\nto be recognised as a list (otherwise the list is the list of characters\nin the token):\n\n::\n\n labels = foo,\n\nUsage\n=====\n\n::\n\n $ plantain -h\n usage: plantain [-h] -k KEY -t TEMPLATE -a ACTION [-p] [-q] [-v]\n\n Manage and deploy Mandrill templates.\n\n optional arguments:\n -h, --help show this help message and exit\n -k KEY, --key KEY Mandrill API key.\n -t TEMPLATE, --template TEMPLATE\n Template to manipulate.\n -a ACTION, --action ACTION\n Action to perform: ['addinfo', 'update',\n 'publish', 'delete', 'list', 'time_series']\n -p, --publish Auto-publish (for add and update).\n -q, --quiet Suppress normal output.\n -v, --verbose Output results and operations.\n\nExamples\n========\n\nExample call to add a new template to Mandrill called \"foo\\_bar\":\n\n::\n\n $ plantain -k AbbbcdeDeAdBeeFGaFFPA -t foo_bar -a add\n\nNote that this will not \"publish\" the template. To do that:\n\n::\n\n $ plantain -k AbbbcdeDeAdBeeFGaFFPA -t foo_bar -a publish\n\nOr you can publish at the same time you add or update the template:\n\n::\n\n $ plantain -k AbbbcdeDeAdBeeFGaFFPA -t foo_bar -a update -p", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/clearclaw/plantain", "keywords": "Mandrill templates commandline API", "license": "GPL v3.0", "maintainer": null, "maintainer_email": null, "name": "plantain", "package_url": "https://pypi.org/project/plantain/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/plantain/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/clearclaw/plantain" }, "release_url": "https://pypi.org/project/plantain/0.2.post1/", "requires_dist": null, "requires_python": null, "summary": "Command line tool for managing Mandrill templates.", "version": "0.2.post1" }, "last_serial": 1672126, "releases": { "0.1.26": [ { "comment_text": "", "digests": { "md5": "9bad6aa0df5e33f8e7caa4bef5944d00", "sha256": "620f52f6c647dcf239bb2b9f9def8d07cb7da01ef9151a9b78d00d421fd9a5d9" }, "downloads": -1, "filename": "plantain-0.1.26.tar.gz", "has_sig": false, "md5_digest": "9bad6aa0df5e33f8e7caa4bef5944d00", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38868, "upload_time": "2014-10-15T22:47:15", "url": "https://files.pythonhosted.org/packages/d0/ef/92fe89c18f84d6067cd65913d4012db54a2d60a5f00e257ede2ebf5ebcbb/plantain-0.1.26.tar.gz" } ], "0.1.28": [ { "comment_text": "", "digests": { "md5": "5f71e3c42db6468b03e8a0c7a74ffc1b", "sha256": "0b47566be16e62c2c6a0eba3b42a343df407bb9c4d4f5df73905bd764d379fd7" }, "downloads": -1, "filename": "plantain-0.1.28.tar.gz", "has_sig": false, "md5_digest": "5f71e3c42db6468b03e8a0c7a74ffc1b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38906, "upload_time": "2015-01-07T02:33:00", "url": "https://files.pythonhosted.org/packages/4b/0f/829fc4b04b906de9029a96d26802d020cd80d3872f1e245c8723d5ffa923/plantain-0.1.28.tar.gz" } ], "0.1.30": [ { "comment_text": "", "digests": { "md5": "eb7f3adc8dd4617c29bf77d337396fe2", "sha256": "e81aacc54efab6cbb50fa3934bed2dc5b8fad9153c881af777a148fc96cc15c0" }, "downloads": -1, "filename": "plantain-0.1.30.tar.gz", "has_sig": false, "md5_digest": "eb7f3adc8dd4617c29bf77d337396fe2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16483, "upload_time": "2015-07-26T22:44:07", "url": "https://files.pythonhosted.org/packages/de/fd/4f3b371577f84c49ab60188bed08aade64f9fc28bd04db99ebd7bb08300e/plantain-0.1.30.tar.gz" } ], "0.1.31": [ { "comment_text": "", "digests": { "md5": "71c3b0a4556c3cefcb50e92eb1f3130c", "sha256": "d6a95df75a6fe6a422e535b1029e2e3ba5f0d0a960985da03348ed9bee4b253d" }, "downloads": -1, "filename": "plantain-0.1.31.tar.gz", "has_sig": false, "md5_digest": "71c3b0a4556c3cefcb50e92eb1f3130c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 39205, "upload_time": "2015-08-03T22:36:40", "url": "https://files.pythonhosted.org/packages/31/71/fd76771560e426dd4e69c02b266c97efe27a94d79161084e3894f5e7bc4f/plantain-0.1.31.tar.gz" } ], "0.2.post1": [ { "comment_text": "", "digests": { "md5": "6fa3743dfb208e4d37cb3eafc6c76066", "sha256": "472afed6356c4c066b1e0d50eb1bb215756f5db57bf9326a275296ebba93ab9c" }, "downloads": -1, "filename": "plantain-0.2.post1.tar.gz", "has_sig": false, "md5_digest": "6fa3743dfb208e4d37cb3eafc6c76066", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 55685, "upload_time": "2015-08-10T22:53:40", "url": "https://files.pythonhosted.org/packages/18/7c/aa3915150f6650d11b57e4342ed0c64de9ac55c8067e9f3a650d4329de23/plantain-0.2.post1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6fa3743dfb208e4d37cb3eafc6c76066", "sha256": "472afed6356c4c066b1e0d50eb1bb215756f5db57bf9326a275296ebba93ab9c" }, "downloads": -1, "filename": "plantain-0.2.post1.tar.gz", "has_sig": false, "md5_digest": "6fa3743dfb208e4d37cb3eafc6c76066", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 55685, "upload_time": "2015-08-10T22:53:40", "url": "https://files.pythonhosted.org/packages/18/7c/aa3915150f6650d11b57e4342ed0c64de9ac55c8067e9f3a650d4329de23/plantain-0.2.post1.tar.gz" } ] }