{ "info": { "author": "Vincent Le Goff", "author_email": "vincent.legoff.srs@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 1 - Planning", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "# Blind User Interface - the interface you can design with your eyes closed\n\nBlind User Interface (BUI) is meant to be a simple toolkit to design user interfaces with a Pythonic syntax. Having been created by a blind user, it gives a lot of importance to accessibility and compatibility with screen readers, while offering a comfortable user interface that anyone can use. However, this restriction doesn't imply you cannot (and should not) create complex or really beautiful user interfaces with BUI. You should and you can. You might consider helping this project, however, to help create more elaborate interfaces should the need arise.\n\nBUI relies on several core principles:\n\n- An interface should not break or require any change in code when porting to a new platform. Thus, BUI is compatible at least with Linux, Mac OS X and Windows platforms.\n- A GUI toolkit perfectly accessible on Windows might break accessibility on Linux or Mac OS X. Therefore, BUI might choose a different toolkit depending on the user's environment, with the developer's permission.\n- Design and control should be separated: no more code to create interfaces should be necessary. Designing beautiful interfaces is, after all, a work for the designers, not for the developers. Developers should focus on the user interactions (that is, how to handle a mouse press on this button, or what to do if some text is typed in this field).\n- A graphical user interface should be easy to test (in unittests for instance). The stability of the user interface should be a core concern of the developer.\n\nThese simple concepts make for an interesting (and inovative, to some extent) approach to creating interfaces with BUI.\n\n## Installation\n\nTo install BUI, you should simply run `pip`:\n\n pip install bui\n\n## Brief example\n\nHere is a basic usage of BUI. This example is briefly explained just below. To test this script, place it in any file and run it with Python, having installed BUI and a supported GUI toolkit:\n\n```python\nfrom bui import Window, start\n\nclass HelloBUI(Window):\n\n \"\"\"Class to represent a basic hello world window.\"\"\"\n\n layout = \"\"\"\n \n \n \n What is it?\n Quit\n \n \n\n