A full-featured console (xterm et al.) user interface library
Project description
Urwid
About
Urwid is a console user interface library for Python on Linux, OSX, Cygwin or other unix-like OS and partially supports Windows OS (see below).
It includes many features useful for text console application developers including:
Applications resize quickly and smoothly
Automatic, programmable text alignment and wrapping
Simple markup for setting text attributes within blocks of text
Powerful list box with programmable content for scrolling all widget types
Your choice of event loops: Twisted, Glib, Tornado, asyncio, trio, ZeroMQ or select-based loop
Pre-built widgets include edit boxes, buttons, check boxes and radio buttons
Display modules include raw, curses, and experimental LCD and web displays
Support for UTF-8, simple 8-bit and CJK encodings
24-bit (true color), 256 color, and 88 color mode support
Compatible with Python 3.7+ and PyPy
- Home Page:
Installation
To install using pip
pip install urwid
For advanced functionality extra requirements need to be installed. Example for ZeroMQ event loop and LCD display:
pip install urwid[serial,zmq]
Alternatively if you are on Debian or Ubuntu
apt-get install python3-urwid
Windows support notes
Not supported:
Terminal widget and all related render API (TermCanvas, TermCharset, TermModes, TermScroller)
Any file descriptors except sockets (Windows OS limitation)
ZMQEventLoop.
Special requirements:
Extra libraries required for curses display support:
pip install urwid[curses]
CursesDisplay incorrectly handles mouse input in case of fast actions.
Only UTF-8 mode is supported.
Testing
To run tests locally, install & run tox. You must have appropriate Python versions installed to run tox for each of them.
To test code in all Python versions:
tox # Test all versions specified in tox.ini:
tox -e py39 # Test Python 3.9 only
tox -e py39,py10,pypy3 # Test Python 3.9, Python 3.10 & pypy3
Supported Python versions
3.7
3.8
3.9
3.10
3.11
3.12
pypy3
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for urwid-2.5.0-cp312-cp312-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7af43e5457e13e4b29be0c6e027066e147fe05a49f1c86b59f72662d8c849e09 |
|
MD5 | a7d84f2aaf04b0cde8a2fbb9b4f29546 |
|
BLAKE2b-256 | 6e22d2daeb60be749956ab172d9e90b6f6c7f3cc85a6b6623176899dd7b69382 |
Hashes for urwid-2.5.0-cp312-cp312-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee3ce28c59934e59b604aa5fd309681386748a3f84337eb546fd74b691b22f1a |
|
MD5 | 114d6a830b878206d3acf13889f7f0fc |
|
BLAKE2b-256 | 307db88cd704e424bd0a1daa01b6d5720ecee3d1b3a0895c28ccf16e3cece106 |
Hashes for urwid-2.5.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d1685b41886e2ac0bdf16fe647dada4265f2a19ec9d415b83d10dc33acca8ae |
|
MD5 | c4ca8f71d41ce5d0dd0228c696d6ad62 |
|
BLAKE2b-256 | d99c589b3871b5cf7901dee95684783b97076c34b371a953859a06a1c2bdfc27 |
Hashes for urwid-2.5.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e34bbcd06d2bfcc8f33a926f53b419c63732bf4a678a8952f2f4fa60771665b |
|
MD5 | f36171e6ac0fab31319819809e7177b0 |
|
BLAKE2b-256 | 64aef9ba77b5a7d59177a3bd69c242d50c2d2c885b7d3aa7afc9c6d0fbb9b8e4 |
Hashes for urwid-2.5.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6cc2b5467f1bceb89e5bbe680f5bd5c23158a734c2ad22272209376696113e4e |
|
MD5 | 5e7df2b5cf77bb9012022732a9831847 |
|
BLAKE2b-256 | 3f3c08cebe9697734d22f3347d54cfb96420c9037821434c0876ffc3e2c9e130 |
Hashes for urwid-2.5.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb62932c05213b21672363d6d768c1421039ee46ee268dd105ae2296fd27a934 |
|
MD5 | afa6c5b4b785b372b6e6a0ac644ddd71 |
|
BLAKE2b-256 | 1d2987d797bca42865ddad7e7aa5dea135ae0648f4a76ecdad5b2751de529995 |
Hashes for urwid-2.5.0-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 363b01b32d72868473d726f6072885005c1754653904a4c2a6a46e22034c1c79 |
|
MD5 | 0f422f6316b4557680a4fb33ec42b70f |
|
BLAKE2b-256 | 76e3a439aa0b3fe250596defe8147d47ec53d54eb312ac7904e6f589e78f6152 |
Hashes for urwid-2.5.0-cp312-cp312-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2c978ab30ab097c8d1ba2c16dab6923f5efc25026854597e59b2b2ee6f03b6a |
|
MD5 | 2b496efdd856ba600c268a5bb3c09ec5 |
|
BLAKE2b-256 | 5ba80a815e41a092275f2f9907fa7aa983839efc45e51e353912d7a0142df46b |
Hashes for urwid-2.5.0-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b0ea46e5dc758fb7d9eda6d86db3d5a9096d68c9e27c7967e451609ed000301 |
|
MD5 | 18b4779dc1f27ed2d912e120b346765a |
|
BLAKE2b-256 | 044b3d0cc8357cea91a698235f6d2d37117f7c8bbd7401410c4e7957c13fd3cc |
Hashes for urwid-2.5.0-cp311-cp311-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65996b5b19e3804c6dd695a7df04aaafbe00660ccd7b5b5987a385f303351e48 |
|
MD5 | 068c2c84a9f0abf2d73b7ad134bdfd0f |
|
BLAKE2b-256 | d556ecfc6f9198b07714da4c729940fe1cea64a676613bf3235f08d1a9b3b327 |
Hashes for urwid-2.5.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfa929a1184c0d0e595c711d31d4c5c65dafd1efccb080f2b78e19858b9631e7 |
|
MD5 | db490f437bd90e20c91ae46dd7ab3b28 |
|
BLAKE2b-256 | 8dd22bbc73799a7908efd27b279c9d3187fe4bd0f21d52c3d362843f60275be9 |
Hashes for urwid-2.5.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8823b0a16ecb9b6d872ed3999b09a1c0bda9edf0f680b4e151e1b345b28da110 |
|
MD5 | cef0b364894531236f888ca3e1fc2eaa |
|
BLAKE2b-256 | 865ee8349ac4dcbca1bf99367bd4012f0e0d0215a8ccbda5d98b6a0d0eaf890f |
Hashes for urwid-2.5.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f42d449b1ad53394f64078ed116bf0dbdede57e1528c1dc12dd6a2dd83e96851 |
|
MD5 | 60c2c91e1ebd1d97289bf79371403c41 |
|
BLAKE2b-256 | 67d51a2ca782f5b894b516c09e66d83064782a9fc5f4715a79296687a812f21b |
Hashes for urwid-2.5.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76ad1b22233fc3ef0ae0aa82eeb33ba97ee1273cf4f7b22d8c5eaa8d02366e03 |
|
MD5 | 9f138d6783d09398be8d8e5895c07f96 |
|
BLAKE2b-256 | 628a424671621db839ee204fd7837789a61a08832a0005ea555bb3483a1c30dc |
Hashes for urwid-2.5.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57e60e0e2b1b16b424f1df2e26fa8b1c990e365c1f53386ab549eb7530b752f3 |
|
MD5 | 1c4cc3dd79a4ecf9b6740b583dab6359 |
|
BLAKE2b-256 | 127e9af1b7c02e2b483e0fb12fe451e983935113a0d3e9bb21e262964507915f |
Hashes for urwid-2.5.0-cp311-cp311-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 001005722bece377f408c42e5dd21b0aade2d7ba4fcaa694f26728840b62634f |
|
MD5 | 7b9b27b0117fc5a994b3b926959a174a |
|
BLAKE2b-256 | bad87e89e64e1feba0b598bdbc2d6a9495ffbcaf5708874b82135b781ef6784e |
Hashes for urwid-2.5.0-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae93e48301ce9e4b36f5687fb0e67d394624f295626a064a4950810ee5aae208 |
|
MD5 | d166aabd608b0e20b8730d0ec0d47c16 |
|
BLAKE2b-256 | 1994e1676d23a5b9e8742b80b89d04afce1dc40261cc0727b2cabd99b55f622a |
Hashes for urwid-2.5.0-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbf11f031eb5f73e5044a6c2d38c51590715be733a34d61f48434700f83311a6 |
|
MD5 | 19e5d32139d9d0fb03ca12b090953c13 |
|
BLAKE2b-256 | c973e55518cd1f606afb28569d94db5693fc169aa4481267eafd655fda1a6d44 |
Hashes for urwid-2.5.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49624180084734e4668508d9174f7e78d77bb2b0d78bc9d81d3bb9b04a78e45a |
|
MD5 | 278553bf61c0632e40475d3678413b30 |
|
BLAKE2b-256 | d745bd9c0ac3c5a32c749b71d801d3a61acb42b04df20ba781cb809770523e7f |
Hashes for urwid-2.5.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f737ddbfb83283e1f4f7f47551eb6b2290c8d761b0cb3eb302922efd94a965f |
|
MD5 | 1b4428940a940858271ec435afea89ab |
|
BLAKE2b-256 | 9a6555b9e759f00cfc2fd2d0cc04a10bb3ee209652bdd130744f9c4f259752a1 |
Hashes for urwid-2.5.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3080abec1ab6782e161b64f9ff13a31b0d692a01148f27faf11d27b2d7522e4 |
|
MD5 | be3915af39f3f547eebc507a615ba955 |
|
BLAKE2b-256 | 6312a06111fd8b27dc6f6336a192b024de6dac6e76bb666bc0163f97749e3bad |
Hashes for urwid-2.5.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a687cd6aa313a94c7aa191f6b2867348f6854f45b428cb0b10c6ea1ac8179a2f |
|
MD5 | 0e5d88f9f79ceb50dad583e222297775 |
|
BLAKE2b-256 | f39f19bc164a5925b11d0938358b5cc479970831c2f5da4829d4f938fff1b2ee |
Hashes for urwid-2.5.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4a49ba635b5e606750f180d6b44b6b899deaa20e7b4e9b0ffede8024e21c30c |
|
MD5 | a74fa390c9438d1ca244765c0b4fea41 |
|
BLAKE2b-256 | 976e0ff14eca627065cf80675f6aa8a472476bbd29de0613fca84f3842c5b1c1 |
Hashes for urwid-2.5.0-cp310-cp310-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e97b7ea875a46c7360f4870913cd90a1ef7d666e31f61a5d131e947473957705 |
|
MD5 | 8590d1b572c62224d2965b5f981b32fc |
|
BLAKE2b-256 | 8c383dc51333a6c9560094e14b52438582d142c72febf2cfe1cc402b283ed50a |
Hashes for urwid-2.5.0-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c95d982ece16e35302edaa5c83f8081346eb7e59d295185bf4283ca66ba809a |
|
MD5 | 660b9a0f223e07625b0da893d3009a79 |
|
BLAKE2b-256 | 672273587fd14a026a4c0f18238d665284b52620f99969dd8c69dd4b7f8ce4a2 |
Hashes for urwid-2.5.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b5046cc3069064caf046453373422224159dd41eb57b90f8d01c914fd4b86d5 |
|
MD5 | 14ccf31c39360d5781d71bebe0f596fd |
|
BLAKE2b-256 | 3cc82f5ed32ac7d78e4722db28a5644c2cca46b942be5c5750611f88c170717b |
Hashes for urwid-2.5.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf1949ab01eac54575c795de9ac461b71c2bacbc7e9309b23946a47cced828bd |
|
MD5 | f9b6cf47c87877a90ef6133029fd135c |
|
BLAKE2b-256 | 2209779ddb027bb24ff56882c2c8f8c7c1bb5fea9b166d8cbf5359583c6e125d |
Hashes for urwid-2.5.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7624c94fc47234fe37b2208aac19662989c85f791327fbad08ba93ece68e2870 |
|
MD5 | 3a7bbdad49a48291316c58ae730160aa |
|
BLAKE2b-256 | cb37f1ad11d60c13c81265c6861a61348f7bd1ea150bab4cdc2564298a933489 |
Hashes for urwid-2.5.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d96830f07b90a25e80f6042980894d6270bbf890c7ce3b623aded62deff59946 |
|
MD5 | 0c937fb174cebea64aeabd5ab5be3e62 |
|
BLAKE2b-256 | ca7af5fb6a4aadba24fa1f426778a90a15c817793a02235241318c17983201bd |
Hashes for urwid-2.5.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd6bfbd91ea3a3c6ef6fb354f9c036b59e367c410d136fdf3903c4d2d874f1af |
|
MD5 | 02e98592419ba26504881afe353d9c96 |
|
BLAKE2b-256 | eaea550bc7abb1ac9ba421f32cb8b6a643d884ea6b4895181d25461950574955 |
Hashes for urwid-2.5.0-cp39-cp39-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6918865dd09247765627186750fb21c1fee2dbbbfd0ebf4f3feacf939baa2bba |
|
MD5 | 9e367e453c7f96ace6c1cf1b60360482 |
|
BLAKE2b-256 | 7ef4902196b3c8048e7cce1c1db1b2c70988a3210f9eb504d1609830c30cccf5 |
Hashes for urwid-2.5.0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7603a596b91d4bf8423c87758de938e03e852ae4ff2f813dd5424eacb482aa32 |
|
MD5 | ab2f8faa8a5a0b668f459e04a9b39381 |
|
BLAKE2b-256 | d1d5a1076c374d8c98959dc5d25c70ec22efb2c202e84fc26f01a0348e8f9e13 |
Hashes for urwid-2.5.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | da6124c6d8af0a502b679f22b736acc500cd760026f432b938c9e43b0bdba70e |
|
MD5 | 15a99cce888d211da3c6b2f5dd73dc0d |
|
BLAKE2b-256 | 91072afcb2e9daf1b74f10dbf892b53d5573586db01fe8d4c64d83acfe7c52f3 |
Hashes for urwid-2.5.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cefd95632e475d0c2156711e3b9c742d62d93234a016de8cf5578193cc675fd9 |
|
MD5 | e20fe3113b9f547bf03363d04c9dd798 |
|
BLAKE2b-256 | 533bdbe0df117047636dfd6ba948397c87cf5159475fa4f5a8796bffa36eb880 |
Hashes for urwid-2.5.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b18069ee01d116a2737863034334ff5e4d2e7c3bcdb1421465a3479838675ae |
|
MD5 | 6578b0fc10cc2c2f2dfa691dcebf605d |
|
BLAKE2b-256 | c3fcc339419b8cc5c37350f6166475c67a7d4a277bed1f4710396a5bc456ced2 |
Hashes for urwid-2.5.0-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43cf0ea7f14b33392db0e2310c6c051d9ef8b898ee8e8dd869a3c5a474ffc3fc |
|
MD5 | e53fa0de83b7d6f27597b9cbf0a8e666 |
|
BLAKE2b-256 | f5f9ffd2f29ffd6e83b481af237eabdfca2364def6ab5eafbea320be9ba14541 |
Hashes for urwid-2.5.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3ae85efc1827432b4caa4ef6a5b3248688416ebc4f3988e9d7ecf0aa45e5841 |
|
MD5 | e69864a4a191a82b305a5aa9ff3c658f |
|
BLAKE2b-256 | a6e4c0b9cb682994f6aea35652145f03f9a74d7e28f2a4bcdd30e1763da5c312 |
Hashes for urwid-2.5.0-cp38-cp38-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2da5beb32685993a50a4e7675e16de6b595d65740bf32292cd21e3c2613731ac |
|
MD5 | f0918d1ff22adaed1aa7cc354d08f1ce |
|
BLAKE2b-256 | 022ec92545fc2d38b1e4dea2ed3a195e8a46ff393fe502379e8325933b0df5da |
Hashes for urwid-2.5.0-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9d61b33d9f8acd3154888d2cfebdbb3801dc0803e4e57c06aab46116f7424bb |
|
MD5 | c7afd627c456636aa0024366fe6dae5a |
|
BLAKE2b-256 | 6a32b1e66dd77602ed7630cd6da870af7a78d5d8a4fd95c0ffd0f721df06c469 |
Hashes for urwid-2.5.0-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7afe82571a4cdebb49da0666818a25eb00b1ed5b556d5f9c3240785af8227477 |
|
MD5 | 1d1810d94bdf1c763853d47f6bb552ca |
|
BLAKE2b-256 | d8d992473e5bf799a166e7eb1c0688e83f23b4d9d70282ac6c913b085dd97821 |
Hashes for urwid-2.5.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24b5cc41d0a66e1f7a2776f0ca3dea3fb844a3d5f5fda3bedc98eb9baf9fe47d |
|
MD5 | 170d804352ca7a525b22ac9ebec3b440 |
|
BLAKE2b-256 | df095695d085d6bccb9e423643aa24aa8c605d59b74bde5eee958df2a7432e83 |
Hashes for urwid-2.5.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4130001260d6f151dddae1a312d62ba860e5913bebdebce8727c4768701cbd3e |
|
MD5 | 72c78e187f70bb53796024a908303963 |
|
BLAKE2b-256 | c9cb058ea647cf060391406d341b084e1720340b266a088411af6b6ff2633e9a |
Hashes for urwid-2.5.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8aa4849193f27e81d7c19137da3d31043de154742df138d81a646fee7ff84f55 |
|
MD5 | ef9cd9ebaa02782355c8eafb92732039 |
|
BLAKE2b-256 | 8d1e247dd246763ef359dfb8e6c5aefb2c5f32043558759ef8ae87ef2edaf608 |
Hashes for urwid-2.5.0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf380a5d797ec9eca2b8a84fa2a1b4510d720e01f7af9c6db3c74c6b64665303 |
|
MD5 | 49ab26229489435115db7c1e11af62fc |
|
BLAKE2b-256 | 8f488d3d817c1ee08e18399dc9e927c83e668f195b739cf8cef1c9e9166638e8 |