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
20082026
-
…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…
comment by rsyring · 2024-04-19 · in Ask HN: High quality Python scripts or small libraries to learn from -
…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 -
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” -
…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...
comment by smt88 · 2022-08-14 · in Erg: a statically typed language that is Python compatible -
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…
comment by vgel · 2022-07-02 · in There are no open issues or pull requests on Flask -
…Closed without even a discussion about expected behavior and documentation, never followed up on. https://github.com/pallets/flask/issues/4653
comment by CameronNemo · 2022-07-02 · in There are no open issues or pull requests on Flask -
…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…
comment by devy · 2022-07-01 · in There are no open issues or pull requests on Flask -
Flask Github: https://github.com/pallets/flask
comment by b_mc2 · 2022-07-01 · in There are no open issues or pull requests on Flask -
…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
comment by plandis · 2021-07-26 · in The Generational Divide in Software Developers -
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 -
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 -
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 -
…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 -
…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 -
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 -
…<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? -
…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
comment by linuxftw · 2018-02-22 · in My Python Development Environment, 2018 Edition -
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
comment by bmaeser · 2017-03-13 · in Ask HN: What are some examples of good code? -
…on their actual problems and pain points, instead of lowest common denominator solutions? [1] https://github.com/pallets/flask/graphs/contributors
comment by coldtea · 2016-06-27 · in What ORMs have taught me: just learn SQL (2014) -
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 -
…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 -
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.
comment by if_by_whisky · 2016-05-01 · in Ask HN: What are examples of GitHub repositories with high code quality? -
For more information, the current discussion about a new release is at https://github.com/mitsuhiko/flask/issues/1575#issuecomment-...
comment by davidism · 2016-02-18 · in Building Large Flask Apps in the Real World -
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…
comment by zanny · 2016-02-17 · in Building Large Flask Apps in the Real World -
…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 -
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…
comment by orf · 2015-12-11 · in Django Awarded MOSS Grant from Mozilla -
…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 -
…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? -
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? -
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 -…
comment by Dineshs91 · 2015-06-20 · in Ask HN: What are beginner friendly good open-source projects to contribute to? -
https://github.com/mitsuhiko/flask/issues/1272
comment by rockdoe · 2015-04-24 · in Flask vs. Django: Worksheet to choose the right framework -
…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/* -
…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…
comment by dencold · 2014-07-09 · in An improved Chrome extension for browsing code on GitHub -
…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 -
…http://maximebf.com/blog/2012/11/getting-bigger-with-flask/#... https://github.com/mitsuhiko/flask/wiki/Large-app-how-to
comment by superchan · 2013-11-10 · in Flaskr: Intro to Flask, Test-Driven Development, and jQuery -
…* 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.
comment by sqs · 2013-10-30 · in PySonar: an Advanced Static Analyzer for Python -
…open source code. For example, take a look at the source code for Flask, the micro-framework: https://github.com/mitsuhiko/flask
comment by alokv28 · 2013-05-11 · in Ask HN: What's the best source to learn advanced Python? -
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.
comment by Goranek · 2013-05-05 · in Ask HN: Modern stacks and frameworks for fast web app development? -
…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/
comment by graue · 2012-12-12 · in Python 3 "Wall of Shame" Becomes "Wall of Superpowers" Today -
…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.
comment by irahul · 2012-11-08 · in Twitter survives election after Ruby-to-JVM move -
…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 -
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 -
…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 -
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 -
…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 -
https://github.com/mitsuhiko/flask
comment by kracekumar · 2012-04-09 · in Where is excellent Python code? -
…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?