Hacker News - Newest: "Flask"https://news.ycombinator.com/newestHacker News RSShttps://hnrss.org/hnrss v2.1.1Fri, 29 Mar 2024 09:49:52 +0000<![CDATA[One Line Backdoors in Classic ASP, Flask, Node.js, and PHP]]>Article URL: https://github.com/Geeoon/asploit

Comments URL: https://news.ycombinator.com/item?id=39772364

Points: 2

# Comments: 0

]]>
Wed, 20 Mar 2024 21:45:16 +0000https://github.com/Geeoon/asploitskrilhttps://news.ycombinator.com/item?id=39772364https://news.ycombinator.com/item?id=39772364
<![CDATA[Show HN: A Flask-Based Internet Radio Player Built in Hylang]]>I ported this small project to Hylang a few weeks ago. It calls out to mpd and mpc, but the most exciting part is that it is written in Hylang, a Lisp that compiles down to Python.

It pairs well with [1]. Be sure to use the direct links.

[1] https://mw.rat.bz/davgmsrl/


Comments URL: https://news.ycombinator.com/item?id=39403234

Points: 3

# Comments: 2

]]>
Fri, 16 Feb 2024 21:30:40 +0000https://github.com/danieljaouen/pi-radio-hylangdjaouenhttps://news.ycombinator.com/item?id=39403234https://news.ycombinator.com/item?id=39403234
<![CDATA[Yet Another Password Reset Tutorial in Flask]]>Article URL: https://freelancefootprints.substack.com/p/yet-another-password-reset-tutorial

Comments URL: https://news.ycombinator.com/item?id=39033479

Points: 2

# Comments: 0

]]>
Wed, 17 Jan 2024 21:09:04 +0000https://freelancefootprints.substack.com/p/yet-another-password-reset-tutorialvelebit_horvathttps://news.ycombinator.com/item?id=39033479https://news.ycombinator.com/item?id=39033479
<![CDATA[Show HN: FSW: helpers for building apps with Flask, SQLAlchemy, and WTForms]]>FSW is a collection of classes and functions for building apps combining Flask, SQLAlchemy, and WTForms. The library is intended to be modular: it does not require instantiation with the app object, and its pieces are generally independent of each other.

I created the library to avoid duplication between my own Flask apps. Many of its helpers are inspired by Django. The library is currently in alpha and will hopefully be available on PyPI soon (https://github.com/pypi/support/issues/2987).

The library is divided into three components:

- fsw.views: RedirectView, TemplateView, FormView, CreateModelView, ReadModelView, ReadOneModelView, UpdateModelView, DeleteModelView

- fsw.models: ClassNameModelMixin, IDModelMixin, SaveModelMixin, CreateTimestampModelMixin, UpdateTimestampModelMixin, DeleteTimestampModelMixin, HardDeleteModelMixin

- fsw.forms: CSRFProtectModelMixin, ModelFormMixin

I would love feedback and suggestions on any part of the library, especially the more complex components (such as FormView and ModelFormMixin).


Comments URL: https://news.ycombinator.com/item?id=38981693

Points: 1

# Comments: 0

]]>
Sat, 13 Jan 2024 16:47:13 +0000https://github.com/bhushan-mohanraj/fswbhushanmohanrajhttps://news.ycombinator.com/item?id=38981693https://news.ycombinator.com/item?id=38981693
<![CDATA[Beginners should use Django, not Flask]]>Article URL: https://www.bitecode.dev/p/beginners-should-use-django-not-flask

Comments URL: https://news.ycombinator.com/item?id=38786071

Points: 3

# Comments: 2

]]>
Wed, 27 Dec 2023 20:09:49 +0000https://www.bitecode.dev/p/beginners-should-use-django-not-flaskdblitthttps://news.ycombinator.com/item?id=38786071https://news.ycombinator.com/item?id=38786071
<![CDATA[Automatic Instrumentation of a Flask Application Using OpenTelemetry with Jaeger]]>Article URL: https://medium.com/insiderengineering/automatic-instrumentation-of-a-python-flask-application-using-opentelemetry-with-jaeger-be50f6530c23

Comments URL: https://news.ycombinator.com/item?id=38683131

Points: 1

# Comments: 0

]]>
Mon, 18 Dec 2023 14:42:07 +0000https://medium.com/insiderengineering/automatic-instrumentation-of-a-python-flask-application-using-opentelemetry-with-jaeger-be50f6530c23yawzhttps://news.ycombinator.com/item?id=38683131https://news.ycombinator.com/item?id=38683131
<![CDATA[Show HN: Alternative Front End to GPT, Claude, or Mistral Flask/Socketio]]>Article URL: https://github.com/russellballestrini/flask-socketio-llm-completions

Comments URL: https://news.ycombinator.com/item?id=38664164

Points: 4

# Comments: 2

]]>
Sat, 16 Dec 2023 13:50:21 +0000https://github.com/russellballestrini/flask-socketio-llm-completionsfoxhophttps://news.ycombinator.com/item?id=38664164https://news.ycombinator.com/item?id=38664164
<![CDATA[The Flask Mega-Tutorial, Part I: Hello, World]]>Article URL: https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-i-hello-world

Comments URL: https://news.ycombinator.com/item?id=38613162

Points: 7

# Comments: 0

]]>
Tue, 12 Dec 2023 15:11:23 +0000https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-i-hello-worldblacksand0https://news.ycombinator.com/item?id=38613162https://news.ycombinator.com/item?id=38613162
<![CDATA[How to Deploy a Python Flask App with Heroku]]>Article URL: https://blog.appsignal.com/2023/12/06/how-to-deploy-a-python-flask-app-with-heroku.html

Comments URL: https://news.ycombinator.com/item?id=38544633

Points: 1

# Comments: 0

]]>
Wed, 06 Dec 2023 14:56:01 +0000https://blog.appsignal.com/2023/12/06/how-to-deploy-a-python-flask-app-with-heroku.htmlamalinovichttps://news.ycombinator.com/item?id=38544633https://news.ycombinator.com/item?id=38544633
<![CDATA[The Flask Mega-Tutorial, 2024 Edition]]>Article URL: https://blog.miguelgrinberg.com/post/announcing-the-flask-mega-tutorial-2024-edition

Comments URL: https://news.ycombinator.com/item?id=38517814

Points: 3

# Comments: 0

]]>
Mon, 04 Dec 2023 14:39:31 +0000https://blog.miguelgrinberg.com/post/announcing-the-flask-mega-tutorial-2024-editionryentzerhttps://news.ycombinator.com/item?id=38517814https://news.ycombinator.com/item?id=38517814
<![CDATA[Show HN: Flask-Muck, RESTful CRUD API views in as little as 9 lines of code]]>Article URL: https://github.com/dtiesling/flask-muck

Comments URL: https://news.ycombinator.com/item?id=38470671

Points: 3

# Comments: 0

]]>
Thu, 30 Nov 2023 07:20:30 +0000https://github.com/dtiesling/flask-muckdtieslinghttps://news.ycombinator.com/item?id=38470671https://news.ycombinator.com/item?id=38470671
<![CDATA[Ask HN: Are you happy you chose FastAPI over Flask/Django/Sanic/etc.?]]>Comments URL: https://news.ycombinator.com/item?id=38331065

Points: 16

# Comments: 10

]]>
Sun, 19 Nov 2023 09:59:55 +0000https://news.ycombinator.com/item?id=38331065networkedhttps://news.ycombinator.com/item?id=38331065https://news.ycombinator.com/item?id=38331065
<![CDATA[Beginners should use Django, not Flask]]>Article URL: https://www.bitecode.dev/p/beginners-should-use-django-not-flask

Comments URL: https://news.ycombinator.com/item?id=38267617

Points: 3

# Comments: 1

]]>
Tue, 14 Nov 2023 18:44:44 +0000https://www.bitecode.dev/p/beginners-should-use-django-not-flaskBiteCode_devhttps://news.ycombinator.com/item?id=38267617https://news.ycombinator.com/item?id=38267617
<![CDATA[Django vs. Flask]]>Article URL: https://blog.jetbrains.com/pycharm/2023/11/django-vs-flask-which-is-the-best-python-web-framework/

Comments URL: https://news.ycombinator.com/item?id=38254158

Points: 4

# Comments: 0

]]>
Mon, 13 Nov 2023 19:28:28 +0000https://blog.jetbrains.com/pycharm/2023/11/django-vs-flask-which-is-the-best-python-web-framework/saikatsghttps://news.ycombinator.com/item?id=38254158https://news.ycombinator.com/item?id=38254158
<![CDATA[Some More to Talk About Flask]]>Article URL: https://blog.miguelgrinberg.com/post/some-more-to-talk-about-flask

Comments URL: https://news.ycombinator.com/item?id=38178133

Points: 2

# Comments: 0

]]>
Tue, 07 Nov 2023 15:44:18 +0000https://blog.miguelgrinberg.com/post/some-more-to-talk-about-flaskshantnutiwarihttps://news.ycombinator.com/item?id=38178133https://news.ycombinator.com/item?id=38178133
<![CDATA[What's up Python? iOS support, ruff gets black, flask 3.0]]>Article URL: https://www.bitecode.dev/p/whats-up-python-ios-support-ruff

Comments URL: https://news.ycombinator.com/item?id=38166214

Points: 1

# Comments: 0

]]>
Mon, 06 Nov 2023 18:06:02 +0000https://www.bitecode.dev/p/whats-up-python-ios-support-ruffBiteCode_devhttps://news.ycombinator.com/item?id=38166214https://news.ycombinator.com/item?id=38166214
<![CDATA[Flask, its ecosystem, and backwards compatibility]]>Article URL: https://pgjones.dev/blog/flask-ecosystem-compatibility-2023/

Comments URL: https://news.ycombinator.com/item?id=37960479

Points: 1

# Comments: 0

]]>
Fri, 20 Oct 2023 19:32:12 +0000https://pgjones.dev/blog/flask-ecosystem-compatibility-2023/todsacerdotihttps://news.ycombinator.com/item?id=37960479https://news.ycombinator.com/item?id=37960479
<![CDATA[We Have to Talk About Flask]]>Article URL: https://blog.miguelgrinberg.com/post/we-have-to-talk-about-flask

Comments URL: https://news.ycombinator.com/item?id=37944326

Points: 43

# Comments: 114

]]>
Thu, 19 Oct 2023 15:34:08 +0000https://blog.miguelgrinberg.com/post/we-have-to-talk-about-flaskcarc1n0genhttps://news.ycombinator.com/item?id=37944326https://news.ycombinator.com/item?id=37944326
<![CDATA[Open source flask GPT boillerplate for talking with your documents]]>Article URL: https://github.com/johnsmithm/openchatdoc

Comments URL: https://news.ycombinator.com/item?id=37855516

Points: 2

# Comments: 1

]]>
Thu, 12 Oct 2023 10:47:36 +0000https://github.com/johnsmithm/openchatdocionmhttps://news.ycombinator.com/item?id=37855516https://news.ycombinator.com/item?id=37855516
<![CDATA[Tell HN: Flask and Quart have now partially merged]]>Flask is a web microframework built to be used with WSGI servers and synchronous code. Quart is the same web microframework built to be used with ASGI servers and asynchronous code. In other words Flask and Quart are now the same base framework as they share the majority of their codebases.

This means that you can use the same framework API and understanding to write synchronous code with Flask, and asynchronous code with Quart.

It is important to note that Flask cannot be made asynchronous without breaking extension and backwards compatibility, or without using monkeypatching. Therefore, Quart is best viewed as a namespace for async/await usages.

Questions and comments very welcome. (I'm struggling a little thinking about how best to communicate this)


Comments URL: https://news.ycombinator.com/item?id=37724032

Points: 20

# Comments: 7

]]>
Sun, 01 Oct 2023 08:49:26 +0000https://news.ycombinator.com/item?id=37724032pgjoneshttps://news.ycombinator.com/item?id=37724032https://news.ycombinator.com/item?id=37724032