Git Product home page Git Product logo

enaml's Introduction

Enaml is not a Markup Language

Enaml is Not A Markup Language. Enaml is a library for creating professional quality user interfaces with minimal effort. Enaml combines a domain specific declarative language with a constraints based layout system to allow users to easily define rich UIs with complex and flexible layouts. Enaml applications can transparently run on multiple backends (Qt and Wx) and on multiple operating systems (Windows, OSX, Linux).

Other great Enaml features include

  1. Declarative UI specification langauge that is a strict superset of Python
  2. Architecture design which encourages Model View separation
  3. Subscription based operators which allow state and events to freely flow between models and views
  4. Ability to easily subclass widgets to override functionality of builtin widgets
  5. Support for custom UI widgets
  6. Class based widget design encourages re-use of UI code
  7. Well documented code base that is easy to understand

Enaml is heavily inspired by Qt's QML system, but Enaml uses native widgets (as opposed to drawing on a 2D canvas) and is toolkit independent. Currently supported/in-development toolkits include Qt4 and Wx. The Qt toolkit is strongly recommended over Wx.

Enaml is extensible and makes it extremely easy for the user to define their own widgets, override existing widgets, create a new backend toolkit, or even hook the runtime to apply their own expression dependency behavior. About the only thing not hookable is the Enaml language syntax itself.

The enamldoc package provides a Sphinx extension for documenting Enaml objects.

Prerequisites

  • Python >= 2.6 (not Python 3)
  • Traits
  • Casuarius (https://github.com/enthought/casuarius)
  • PySide or PyQt4 (only if using the Qt backend)
  • wxPython (only if using the wx backend)
  • PLY (Python Lex-Yacc), for parsing .enaml files
  • Sphinx (only if building the docs)

enaml's People

Contributors

sccolbert avatar itziakos avatar rkern avatar corranwebster avatar dwyde avatar timdiller avatar jwiggins avatar dpinte avatar deepankarsharma avatar blink1073 avatar mdickinson avatar cfarrow avatar punchagan avatar matthewryanscott avatar caryan avatar mindw avatar warrenweckesser avatar cgohlke avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.