Skip to main content
<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 files for htmlPy 2.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for htmlPy 2.0.3
File Size Uploaded
htmlPy-2.0.3.tar.gz 16.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for htmlPy 2.0.3
File Interpreter ABI Platform
htmlPy-2.0.3-py2-none-any.whl Python 2 none any Details

Total release size: 34.0 kB

Release files / htmlPy-2.0.3.tar.gz

Download URL htmlPy-2.0.3.tar.gz
Size 16.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3156b217436bb229a597c2a5f66564d6174627ff4ac55b123ec9c146edcfc313
BLAKE2b-256 checksum
How to use checksums
6f29af19f36618961c18d31da9dfa25b00bc062b36948cbb3c1ba0ed7ad39471
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / htmlPy-2.0.3-py2-none-any.whl

Download URL htmlPy-2.0.3-py2-none-any.whl
Size 17.5 kB
Tags Python 2
SHA-256 checksum
How to use checksums
aebfa3033e456fd406fce529153dd1536a11e4eb2aa068376a555923ba24ff98
BLAKE2b-256 checksum
How to use checksums
d11f7bc993618d846bbf0c757805bd0d2514b536fbe64ed3a40d9b959229b445
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

2.0.3 This release

2 release files

2.0.2

1 release file

2.0.1

1 release file

2.0.0

1 release file

1.6.2

1 release file

1.6.1

1 release file

1.6.0

2 release files

1.5.1

1 release file

1.5.0

1 release file

1.4.0

1 release file

1.3.0

1 release file

1.2.1

1 release file

1.2.0

1 release file

1.1.0

1 release file

1.0.1

1 release file

1.0.0

1 release file

0.9.0

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page