22 Matching Annotations
- Feb 2021
-
towardsdatascience.com towardsdatascience.com
-
When we are providing our API endpoint to frontend team we need to ensure that we don’t overwhelm them with preprocessing technicalities.We might not always have a Python backend server (eg. Node.js server) so using numpy and keras libraries, for preprocessing, might be a pain.If we are planning to serve multiple models then we will have to create multiple TensorFlow Serving servers and will have to add new URLs to our frontend code. But our Flask server would keep the domain URL same and we only need to add a new route (a function).Providing subscription-based access, exception handling and other tasks can be carried out in the Flask app.
4 reasons why we might need Flask apart from TensorFlow serving
-
-
itnext.io itnext.io
-
The most common way to deploy a trained model is to save into the binary format of the tool of your choice, wrap it in a microservice (for example a Python Flask application) and use it for inference.
Model as Code <--- the most common way of deploying ML models
-
- Oct 2020
-
datarevenue.com datarevenue.com
-
Here’s a table showing the tradeoffs:
Comparison of dashboard tech stack as of 10/2020:
-
- Jun 2020
-
flask-sqlalchemy.palletsprojects.com flask-sqlalchemy.palletsprojects.com
-
flask_sqlalchemy.get_debug_queries()
Dumps out query history-super helpful for debug!
-
-
stackoverflow.com stackoverflow.com
-
session_options={"autoflush": False, "autocommit": False, "expire_on_commit": False}
Disable autocommit and autoflush in sqlalchemy.
-
-
www.educative.io www.educative.io
-
The philosophy behind Flask is that it gives only the components you need to build an app so that you have the flexibility and control. In other words, it’s un-opinionated. Some features it offers are a build-int dev server, Restful request dispatching, Http request handling, and much more.
Flask isn't as full of features as Django (which makes him lighter), but it still offers:
- build-int dev server
- Restful request dispatching
- HTTP request handling
- much more...
Tags
Annotators
URL
-
- Apr 2020
-
blog.miguelgrinberg.com blog.miguelgrinberg.com
-
Although Miguel's tutorial is excellent, this companion piece by vsupalov can be helpful.
-
-
code.visualstudio.com code.visualstudio.com
-
To use Gunicorn as your web server, it must be included in the requirements.txt file as an app dependency. It does not need to be installed in your virtual environment/host machine.
-
-
flask-sqlalchemy.palletsprojects.com flask-sqlalchemy.palletsprojects.com
-
flask-login.readthedocs.io flask-login.readthedocs.io
-
xvrdm.github.io xvrdm.github.io
-
db.session.remove()
-
-
flask.palletsprojects.com flask.palletsprojects.com
Tags
Annotators
URL
-
- Dec 2019
-
stackoverflow.com stackoverflow.com
-
Werkzeug provides a development server: a simple web server that you can run with a single command and almost no configuration. When you do flask run (or werkzeug.serving.run_simple()), this development server is what you are getting
-
- Aug 2019
- Jun 2019
-
blog.miguelgrinberg.com blog.miguelgrinberg.com
-
Flask-Sockets, another extension for Flask that makes the use of WebSocket accessible to Flask applications
-
- Jun 2018
-
kronosapiens.github.io kronosapiens.github.io
-
Hmm. Definitely more http:// and a little more / than there needs to be. It seems like SERVER_NAME should be set to something more like localhost:5000. Let’s try.
Still having issues when it comes to multi application routing.
-
- Sep 2017
-
www.yanyaozhen.com www.yanyaozhen.com
-
flask部署
-
-
spacewander.github.io spacewander.github.io
- Apr 2017
-
stackoverflow.com stackoverflow.com
- Jul 2015
-
www.talkpythontome.com www.talkpythontome.com
-
Podcat with Armin Ronanch, creator of the my personal favorite web microframework, Flask.
-