Better HN
topnewbestaskshowjobs
Log inSign up

ashishsingal

5 karma · joined Aug 20, 2017 (9y ago) · 20 submissions

Submissions

comment 3y ago · link · parent

oh how exciting :)

comment 3y ago · link · parent

i feel PythonAnywhere is a great concept but less great execution.

comment 3y ago · link · parent

there's "HTML (.add_html)" in the docs - "Renders raw HTML. This is meant to be an escape hatch for when you need to render something that isn't supported by PyVibe." I'm guessing this isn't sanitized and we trust the dev. After all, they can do "eval" in Python which is much riskier than raw HTML :)

comment 3y ago · link · parent

what do you mean by "escaping for content"?

comment 3y ago · link · parent

what are your pain points w streamlit?

comment 3y ago · link · parent

what do you mean by "layouts"?

comment 3y ago · link · parent

people who know python but don't know (and don't really want to know) react / html / css / js, but still want to build a simple web app. kinda like plotly dash, streamlit, pynecone, etc - except without the web server part - just generates the html.

comment 3y ago · link · parent

hehe EXACTLY. python will take over the world!

comment 3y ago · link · parent

yes, it would be an alternative. imo it's a bit more powerful esp for multipage apps and uses more traditional web dev techniques (eg routes, etc). streamlit is tricky bc it reruns the whole script each time there's any user input. but it's also a bit more involved (eg you need to use flask or something to serve while streamlit has a webserver built in).

comment 3y ago · link · parent

kinda but this doesn't have a web server built in. nor does it depend on react or anything. so you can just use flask or whatever else.

comment 3y ago · link · parent

what do you mean by uBlock origin? what's the use case here?

comment 3y ago · link · parent

can't google assistant or alexa do this? why would you need a web app?

comment 3y ago · link · parent

holy! 42 lines of code - love it!

comment 3y ago · link · parent

oh this is cool

comment 3y ago · link · parent

how would you implement this? just take in a URL that has an RSS feed and then link each item on the feed to the podcast player?

comment 3y ago · link · parent

any luck on implementing this one? would be cool to see if pycob can do it.

comment 3y ago · link · parent

are there any good python packages that get you these (at least some of them) already? that don't have a good front end that pycob can leverage?

comment 3y ago · link · parent

interesting, like what?

comment 3y ago · link · parent

the pypi analytics one is cool. what about doing something similar for github analytics? i find it more interesting and expansive than pypi.