[{"data":1,"prerenderedAt":237},["ShallowReactive",2],{"project-10608119":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":33,"aspects":34,"strip":40,"post_text":43,"what":44,"said":91,"maker_in_thread":159,"shape":166,"grid":171,"attempts":203,"same_week":204,"maker_shows":42,"maker_hidden":229,"reader_version":230,"card":231},"10608119","HtmlPy","HTML5-CSS3-JavaScript Based GUI Library in Python","title","Show HN: HtmlPy – HTML5-CSS3-JavaScript Based GUI Library in Python","http:\u002F\u002Famol-mandhane.github.io\u002FhtmlPy\u002F","amol-mandhane.github.io","manamol296",1448141799,2015,79,17,337,2565,14,"notable","languages","gui library","library",[24,25,26,27],"python gui","qtwebkit","html5 desktop app","pyside","roasted",-0.316,{"positive":31,"neutral":32,"mixed":31,"critical":32},0,4,8,{"idea":35,"design":36,"execution":37,"performance":39},{"positive":31,"critical":31},{"positive":31,"critical":31},{"positive":31,"critical":38},2,{"positive":31,"critical":38},[41,31,41,42,31,42,42,42,31,31,31,31,31,31,41,41,31],3,1,null,{"problem":45,"audience":55,"pricing":43,"motivation":43,"time_to_build":43,"stack":60,"openness":89,"stage":90,"team_size":89},{"value":46,"source":47,"evidence":48},"Building standalone desktop GUIs using web technologies instead of native toolkits","inferred",[49,52],{"id":50,"by":11,"text":51},"10610180","This library is just a wrapper on a rendering engine. It doesn't replace standard HTML\u002FCSS. You can use it to create UIs for standalone applications using HTML\u002FCSS, Bootstrap,…",{"id":53,"by":11,"text":54},"10610536","As @fernly said, Qt is a cross-platform GUI library and htmlPy isn't bringing anything extra in that field. htmlPy is meant for easy GUI development and integration with popular…",{"value":56,"source":57,"evidence":58},"Python developers making simple standalone apps, including Django apps","maker",[59],{"id":53,"by":11,"text":54},[61,66,78,85],{"value":62,"source":57,"evidence":63},"Python",[64],{"id":65},"post",{"value":67,"source":68,"evidence":69},"PySide","commenter",[70,74],{"id":71,"by":72,"text":73},"10609121","fernly","> htmlPy is a wrapper around PySide's QtWebKit library... Based on my experience using Qt (via PyQt) this is kind of puzzling, and the very limited doc doesn't do much to…",{"id":75,"by":76,"text":77},"10609416","zokier","It is somewhat comparable to Atoms Electron if you are familiar with that, but instead of having node.js backend this one has pyside backend.",{"value":79,"source":57,"evidence":80},"QtWebKit",[81,82],{"id":71,"by":72,"text":73},{"id":83,"by":11,"text":84},"10610157","The HTML-CSS-JS pages rendered by QtWebkit differ only slightly from those rendered by Firefox\u002FChrome. So the GUIs will be as good as the CSS\u002FJS behind it. I'll upload a few…",{"value":86,"source":57,"evidence":87},"HTML5, CSS3, JavaScript",[88],{"id":65},"unknown","prototype",{"praise":92,"objections":100,"requests":127,"questions":132,"alternatives":144},[93],{"value":94,"source":68,"evidence":95},"Looks like a lot of work and thought went into it",[96],{"id":97,"by":98,"text":99},"10608768","guiscreenshots","It looks like a lot of work and thought went into this library. I'd love to give it a shot except that I have no idea what the output might look like.",[101,105,113,120],{"value":102,"source":68,"evidence":103},"Uses QtWebKit, which is deprecated and unmaintained",[104],{"id":71,"by":72,"text":73},{"value":106,"source":68,"evidence":107},"Web-based GUIs use more memory and look less native",[108,112],{"id":109,"by":110,"text":111},"10609175","userbinator","Where an entire app is based on a Qt main window, it can display HTML-encoded or Javascript-encoded content in a QWebView widget. So it's another one of these \"web everything\"…",{"id":71,"by":72,"text":73},{"value":114,"source":68,"evidence":115},"Uses global state in example code",[116],{"id":117,"by":118,"text":119},"10613846","TeeWEE","When i saw the example code, the first thing that is see is the use of globals: ``` from main import app app.html ``` This is a reason i would never use a library like this.…",{"value":121,"source":68,"evidence":122},"No screenshots of GUIs made with it",[123],{"id":124,"by":125,"text":126},"10608636","markdown","I'd like to dig into this, but for all I know, it could produce horrible GUIs. Why isn't there even a single screenshot of a GUI made with this library?",[128],{"value":129,"source":68,"evidence":130},"Show screenshots of GUIs built with the library",[131],{"id":124,"by":125,"text":126},[133,140],{"value":134,"source":68,"evidence":135},"Why use this over plain HTML\u002FCSS or Bootstrap",[136],{"id":137,"by":138,"text":139},"10609341","siquick","Can someone explain why this is useful over standard HTML\u002FCSS or Bootstrap? Feels like I'm missing the point...",{"value":141,"source":68,"evidence":142},"What the output looks like",[143],{"id":97,"by":98,"text":99},[145,149,155],{"value":146,"source":68,"evidence":147},"Electron (Atom)",[148],{"id":75,"by":76,"text":77},{"value":150,"source":68,"evidence":151},"Qt native widgets",[152],{"id":153,"by":72,"text":154},"10610505","The irony is, Qt _IS_ a cross-platform GUI, where you build your UI once and it looks like Windows on Windows, Mac OS on Mac OS, and the look of whatever window manager on Linux.",{"value":156,"source":68,"evidence":157},"QtWebEngine",[158],{"id":71,"by":72,"text":73},{"comments":32,"answered":38,"key":160},[161,164,165],{"id":162,"text":163},"10610225","Output is pretty much same as HTML rendered by chrome. htmlPy just renders it in a standalone application instead of browser window.",{"id":83,"text":84},{"id":53,"text":54},{"commenters":167,"max_depth":168,"maker_replies":32,"first_comment_mins":169,"lifespan_hours":170},10,5,202,37,[172,174,176,177,181,182,183,185,186,189,192,193,195,198,200,201,202],[97,31,41,173,98,31],"project\u002Fneutral\u002Fidea",[162,31,31,175,11,42],"project\u002Fneutral\u002Fdesign",[124,42,41,175,125,31],[178,42,42,179,180,31],"10608667","project\u002Fcritical\u002Fexecution","rukittenme",[83,42,31,175,11,42],[117,38,42,179,118,31],[71,41,42,184,72,31],"project\u002Fcritical\u002Fperformance",[109,41,42,184,110,31],[187,41,31,188,76,31],"10609396","commenter\u002Fneutral\u002Fnone",[190,41,31,188,191,31],"10610299","rco8786",[153,41,31,188,72,31],[194,41,31,188,191,31],"10610563",[196,41,31,197,110,31],"10610764","commenter\u002Fneutral\u002Fperformance",[53,41,31,199,11,42],"project\u002Fmixed\u002Fperformance",[137,32,41,173,138,31],[75,32,41,173,76,31],[50,32,31,173,11,42],[],[205,209,213,217,221,225],{"id":206,"name":207,"points":208,"category":20},"10611813","BestRuby",92,{"id":210,"name":211,"points":212,"category":20},"10608457","Simulacra.js",82,{"id":214,"name":215,"points":212,"category":216},"10626157","Commandcar","dev_tools",{"id":218,"name":219,"points":220,"category":216},"10596241","mention-bot",72,{"id":222,"name":223,"points":224,"category":216},"10612105","Wox",54,{"id":226,"name":227,"points":228,"category":20},"10609825","Microm",46,false,"v2",{"id":232,"name":5,"line":6,"ai":229,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":233,"top":18,"kw":234,"maker":11,"domain":10,"tier":19,"attempts":31,"strip":235,"url":9,"mix":236,"praise":94,"objection":102,"sub":21},10608119,-0.32,[24,25,26,27],"30310111000000330",[31,32,31,32],1793990933761]