Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A wrapper around PySide's QtWebKit library which helps developer create beautiful UI with HTML5, CSS and Javascript for standalone applications.

Project Description
<h1>htmlPy</h1>
<h4>HTML5-CSS3-Javascript based GUI library in Python</h4>
<a href="https://travis-ci.org/amol-mandhane/htmlPy" class="badges" target="_blank">
<img src="https://img.shields.io/travis/amol-mandhane/htmlPy/master.svg">
</a>
<a href="https://pypi.python.org/pypi/htmlPy/" class="badges" target="_blank">
<img style="max-width:100%;" src="https://img.shields.io/pypi/v/htmlPy.svg">
</a>
<a href="https://pypi.python.org/pypi/htmlPy/" class="badges" target="_blank">
<img style="max-width:100%;" src="https://img.shields.io/pypi/dm/htmlPy.svg">
</a>
<br><br>

<p>htmlPy is a wrapper around <a href="https://pyside.org/" target="_blank">PySide</a>'s QtWebKit library. It helps with creating beautiful GUIs using <b>HTML5, CSS3 and Javascript</b> for standalone Python applications. It is built on <a href="http://qt.io/" target="_blank">Qt</a> which makes it highly <b>customizable and cross-platform</b>. htmlPy is compatible with both <b>Python2 and Python3</b>. It can be used with any python library or environment like <a href="https://www.djangoproject.com/" target="_blank">django</a>, <a href="http://flask.pocoo.org/" target="_blank">flask</a>, <a href="http://www.scipy.org/" target="_blank">scipy</a>, <a href="http://virtualenv.readthedocs.org/" target="_blank">virtualenv</a> etc. You can use front-end libraries and frameworks like <a href="http://getbootstrap.com/" target="_blank">bootstrap</a>, <a href="http://jquery.com/" target="_blank">jQuery</a>, <a href="http://jqueryui.com/" target="_blank">jQuery UI</a> etc. and create GUIs for your applications in no time.</p>

<h2>Documentation</h2>
<p>The documentation is hosted at <a href="http://htmlpy.readthedocs.org/">http://htmlpy.readthedocs.org/</a>. It contains <b>installation instructions, tutorials, reference guide</b>, compatibility details, and more.</p>

<h2>Example</h2>
<table style="width: 150%; margin-left: -25%;">
<tr>
<td>
<h3>Back-end <br> <small class="typewriter">back_end.py</small></h3>
<pre>
<code class="language-python">
import htmlPy
from main import app


class BackEnd(htmlPy.Object):

@htmlPy.Slot()
def say_hello_world():
app.html = u"Hello, world"
</code>
</pre></td>
<td>
<h3>GUI <br> <small class="typewriter">main.py</small></h3>
<pre>
<code class="language-python">
import htmlPy
from back_end import BackEnd

app = htmlPy.AppGUI(
title=u"Sample application")
app.maximized = True
app.bind(BackEnd())

app.template = ("index.html", {})

if __name__ == "__main__":
app.start()
</code>
</pre></td>
<td>
<h3>Front-end <br> <small class="typewriter">index.html</small></h3>
<pre>
<code class="language-markup highlight">
&lt;html&gt;
&lt;body&gt;
&lt;a
href="BackEnd.say_hello_world"
data-bind="true"&gt;
Click to say "Hello, world"
&lt;/a&gt;
&lt;/body&gt;
&lt;/html&gt;
</code>
</pre></td>
</tr>
</table>

<h2>Code</h2>
<p>htmlPy source code is hosted on <a href="https://github.com/amol-mandhane/htmlPy" target="_blank">GitHub</a>, tested on <a href="https://travis-ci.org/amol-mandhane/htmlPy" target="_blank">Travis CI</a> and released on <a href="https://pypi.python.org/pypi/htmlPy/" target="_blank">PyPI</a>.</p>
</div>
Release History

Release History

This version
History Node

2.0.3

History Node

2.0.2

History Node

2.0.1

History Node

2.0.0

History Node

1.6.2

History Node

1.6.1

History Node

1.6.0

History Node

1.5.1

History Node

1.5.0

History Node

1.4.0

History Node

1.3.0

History Node

1.2.1

History Node

1.2.0

History Node

1.1.0

History Node

1.0.1

History Node

1.0.0

History Node

0.9.0

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
htmlPy-2.0.3-py2-none-any.whl (17.5 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Nov 22, 2015
htmlPy-2.0.3.tar.gz (16.5 kB) Copy SHA256 Checksum SHA256 Source Nov 22, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting