Hacker GitHub

← All repos

pallets/flask

View on GitHub ↗ ★ 75,163 Python

The Python micro framework for building web applications.

65 mentions on Hacker News by 58 people: 11 stories, 54 comments · first 2010-07-06 · latest 2024-04-19

Mentions per year 65 mentions · busiest year 2012 (11)
20082026
  1. …is pretty popular. Its also maintained by a competent team and has a lot of project best practices. https://github.com/pallets/flask https://github.com/pallets https://pypistats.org/packages/flask https://pypistats.org/packages/django (for…
  2. …GitHub stars Starlette: 8,800 GitHub stars MicroDot: 847 GitHub stars Tremolo: 6 GitHub stars https://github.com/pallets/flask https://github.com/encode/starlette https://github.com/miguelgrinberg/microdot https://github.com/nggit/tremolo
    comment by driggs · 2023-11-07 · in Microdot
  3. …knowledge of the codebase, I picked Flask. I picked the cli.py module in Flask. And what do I find? https://github.com/pallets/flask/blob/main/src/flask/cli.py#... https://github.com/pallets/flask/blob/main/src/flask/cli.py#...…
    comment by empthought · 2023-01-05 · in Ruby 3.2.0 is from another dimension
  4. Low dependency analysis is one of the reasons I like Flask[0]. [0] https://github.com/pallets/flask/blob/main/setup.py
    comment by robertlagrant · 2022-11-28 · in Open Source and Saying “No”
  5. …also does!) I would rather just have easy-to-scan, clear characters that demarcate a code block. 1. https://github.com/pallets/flask/blob/main/src/flask/templat...
  6. what, like this: https://github.com/pallets/flask/issues/4661 where he straightforwardly explains the problem, why it's complex to port the whole Flask ecosystem, offers a potential solution, and invites contribution both from the asker…
  7. …Closed without even a discussion about expected behavior and documentation, never followed up on. https://github.com/pallets/flask/issues/4653
  8. …now). Wasn't very impressive with his "my way or the high way" approach. Take a look them yourself: https://github.com/pallets/flask/issues?q=is%3Aissue+is%3Acl... I am quite disgusted by his self-congratulatory tweet like that, TBH. Those…
  9. Flask Github: https://github.com/pallets/flask
  10. …to be well-written C and tell me which is easier to understand without any prior knowledge. [1] https://github.com/pallets/flask [2] https://github.com/sqlite/sqlite
  11. Deprecation aside, Flask 2.0 begins adding type annotations, which is 3.6+ https://github.com/pallets/flask/pull/3973
    comment by ehsankia · 2021-05-12 · in Flask 2.0
  12. Considering the last item in the changelog is: - Add type hinting. https://github.com/pallets/flask/pull/3973 I think it's fair to assume annotations is the big reason.
    comment by ehsankia · 2021-05-12 · in Flask 2.0
  13. This is huge. (Serious!) https://github.com/pallets/flask/pull/3907 Add route decorators for common HTTP methods. For example, @app.post("/login") is a shortcut for @app.route("/login", methods=["POST"]).
    comment by whalesalad · 2021-05-12 · in Flask 2.0.0 has been merged into master
  14. Here is the v2 release notes: https://github.com/pallets/flask/blob/master/CHANGES.rst
    comment by alexfromapex · 2021-04-23 · in Flask 2 Coming soon with Async Support
  15. Potentially soon for Flask, https://github.com/pallets/flask/pull/3412 . Also see Quart, https://gitlab.com/pgjones/quart
    comment by pgjones · 2020-05-18 · in Python Developers Survey 2019 Results
  16. …from the same team of maintainers (i.e the Pallet team): - Werkzeug - Jinja2 - itsdangerous - click https://github.com/pallets/flask/blob/master/setup.py https://github.com/pallets/flask/network/dependencies
    comment by dgellow · 2020-04-11 · in Ride down into JavaScript dependency hell
  17. …I learned by reading through other projects like Sphinx, Flask, Werkzeug, and SQLAlchemy: - Flask: https://github.com/pallets/flask - Werkzeug: https://github.com/pallets/werkzeug - Sphinx https://github.com/sphinx-doc/sphinx/tree/v1.8.5…
    comment by tony · 2019-12-22 · in Go + Services = One Goliath Project
  18. https://github.com/pallets/flask https://github.com/pallets/jinja 0% C Also 800 ms is NOT a reasonable response time to generate what basically is a bunch of text, that is absurd, but I guess this is the baseline in 2019. I trust all IO is…
    comment by hmnom · 2019-08-23 · in Sourcehut welcomes Bitbucket refugees
  19. …<Body> <h1>Hello world!</h1> </Body> </Html> ) } with a `cmd {run,build} index.{jsx,tsx}` [1] https://github.com/pallets/flask/#a-simple-example [2] https://parceljs.org
    comment by parhamn · 2018-12-09 · in How Does setState Know What to Do?
  20. …them at a disadvantage when it comes to working with the larger python software community IMO. [0] https://github.com/pallets/flask/blob/master/.travis.yml
  21. https://github.com/pallets/flask and https://github.com/kennethreitz/requests both in python, but beautiful code, well structured and you would not need any docs, just read the code
  22. …on their actual problems and pain points, instead of lowest common denominator solutions? [1] https://github.com/pallets/flask/graphs/contributors
  23. It's actually pretty easy to install directly from the repo: pip install git+https://github.com/pallets/flask.git However as you mentioned, the documentation really needs to be updated to reflect this. It's frustrating to come across this…
    comment by brbsix · 2016-05-29 · in Flask 0.11 Released
  24. …issues tracking for it and we would get it! I believe the main blocker is updated documentation. https://github.com/pallets/flask/issues?q=is%3Aopen+is%3Aiss...
    comment by zanny · 2016-05-29 · in Flask 0.11 Released
  25. Flask, which (for those that don't know) is a popular Python web framework. https://github.com/pallets/flask I consider it well written. I never dive into flask and come out confused or disappointed.
  26. For more information, the current discussion about a new release is at https://github.com/mitsuhiko/flask/issues/1575#issuecomment-...
  27. There are milestones for 0.11 and 1.0: https://github.com/mitsuhiko/flask/milestones/0.11 https://github.com/mitsuhiko/flask/milestones/1.0 None of the 0.11 blockers are substantial, and 1.0 is mostly about having updated documentation. It…
  28. …inordinate quantity of unmerged pull requests, C) are many undocumented changes, and D) issues like https://github.com/mitsuhiko/flask/issues/1272 that are over a year old (I left a comment https://github.com/mitsuhiko/flask/issues/1575#iss…
    comment by mangeletti · 2015-12-11 · in Django Awarded MOSS Grant from Mozilla
  29. That doesn't seem to be the case: https://github.com/mitsuhiko/flask/graphs/contributors . The owner seems to be fairly active, but it is surprising that there hasn't been a release in two years. It is a micro-framework though so how much…
  30. …In some cases, it's even simpler. Flask, for instance, achieves it with a small 55 LOC module: https://github.com/mitsuhiko/flask/blob/master/flask/_compat... One last great resource is Lennart Regebro's book: http://python3porting.com/
    comment by fermigier · 2015-07-31 · in Guido on Python
  31. …the following Python projects for reading: * Howdoi ( https://github.com/gleitz/howdoi ) * Flask ( https://github.com/mitsuhiko/flask ) * Werkzeug ( https://github.com/mitsuhiko/werkzeug ) * Requests (…
    comment by aaronjgreenberg · 2015-07-16 · in Ask HN: Good Python codebases to read?
  32. Flask - https://github.com/mitsuhiko/flask . It's small, awesome and digestible.
    comment by nyddle · 2015-07-16 · in Ask HN: Good Python codebases to read?
  33. You can check https://github.com/scrapy/scrapy - Easy tag https://github.com/mitsuhiko/flask - Beginner friendly tag I am sure you can find similar projects for js. You can also check my project https://github.com/Dineshs91/devlog -…
  34. https://github.com/mitsuhiko/flask/issues/1272
  35. …state the following?: I will give the dev who contributes a pull requests that fixes this issue: https://github.com/mitsuhiko/flask/issues/1092 10 dollars. Have I commited an unfair act? Have I violated mitsuhiko in some way? Is the dev…
    comment by GhotiFish · 2014-11-01 · in Please remove mitsuhiko/*
  36. …in a local IDE. For example, here's their representation of Flask's app module: https://sourcegraph.com/github.com/mitsuhiko/flask@cc98ba909... I've found it super helpful as a way to explore new libraries and see how they are used by…
  37. …use flask - Good at python, large api: use flask Check out https://github.com/imwilsonxu/fbone and https://github.com/mitsuhiko/flask/wiki/Large-app-how-to for some advise. Let me know if you have any specific questions.
    comment by Goopplesoft · 2014-02-27 · in Solving the Flask Authentication Problem
  38. …http://maximebf.com/blog/2012/11/getting-bigger-with-flask/#... https://github.com/mitsuhiko/flask/wiki/Large-app-how-to
  39. …* All usages of the Flask @app.route decorator: https://sourcegraph.com/github.com/mitsuhiko/flask/symbols/p... This is all done using PySonar v1-based static analysis on Python code. PySonar v2 is even better.
  40. …open source code. For example, take a look at the source code for Flask, the micro-framework: https://github.com/mitsuhiko/flask
  41. https://github.com/mitsuhiko/flask/wiki/Large-app-how-to Please note, flask code is easy to read, and you can change anything you want. Flask will not limit you, you can be sure in that.
  42. …done much more with Python 3.x than kick the tires a bit. 1. https://github.com/puzzlet/flask 2. https://github.com/mitsuhiko/flask/issues/587 3. http://lucumr.pocoo.org/2011/12/7/thoughts-on-python3/
  43. …get the timeline? Since you said "single copy of data", I assume you would do something like this: https://github.com/mitsuhiko/flask/blob/master/examples/mini... At twitter scale, that query will be a major bottleneck.
  44. …the source code to the Flask website itself really helpful for getting to grips with the basics: https://github.com/mitsuhiko/flask/tree/website/flask_websit...
    comment by corford · 2012-10-12 · in Building websites in Python with Flask
  45. For what it's worth, I implemented JSON based sessions for testing purposes: https://github.com/mitsuhiko/flask/commit/4df3bf2058954624f9... They are currently on a separate branch and they are known to break python-openid (and with that…
    comment by the_mitsuhiko · 2012-08-11 · in Dear Flask, Please Fix Your “Secure” Cookies
  46. …treats docstrings as code. The red part there is for the most part just documentation, not code: https://github.com/mitsuhiko/flask/blob/master/flask/app.py (as an example)
    comment by the_mitsuhiko · 2012-06-07 · in Why Django Sucks
  47. Here's the source of Flask's `route` decorator: https://github.com/mitsuhiko/flask/blob/master/flask/app.py#... When you call `route` with a URL pattern, it returns an inner function which is used as the decorator. That decorator just…
    comment by enaeseth · 2012-04-12 · in A primer on Python decorators
  48. …into a full app with only a few more lines. Consider this example of a completely function blog: https://github.com/mitsuhiko/flask/tree/master/examples/flas... There's 76 sloc of code in the blog app, plus tests, templates, database…
    comment by Lazare · 2012-04-11 · in PHP Sucks But I Like It
  49. https://github.com/mitsuhiko/flask
    comment by kracekumar · 2012-04-09 · in Where is excellent Python code?
  50. …stellar example. Flask[2] source code is also lovely. [1] - https://github.com/django/django [2] - https://github.com/mitsuhiko/flask
    comment by bmelton · 2012-04-06 · in Where is excellent Python code?