HTML frontend for Traits models.
The HTML UI can be displayed both in the same Python process as well as remotely, allowing us to view and manipulate a Traits-based-object from the web.
Jigna can be used to create user interfaces in Qt using Qt’s webkit support or on a browser. One needs to have Qt (PySide or PyQt) installed if one wants a Qt based UI and requires tornado for a web-based UI.
With a web-based UI, the jigna dependencies are rather light requiring only traits, tornado, and a recent web browser.
Please note that Jigna currently is only tested with Qt4 and Qt5 support will be added later.
Jigna can be installed with pip:
$ pip install jigna
This will not pull in any Qt requirements but will require tornado as it is easy to install. The test requirements can be installed via:
$ pip install jigna[test]
This will install, PySide, nose, mock, coverage, and selenium if you do not already have them.
To install Jigna from the sources you may do the following:
git clone firstname.lastname@example.org:enthought/jigna.git cd jigna pip install -r requirements.txt python setup.py install # or python setup.py develop
This does not include pyside or pyqt so you will have to install that as well.
To run the tests, you can simply do the following from the project’s root directory:
You must make sure you have the required packages installed, and can install these via:
pip install -r requirements.txt
This does not install pyside since that is a heavy dependency. You may install it using your package manager or via pip.
There are several examples to play with in the examples directory. Each example demonstrates one particular feature of jigna. Start with the simplest one by running:
This requires Qt so if you are only interested in Web UI examples, you may run the following examples:
- ex20_mayavi_webgl_demo.py – this requires Mayavi to be installed.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size jigna-0.10.1-py2-none-any.whl (1.4 MB)||File type Wheel||Python version py2||Upload date||Hashes View|
|Filename, size jigna-0.10.1.tar.gz (2.2 MB)||File type Source||Python version None||Upload date||Hashes View|