Build gorgeous, retro terminal apps in pure Python - with zero dependencies.Remember the blue installer screens of classic Linux - bordered windows floating on bright blue, drop shadows, chunky buttons you Tab between? That "Newt" look never stopped being good. It just got hard to build. CookieUI brings it back, and this book teaches you every inch of it.CookieUI is a zero-dependency (Python standard library only) terminal-UI library: a complete application is a class with one method, a progress UI is a single line, and the whole thing re-themes from Newt blue to a dark Catppuccin palette without touching your layout.What you'll build- A live process monitor- A two-pane file commander (Norton Commander-style)- Your own widgets and your own visual themes- The headless tests that prove all of it worksInside - 237 pages, 59 chapters, 11 parts- Foundations - how a terminal becomes a UI, from a grid of cells and a stream of keys- Views, windows, and layout - arrange by proportion and order, never by hand-counted coordinates- The widget toolbox - the nine widgets that cover almost every interface- Dialogs - the whiptail tradition reborn as one-line methods- The CookieUI Magic - the four automatic behaviors that make the library feel effortless- Templating - recolor, re-skin, and wholly redesign the look- Building your own widgets, two full capstone applications, and the production craft of packaging and shipping your toolWho it's for- Python developers who have never built a terminal interface - you are the primary audience; everything starts from zero.- Anyone who knows curses, urwid, or Textual and wants the classic windowed look with far less ceremony.You need some Python - a class and a function should not frighten you - and nothing else. No C, no JavaScript, no prior UI programming.The code worksEvery code listing in the book is mechanically compiled and executed against cookieui 1.0.1 before it is printed. What you read is what runs. The library itself is free and released into the public domain; this book is the long-form guide to mastering it.P.S. - the little coral dog on the cover is Cookie, one of the author's dogs. The library is named after her.
AmazonPagina's: 237, Paperback, Independently published
Prijshistorie
* Prijshistorie bevat geen data van Amazon, Amazon Marketplace.
Prijzen voor het laatst bijgewerkt op: