963 shaares
15 results
tagged
flask
Flask tutorial by Corey Schafer
websocketd is the WebSocket daemon
It takes care of handling the WebSocket connections,
launching your programs to handle the WebSockets,
and passing messages between programs and web-browser.
It's like CGI, twenty years later, for WebSockets
It takes care of handling the WebSocket connections,
launching your programs to handle the WebSockets,
and passing messages between programs and web-browser.
It's like CGI, twenty years later, for WebSockets
Flask comes packaged with the powerful Jinja templating language.
For those who have not been exposed to a templating language before, such languages essentially contain variables as well as some programming logic, which when evaluated (or rendered into HTML) are replaced with actual values. The variables and/or logic are placed between tags or delimiters. For example, Jinja templates use {% ... %} for expressions or logic (like for loops), while {{ ... }} are used for outputting the results of an expression or a variable to the end user. The latter tag, when rendered, is replaced with a value or values, and are seen by the end user.
For those who have not been exposed to a templating language before, such languages essentially contain variables as well as some programming logic, which when evaluated (or rendered into HTML) are replaced with actual values. The variables and/or logic are placed between tags or delimiters. For example, Jinja templates use {% ... %} for expressions or logic (like for loops), while {{ ... }} are used for outputting the results of an expression or a variable to the end user. The latter tag, when rendered, is replaced with a value or values, and are seen by the end user.
Welcome! Today we’re going to start building a Flask app that calculates word-frequency pairs based on the text from a given URL. This is a full-stack tutorial.
Hi, welcome to Websites with Python Flask. In this workshop we will take you through the fundamentals of creating dynamic websites using the Python Flask library. After the workshop you should have a rough mental picture of how websites work and some good pointers for getting further with websites of your own.
Explore Flask is a book about best practices and patterns for developing web applications with Flask. The book was funded by 426 backers on Kickstarter in July 2013.
I finally released the book, after spending almost a year working on it. Almost immediately I was tired of managing distribution and limiting the book’s audience by putting it behind a paywall. I didn’t write a book to run a business, I wrote it to put some helpful content out there and help grow the Flask community. In June of 2014, soon after finishing the book, I reformatted it for the web and released it here for free. No payment or donation or anything required. Just enjoy!
I finally released the book, after spending almost a year working on it. Almost immediately I was tired of managing distribution and limiting the book’s audience by putting it behind a paywall. I didn’t write a book to run a business, I wrote it to put some helpful content out there and help grow the Flask community. In June of 2014, soon after finishing the book, I reformatted it for the web and released it here for free. No payment or donation or anything required. Just enjoy!
With WTForms, your form field HTML can be generated for you, but we let you customize it in your templates. This allows you to maintain separation of code and presentation, and keep those messy parameters out of your python code. Because we strive for loose coupling, you should be able to do that in any templating engine you like, as well.
Flask Biography Tutorial
Flask is an amazing framework for developing web applications. It is so simple that you could develop web apps on the fly. I’ve been working on Crackpot that is built using Flask and under constant development. The sole purpose of this web app was to learn and use Flask. I built a couple of cool stuff in this app, ran on the local development server and was pretty happy. But then, I wondered how do I deploy this to the Apache web server. So, I began googling about posts and all my trials were unsuccessful at the beginning and after a week long I finally got it working on my Apache web server. :)
Flask-OAuthlib is designed as a replacement for Flask-OAuth. It depends on the oauthlib module. The client part of Flask-OAuthlib shares the same API as Flask-OAuth, which is pretty and simple.
Flask-Stormpath is an extension for Flask that makes it incredibly simple to add users and user data to your application. It aims to completely abstract away all user registration, login, authentication, and authorization problems, and make building secure websites painless. And the best part? You don’t even need a database!
Unfortunately, while Flask is an excellent framework, it has one fatal flaw: authentication. As someone who’s been writing Flask apps since practically day 1, the single largest problem I’ve seen in the community and ecosystem is lack of a good authentication framework.
If you are a Flask developer right now, and in the process of figuring out how to build support for user accounts (and user data) into your application: I can’t help but think you’re going to have a difficult time. Why? Because you’re essentially limited to a few (subpar) choices
If you are a Flask developer right now, and in the process of figuring out how to build support for user accounts (and user data) into your application: I can’t help but think you’re going to have a difficult time. Why? Because you’re essentially limited to a few (subpar) choices
Flask-OAuth is an extension to Flask that allows you to interact with remote OAuth enabled applications. Currently it only implements the consumer interface so you cannot expose your own API with OAuth.
Flak-OAuth depends on the python-oauth2 module.
Flak-OAuth depends on the python-oauth2 module.