{ "info": { "author": "UNKNOWN", "author_email": "timothy.crosley@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 6 - Mature", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.0", "Programming Language :: Python :: 3.1", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Topic :: Software Development :: Libraries" ], "description": "|thedom|\n========\n\n|PyPI version| |PyPi downloads| |Build Status| |License| |Bitdeli Badge|\n\nthedom is a collection of python objects that enable developers to\ngenerate and interact with web apps server side. It encourages object\noriented website development, and code reuse by seperating each DOM\nelement into its own object, and then allowing inheritance and child\nelements to come together to form new elements not defined in the\nstandard DOM.\n\nwrite this:\n\n::\n\n from thedom import Layout, Document, Buttons\n\n page = Document.Document()\n layout = page.addChildElement(Layout.Center()).addChildElement(Layout.Horizontal())\n layout += Buttons.Button(text=\"Use thedom.\", **{'class':'MainAction'})\n layout += Buttons.Button(text=\"Enjoy writing less code.\", **{'class':'DeleteAction'})\n layout += Buttons.Button(text=\"100% Python.\")\n\n print page.toHTML(formatted=True)\n\nget this:\n\n::\n\n \n \n \n \n \n \n \n \n \n
\n
\n
\n
\n \n \n \n
\n
\n
\n
\n \n \n\nInstalling thedom\n=================\n\nInstalling thedom is as simple as:\n\n::\n\n pip install thedom\n\nor if you prefer\n\n::\n\n easy_install thedom\n\n--------------\n\nThanks and I hope you find thedom useful!\n\n~Timothy Crosley\n\n.. |thedom| image:: https://raw.github.com/timothycrosley/thedom/develop/logo.png\n.. |PyPI version| image:: https://badge.fury.io/py/thedom.png\n :target: http://badge.fury.io/py/thedom\n.. |PyPi downloads| image:: https://pypip.in/d/thedom/badge.png\n :target: https://crate.io/packages/thedom/\n.. |Build Status| image:: https://travis-ci.org/timothycrosley/thedom.png?branch=master\n :target: https://travis-ci.org/timothycrosley/thedom\n.. |License| image:: https://pypip.in/license/thedom/badge.png\n :target: https://pypi.python.org/pypi/thedom/\n.. |Bitdeli Badge| image:: https://d2weczhvl823v0.cloudfront.net/timothycrosley/thedom/trend.png\n :target: https://bitdeli.com/free", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/timothycrosley/thedom/archive/1.0.0-beta.2.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/timothycrosley/thedom", "keywords": "Web,Python,Python2,Python3,Dom,HTML,Library,Parser", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "thedom", "package_url": "https://pypi.org/project/thedom/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/thedom/", "project_urls": { "Download": "https://github.com/timothycrosley/thedom/archive/1.0.0-beta.2.tar.gz", "Homepage": "https://github.com/timothycrosley/thedom" }, "release_url": "https://pypi.org/project/thedom/0.0.1/", "requires_dist": null, "requires_python": null, "summary": "thedom is a collection of python objects that enable you to represent and interact with the DOM server side before generating HTML, CSS, and JavaScript for the client.", "version": "0.0.1" }, "last_serial": 1046816, "releases": { "0.0.1": [] }, "urls": [] }