[{"data":1,"prerenderedAt":297},["ShallowReactive",2],{"project-19252276":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":28,"sentiment":29,"stance_mix":30,"scored_comments":35,"aspects":36,"strip":41,"post_text":42,"what":43,"said":80,"maker_in_thread":181,"shape":190,"grid":195,"attempts":260,"same_week":261,"maker_shows":33,"maker_hidden":289,"reader_version":290,"card":291},"19252276","Bullet","Beautiful Python List Prompts Package","title","Show HN: Beautiful Python List Prompts Package","https:\u002F\u002Fgithub.com\u002FMckinsey666\u002Fbullet","github.com","Mckinsey666",1551160241,2019,189,31,209,2195,10,"notable","dev_tools","command line prompts","library",[24,25,26,27],"python","cli prompts","terminal menu","list selection","mixed",0.067,{"positive":31,"neutral":32,"mixed":33,"critical":34},5,6,1,3,15,{"idea":37,"performance":38,"design":40},{"positive":34,"critical":33},{"positive":39,"critical":33},0,{"positive":33,"critical":33},[39,39,39,39,31,39,34,39,39,34,39,34,39,39,39,39,39,31,33,34,31,33,39,39,34,33,31,31,39,34,34],null,{"problem":44,"audience":58,"pricing":42,"motivation":42,"time_to_build":42,"stack":69,"openness":78,"stage":79,"team_size":79},{"value":45,"source":46,"evidence":47},"Interactive list and choice prompts for command line Python scripts","inferred",[48,50,54],{"id":49},"post",{"id":51,"by":52,"text":53},"19252425","lawik","I don't quite follow you here. It is a library for making some simple UI for command line applications. If you have a command line application in python you could implement this…",{"id":55,"by":56,"text":57},"19252569","benbristow","It’s just a command line library for spliffying up command line interfaces. Where does React come into this? That’s for the web...",{"value":59,"source":46,"evidence":60},"Python developers writing command line scripts",[61,65],{"id":62,"by":63,"text":64},"19252403","fermentation","I can think of a lot of simple scripts that I could easily plug this into. When I’m writing a little script to do something for me, the last thing I want to do is write any sort…",{"id":66,"by":67,"text":68},"19253457","Sean1708","Oh god the amount of scripts I have that do something like: ``` while True: for i, item in enumerate(list): print(i, item, sep=\" - \") choice = input() if valid(choice): break ```…",[70],{"value":71,"source":46,"evidence":72},"Python",[73,74],{"id":49},{"id":75,"by":76,"text":77},"19257835","slurryer","termios issue. I installed this via pip in python 3.7 under windows 10 and got an error about the termios package not being available. But trying to install termios via pip…","open_source","unknown",{"praise":81,"objections":95,"requests":122,"questions":147,"alternatives":155},[82],{"value":83,"source":84,"evidence":85},"Looks nice and useful for simple CLI scripts","commenter",[86,90,94],{"id":87,"by":88,"text":89},"19252373","mr_cyborg","I like this a lot. Will definitely try it out at some point.",{"id":91,"by":92,"text":93},"19256468","alex_g","This is awesome, I've been using Pick, but this looks a lot nicer!",{"id":62,"by":63,"text":64},[96,104,115],{"value":97,"source":84,"evidence":98},"Does not work on Windows because termios is unavailable",[99,100],{"id":75,"by":76,"text":77},{"id":101,"by":102,"text":103},"19257939","rcfox","The readme only claims to support Linux. termios is a built-in package, but not for Windows. https:\u002F\u002Fdocs.python.org\u002F3\u002Flibrary\u002Ftermios.html",{"value":105,"source":84,"evidence":106},"Calling it beautiful is a marketing claim",[107,111],{"id":108,"by":109,"text":110},"19252508","black-tea","If there's one trend I can't stand it's developers claiming that their own projects are \"beautiful\".",{"id":112,"by":113,"text":114},"19256681","uryga","i'd say \"beautiful\" in this context is shorthand for \"built with attention towards aesthetics\", which is often not the case for programmer tools like this",{"value":116,"source":84,"evidence":117},"Unclear real use cases beyond a toy project",[118],{"id":119,"by":120,"text":121},"19252378","whalesalad","What are the use cases? This looks like a fun project without any real applications. A react component makes sense because it hooks into an existing ecosystem but how would…",[123,130,140],{"value":124,"source":84,"evidence":125},"Add more widgets such as checkboxes and forms",[126],{"id":127,"by":128,"text":129},"19252449","Evidlo","Looks cool. I'd like to see more widgets though, like a checkbox or simple form widget. One package just for a radio list is too much like the npm way of doing things.",{"value":131,"source":84,"evidence":132},"Support choose-many questions and chaining prompts",[133,137],{"id":134,"by":135,"text":136},"19252556","lars512","This is really nice. I'm working on a similar project right now, trying to hook together a few console UI pieces like this into a coherent annotation tool:…",{"id":138,"by":11,"text":139},"19253430","Thanks for the feedback! Will definitely add more features to this package. Wrapping up several prompts together is a great idea too, thanks for the insight.",{"value":141,"source":84,"evidence":142},"Support greyed-out deactivated choices and validation",[143],{"id":144,"by":145,"text":146},"19253190","nmstoker","First thoughts were that this was handled by Prompt Toolkit, but it's actually a slightly different case to the auto complete which that one offers:…",[148],{"value":149,"source":84,"evidence":150},"Is the project still maintained, as with pythondialog?",[151],{"id":152,"by":153,"text":154},"19255255","mlevental","seems like this isn't maintained?",[156],{"value":157,"source":84,"evidence":158},"Python Dialog, Prompt Toolkit, Gooey, pick, cutie, questioner, quick",[159,163,164,168,172,176,177],{"id":160,"by":161,"text":162},"19252806","1f97","if you want to use python together with dialog to build cli menus, i recommend using http:\u002F\u002Fpythondialog.sourceforge.net\u002Fdoc\u002F. i've been using it for a project at work and it's…",{"id":144,"by":145,"text":146},{"id":165,"by":166,"text":167},"19253578","BerislavLopac","Well there is Gooey, FWIW: https:\u002F\u002Fpypi.org\u002Fproject\u002FGooey\u002F",{"id":169,"by":170,"text":171},"19260532","wonderfuly","I've previously built a similar package, much simpler: https:\u002F\u002Fgithub.com\u002Fwong2\u002Fpick",{"id":173,"by":174,"text":175},"19270969","spark888","There is similar project https:\u002F\u002Fgithub.com\u002FKamik423\u002Fcutie for someone who is interested in cli dialogs.",{"id":134,"by":135,"text":136},{"id":178,"by":179,"text":180},"19255191","sikhnerd","Possibly https:\u002F\u002Fgithub.com\u002Fszsdk\u002Fquick ?",{"comments":31,"answered":39,"key":182},[183,186,187],{"id":184,"text":185},"19252604","Gee, this is legit. Gave me some insights. Thanks a lot :)!",{"id":138,"text":139},{"id":188,"text":189},"19253923","Hey HN I've added some new features including a prompt wrapper object to wrap the UI components together. Please check it out:…",{"commenters":191,"max_depth":192,"maker_replies":31,"first_comment_mins":193,"lifespan_hours":194},24,4,35,55,[196,200,202,204,206,208,209,212,214,216,218,220,223,224,226,227,228,230,233,236,238,240,243,247,249,251,254,255,256,258,259],[197,39,39,198,199,39],"19252576","other\u002Fneutral\u002Fidea","ethanpil",[184,39,39,201,11,33],"maker\u002Fpositive\u002Fnone",[160,39,39,203,161,39],"other\u002Fneutral\u002Fnone",[152,39,39,205,153,39],"other\u002Fneutral\u002Fdocs",[134,33,31,207,135,39],"project\u002Fpositive\u002Fidea",[138,33,39,201,11,33],[144,210,34,211,145,39],2,"project\u002Fneutral\u002Fidea",[188,34,39,213,11,33],"maker\u002Fneutral\u002Fnone",[215,34,39,201,11,33],"19253930",[127,192,34,217,128,39],"project\u002Fmixed\u002Fidea",[219,192,39,213,11,33],"19252506",[221,31,34,211,222,39],"19253000","rajasimon",[165,31,39,203,166,39],[225,31,39,203,153,39],"19254185",[178,31,39,203,179,39],[169,32,39,198,170,39],[173,229,39,198,174,39],7,[87,231,31,232,88,39],8,"project\u002Fpositive\u002Fnone",[75,234,33,235,76,39],9,"project\u002Fcritical\u002Fperformance",[101,234,34,237,102,39],"project\u002Fneutral\u002Fperformance",[91,18,31,239,92,39],"project\u002Fpositive\u002Fdesign",[108,241,33,242,109,39],11,"project\u002Fcritical\u002Fdesign",[244,241,39,245,246,39],"19252837","commenter\u002Fneutral\u002Fnone","scbrg",[248,241,39,245,109,39],"19253893",[112,241,34,250,113,39],"project\u002Fneutral\u002Fdesign",[119,252,33,253,120,39],12,"project\u002Fcritical\u002Fidea",[62,252,31,207,63,39],[66,252,31,207,67,39],[257,252,39,245,120,39],"19255995",[51,252,34,211,52,39],[55,252,34,211,56,39],[],[262,266,271,275,279,284],{"id":263,"name":264,"points":265,"category":20},"19248723","subsync",583,{"id":267,"name":268,"points":269,"category":270},"19254828","Zero",513,"infrastructure",{"id":272,"name":273,"points":274,"category":20},"19216428","ICONSVG",227,{"id":276,"name":277,"points":278,"category":20},"19224141","Material Kit",193,{"id":280,"name":281,"points":282,"category":283},"19257241","Hack Club Bank",141,"web_saas",{"id":285,"name":286,"points":287,"category":288},"19234664","Portal Spaces",95,"productivity",false,"v2",{"id":292,"name":5,"line":6,"ai":289,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":293,"top":18,"kw":294,"maker":11,"domain":10,"tier":19,"attempts":39,"strip":295,"url":9,"mix":296,"praise":83,"objection":97,"sub":21},19252276,0.07,[24,25,26,27],"0000503003030000051351003155033",[31,32,33,34],1794036575169]