News for hackers. Stuff that matters.

ashishsingal

Re:Show HN: Vanna AI – Open-Sourced Text-to-SQL in Python on Friday September 08, 2023 @09:05AM (#37432966)
oh how exciting :)
Re:Show HN: Generate styled web pages with just Python on Wednesday March 22, 2023 @09:46AM (#35260913)
i feel PythonAnywhere is a great concept but less great execution.
Re:Show HN: Generate styled web pages with just Python on Wednesday March 22, 2023 @08:59AM (#35260308)
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 :)
Re:Show HN: Generate styled web pages with just Python on Wednesday March 22, 2023 @06:35AM (#35259129)
what do you mean by "escaping for content"?
Re:Show HN: Generate styled web pages with just Python on Wednesday March 22, 2023 @06:34AM (#35259124)
what are your pain points w streamlit?
Re:Show HN: Generate styled web pages with just Python on Wednesday March 22, 2023 @06:34AM (#35259118)
what do you mean by "layouts"?
Re:Show HN: Generate styled web pages with just Python on Wednesday March 22, 2023 @06:33AM (#35259116)
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.
Re:Show HN: Generate styled web pages with just Python on Wednesday March 22, 2023 @06:32AM (#35259104)
hehe EXACTLY. python will take over the world!
Re:Show HN: Generate styled web pages with just Python on Wednesday March 22, 2023 @06:31AM (#35259094)
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).
Re:Show HN: Generate styled web pages with just Python on Wednesday March 22, 2023 @06:28AM (#35259073)
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.
what do you mean by uBlock origin? what's the use case here?
can't google assistant or alexa do this? why would you need a web app?
holy! 42 lines of code - love it!
oh this is cool
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?
any luck on implementing this one? would be cool to see if pycob can do it.
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?
interesting, like what?
the pypi analytics one is cool. what about doing something similar for github analytics? i find it more interesting and expansive than pypi.