{ "info": { "author": "Ben Booth", "author_email": "benwbooth@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "HTML Templating DSL for Python.\n==============================\n\nA simple HTML templating library that uses a DSL\nmini-language. I tried to design it to be similar in feel\nto Teacup/CoffeeKup (https://github.com/goodeggs/teacup). I\nalso took inspiration from jamescasbon's template.py script\n(https://gist.github.com/jamescasbon/1461441).\n\nAlso includes the md() function for embedding markdown, and an option\nfor outputting prettified HTML.\n\nExample usage::\n\n from teacup import *\n\n with html:\n with head:\n pass\n with body:\n with p:\n md(\"This is a **test!**\")\n with p({\"class\":\"test\"}, id=\"testme\"):\n text(\"Another test\")\n a(\"Click here\", href=\"https://google.com\")\n\n print(render())\n\nThe python \"with\" keyword is used to nest HTML tags.\n", "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/benwbooth/python-teacup", "keywords": "python module html markdown teacup coffeecup coffeekup templating template library", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "teacup", "package_url": "https://pypi.org/project/teacup/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/teacup/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/benwbooth/python-teacup" }, "release_url": "https://pypi.org/project/teacup/0.9/", "requires_dist": null, "requires_python": null, "summary": "HTML Templating DSL for Python", "version": "0.9" }, "last_serial": 1368613, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "bbd8e1b1f115353687105cb9c7fb3b3b", "sha256": "2c72e4416fb18ea95d1cb4fac10da5a0913a3b724ac6f26ebd97f7c7fce5e2ef" }, "downloads": -1, "filename": "teacup-0.1.tar.gz", "has_sig": false, "md5_digest": "bbd8e1b1f115353687105cb9c7fb3b3b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4069, "upload_time": "2014-12-10T23:11:47", "url": "https://files.pythonhosted.org/packages/ff/f2/442f8e33f1c6f17e589ae0b11578b83f29eae1bceb1d2ca81d117db13ce4/teacup-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "86c4510acda04d6bd4c58d7e0f1f8767", "sha256": "9a239ea9b677caf5fccd75278a730434e2bc9895fd538b55a95b970842f5d0d5" }, "downloads": -1, "filename": "teacup-0.2.tar.gz", "has_sig": false, "md5_digest": "86c4510acda04d6bd4c58d7e0f1f8767", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4100, "upload_time": "2014-12-10T23:13:17", "url": "https://files.pythonhosted.org/packages/96/1f/a67aef2805ddaa42a570424ce7545183cd721e49a5318a127dea23b0e82f/teacup-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "66ec4f0f449682b83b238723c0a81ef6", "sha256": "add711f41b2b2591de6d944c276d720089adc2f32523be0cc5be52e91d97c846" }, "downloads": -1, "filename": "teacup-0.3.tar.gz", "has_sig": false, "md5_digest": "66ec4f0f449682b83b238723c0a81ef6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4154, "upload_time": "2014-12-10T23:29:19", "url": "https://files.pythonhosted.org/packages/d0/d4/2722413be36d6f4a68749f0734e382776e365d8832d44a99d4ac56e0e149/teacup-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "33d3477fe29b2c62021e8ea0da63f91d", "sha256": "348d3329ed200d717b6883a2e80745169d6e9c94d08fb4820d92e535f0995d6c" }, "downloads": -1, "filename": "teacup-0.4.tar.gz", "has_sig": false, "md5_digest": "33d3477fe29b2c62021e8ea0da63f91d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4209, "upload_time": "2014-12-10T23:32:01", "url": "https://files.pythonhosted.org/packages/96/3c/b9d20bc12feddd062ab09e013bc877d833d409ae52ff5f0d4812d013bba6/teacup-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "443757003be46f8229679a7e9dd294c8", "sha256": "a75582146a2f3a75311bd91072a4b3759304578f2bda6e7baf8069c23043dbe1" }, "downloads": -1, "filename": "teacup-0.5.tar.gz", "has_sig": false, "md5_digest": "443757003be46f8229679a7e9dd294c8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4271, "upload_time": "2014-12-17T22:14:40", "url": "https://files.pythonhosted.org/packages/c2/56/1dde2becbaf7d0be6ee3b9276dfa55283213810d724e4ca194ab84473100/teacup-0.5.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "5224c46131f0928586929fbdbfaa4678", "sha256": "deb06a93d1adf0cd8ef4879864c4a6e109cb8f1bd048ff8d69dcd09ebebfb2df" }, "downloads": -1, "filename": "teacup-0.6.tar.gz", "has_sig": false, "md5_digest": "5224c46131f0928586929fbdbfaa4678", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4271, "upload_time": "2014-12-17T22:16:29", "url": "https://files.pythonhosted.org/packages/a7/77/ee8ef5ecd826c639146ef04c1dd312750bfc936d0e99fbad843d3c0ad5f2/teacup-0.6.tar.gz" } ], "0.7": [ { "comment_text": "", "digests": { "md5": "b0184a3b9da7c6442948374d6bfdf2f8", "sha256": "551739db1392326b59f5b5899ed5be83b1bc775302f4d349bbdca2df34698cb8" }, "downloads": -1, "filename": "teacup-0.7.tar.gz", "has_sig": false, "md5_digest": "b0184a3b9da7c6442948374d6bfdf2f8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4307, "upload_time": "2014-12-22T17:48:50", "url": "https://files.pythonhosted.org/packages/0f/6a/f594268b6c56713a6c99933fffe4e8e89e4977a022e52050ca203aba2ea9/teacup-0.7.tar.gz" } ], "0.8": [ { "comment_text": "", "digests": { "md5": "9ce497c2441e70c5ce91ee8d4fc8fee1", "sha256": "682f5465f5212f0779f00c0a7212011a5287c99912af170c1ae06c307a992523" }, "downloads": -1, "filename": "teacup-0.8.tar.gz", "has_sig": false, "md5_digest": "9ce497c2441e70c5ce91ee8d4fc8fee1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4303, "upload_time": "2014-12-23T22:23:42", "url": "https://files.pythonhosted.org/packages/f1/5b/7929be4ac1934b7124cc8c45e967a46d4406a19c467bd5b091ccfd616fb1/teacup-0.8.tar.gz" } ], "0.9": [ { "comment_text": "", "digests": { "md5": "90af357322479d91db19bb3327482d23", "sha256": "4589c765af338fd5753ce48125ce2a8da1fb727715a1c9ad20b63657cea17149" }, "downloads": -1, "filename": "teacup-0.9.tar.gz", "has_sig": false, "md5_digest": "90af357322479d91db19bb3327482d23", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4344, "upload_time": "2015-01-02T21:44:13", "url": "https://files.pythonhosted.org/packages/44/75/2d9089e969664f8cac73d496b2f91028214c63f9acedfcd16bb0a57fa0f8/teacup-0.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "90af357322479d91db19bb3327482d23", "sha256": "4589c765af338fd5753ce48125ce2a8da1fb727715a1c9ad20b63657cea17149" }, "downloads": -1, "filename": "teacup-0.9.tar.gz", "has_sig": false, "md5_digest": "90af357322479d91db19bb3327482d23", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4344, "upload_time": "2015-01-02T21:44:13", "url": "https://files.pythonhosted.org/packages/44/75/2d9089e969664f8cac73d496b2f91028214c63f9acedfcd16bb0a57fa0f8/teacup-0.9.tar.gz" } ] }