Skip to main content

Web application GUI toolkit

Project description

A web application GUI toolkit.

Muntjac is a translation of Vaadin to the Python programming language. It is similar to GUI toolkits for desktop applications, such as PyQT, wxPython and PyGTK. However, it can be used to create dynamic, browser independent, web applications. There is no need to write HTML, Javascript or RPC code, just server-side Python.

Quick Start

Define a subclass of Application:

class HelloWorld(Application):

    def init(self):
        main = Window('Hello window')
        self.setMainWindow(main)

        main.addComponent(Label('Hello World!'))

Pass the application class to a servlet, wrap the resulting WSGI application in session middleware and serve:

wsgi_app = ApplicationServlet(HelloWorld, debug=True)

wsgi_app = paste.session.SessionMiddleware(wsgi_app)

httpd = wsgiref.simple_server.make_server('localhost', 8080, wsgi_app)
httpd.serve_forever()

Navigate your browser to http://localhost:8080/.

Changelog

1.0.0

  • First public release of Muntjac.

Project details


Download files

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

Source Distribution

Muntjac-1.0.0.tar.gz (2.3 MB view details)

Uploaded Source

Built Distribution

Muntjac-1.0.0-py2.7.egg (3.8 MB view details)

Uploaded Source

File details

Details for the file Muntjac-1.0.0.tar.gz.

File metadata

  • Download URL: Muntjac-1.0.0.tar.gz
  • Upload date:
  • Size: 2.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Muntjac-1.0.0.tar.gz
Algorithm Hash digest
SHA256 9d8735781ad43acf103ea93de66df26da568a53c00b9b9e118d97cbee5709265
MD5 93d7da1fbce0a09edb4113d40534cf25
BLAKE2b-256 f2e4e8d95b4a08ab3c5befa2c36e32bc077a120de85696feb748ee2e5e6ec0a4

See more details on using hashes here.

File details

Details for the file Muntjac-1.0.0-py2.7.egg.

File metadata

  • Download URL: Muntjac-1.0.0-py2.7.egg
  • Upload date:
  • Size: 3.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Muntjac-1.0.0-py2.7.egg
Algorithm Hash digest
SHA256 fc27264561f99d31d5c63715812b99d837343b1f87f6da99b43d71d7a1e4fadc
MD5 b28d301631c031908cdf9b1633b88f87
BLAKE2b-256 70e42f1b564ca87ac71b108732eb051851c27244ac387f421975b30167c7d261

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page