Package: urwid
UrwidAboutUrwid 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 smoothlyAutomatic, programmable text alignment and wrappingSimple markup for setting text attributes within blocks of textPowerful list box with programmable content for scrolling all widget typesYour choice of event loops: Twisted, Glib, Tornado, asyncio, trio, ZeroMQ or select-based loopPre-built widgets include edit boxes, buttons, check boxes and radio buttonsDisplay modules include raw, curses, and experimental LCD and web displaysSupport for UTF-8, simple 8-bit and CJK encodings24-bit (true color), 256 color, and 88 color mode supportCompatible with Python 3.7+ and PyPyHome Page:http://urwid.org/InstallationTo install using pippipinstallurwidFor advanced functionality extra requirements need to be installed.
Example for ZeroMQ event loop and LCD display:pipinstallurwid[serial,zmq]Alternatively if you are on Debian or Ubuntuapt-getinstallpython3-urwidWindows support notesNot 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:pipinstallurwid[curses]CursesDisplay incorrectly handles mouse input in case of fast actions.Only UTF-8 mode is supported.TestingTo run tests locally, install & runtox. You must have
appropriate Python versions installed to runtoxfor
each of them.To test code in all Python versions:tox# Test all versions specified in tox.ini:tox-epy39# Test Python 3.9 onlytox-epy39,py10,pypy3# Test Python 3.9, Python 3.10 & pypy3Supported Python versions3.73.83.93.103.113.12pypy3AuthorsCreatorwardiMaintainersand3rson,tonycpsu,ulidtko,penguinologContributors1in7billion,abadger,agrenott,akorb,alethiophile,aleufroy,alobbs,amjltc295,and-semakin,andrewshadura,andy-z,anttin2020,Apteryks,Arfrever,AutoAwesome,belak,berney,bk2204,BkPHcgQL3V,bwesterb,carlos-jenkins,Certseeds,Chipsterjulien,chrisspen,cltrudeau,Codeberg-AsGithubAlternative-buhtz,cortesi,d0c-s4vage,derdon,dholth,dimays,dlo,dnaeon,doddo,douglas-larocca,drestebon,dsotr,dwf,EdwardBetts,elenril,EnricoBilla,extempore,fabiand,floppym,flowblok,fmoreau,goncalopp,Gordin,GregIngelmo,grzaks,gurupras,HarveyHunt,Hoolean,hukka,hydratim,ids1024,imrek,isovector,itaisod,ixxra,jeblair,johndeaton,jonblack,jspricke,kedder,Kelketek,KennethNielsen,kesipyc,kkrolczyk,Kwpolska,Lahorde,laike9m,larsks,lfam,lgbaldoni,lighth7015,livibetter,Lothiraldan,Mad-ness,madebr,magniff,marlox-ouda,mattymo,mdtrooper,mgk,mimi1vx,mobyte0,MonAaraj,MonthlyPython,mountainstorm,mselee,mwhudson,naquad,nchavez324,neumond,nolash,ntamas,nyov,ocarneiro,okayzed,pquentin,rbanffy,ReddyKilowatt,regebro,renegarcia,rianhunter,roburban,RRMoelker,rwarren,scopatz,seanhussey,seonon,shadedKE,sithglan,Sjc1000,sporkexec,squrky,ssbr,techdragon,thehunmonkgroup,thisch,thornycrackers,TomasTomecek,tompickering,tony,ttanner,tu500,uSpike,vega0,vit1251,waveform80,Wesmania,xandfury,xndcn,zhongshangwu,zrax