apa kah itu Urwid ??
Urwid adalah console user interface libarary untuk Python. Urwid dirilis di bawah GNU Lesser General Public License dan itu mencakup banyak fitur yang berguna untuk pengembangan aplikasi teks konsole.
Feature :
*fluid interface, even during a change of window size housing the console
*Display 'web' available (using Apache and CGI)
*compatibility with multiple encodings: UTF-8 encoding, 8 bits, CJK
* screenshots HTML easy
* boutons, checkj boxes et boutons radios buttons, boxes and radio buttons checkj
* Simple markup for setting text attributes Simple markup for setting text attributes
* Powerful list box that handles scrolling between different widget types Powerful list box scrolling Between That handles different widget types
* List box contents may be managed with a user-defined class List box contents May Be Managed With A user-defined class
* Flexible edit box for editing many different types of text Flexible edit box for editing Many different types of text
* Buttons, check boxes and radio boxes Buttons, check boxes and radio boxes
* Customizable layout for all widgets Customizable layout for all widgets
* Multiple text alignment and wrapping modes built-in Multiple text alignment and wrapping modes built-in
* Ability create user-defined text layout classes Ability create user-defined text layout classes
Known Issues:
*To display exotic characters, python should have linked to the library ncursesw
Software using urwid
* Hachoir binary stream viewer/editor Chopper binary stream viewer / editor
* Pymissile USB missile launch controller Pymissile controller USB Missile Launcher
* Speedometer bandwidth monitor Speedometer Bandwidth Monitor
* stsci_python astronomical data analysis modules stsci_python astronomical data analysis modules
* Thousand Parsec game development framework Thousand Parsec game development framework
Kalian ingin melihat keampuhannya .... ?
ok ini hanyalah sedikit example screen shoot dari saya .....
1)High Color Modes
Simple ....kalian bisa melihat tutorialnya di sini
Code:
http://excess.org/urwid/tutorial.html2)Text Editor
Urwid example text editor yang cocok untuk text tab dan flowing text
Usage:
edit.py file
kalian bisa mendownload code nya di sini
Code:
http://excess.org/urwid/browser/edit.py3)Palette Test
Menunjukkan pengaturan yang tersedia latar depan dan latar belakang
dalam monokrom, 16 warna, 88 warna dan mode warna 256.
kalian bisa mendownload code nya di sini
Code:
http://excess.org/urwid/browser/palette_test.py4)Urwid example fibonacci sequence viewer / unbounded data demo :
Contoh Urwid fibonacci urutan data penampil / tak terbatas
Fitur:
- Daftar kustom walker kelas untuk browsing himpunan tak terhingga
- Mode wrap custom "numerik" untuk wrapping angka ke kanan dan bawah
kalian bisa melihat code nya di sini :
<code>http://excess.org/urwid/browser/fib.py</code>
5)Urwid BigText widget.