addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwchatcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgoogleimageimagesinstagramlinklocation-pinmagnifying-glassmailminusmoremuplabelShape 3 + Rectangle 1outlookpersonplusprice-ribbonImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruseryahoo

Flask by Example: A PyCon Tutorial Practice Session

Join us as Miguel Grinberg runs through his PyCon 2014 Tutorial Session: Flask by Example.

Refreshments sponsored by, who have launched a new network to help people everywhere connect and take action on any issue that concerns them, locally or globally, online and in person.

Help Miguel prepare for PyCon by being an audience member, and providing helpful feedback afterwards.

** While anyone is welcome to attend, please note that this session is an Intermediate-level tutorial. It will be most accessible and useful to those who already know Python fairly well and are looking to learn about the Flask framework.

About Flask
Flask is a web framework for Python based on Werkzeug, Jinja 2 and good intentions. It is considered a micro-framework, but don't get the "micro" part fool you; Flask can do everything others can do, many times in a simpler, leaner way. In this tutorial session you will follow me as I write a complete web application in front of your eyes using the core framework and a handful of extensions.

About this Session
Flask is a small and easy to use, yet fully featured open source web framework written in Python. Its code is concise and well written, you can read it all and understand it.

In this session you will learn the Flask way by watching me build a complete application in front of your eyes.

Session Schedule

12:00pm ... Doors open

12:30pm ... Tutorial begins

2:00pm ... Stretch break

2:20pm ... Session resumes

3:50pm ... Q & A and Feedback

4:30pm ... Session ends

Some of the topics included in this tutorial:

• Single-file applications

• Multi-file structure for larger applications

• Templates

• Web forms

• Databases

• User Authentication

• Administration Panel

• Social features (followers, timeline pages)

• Ajax and RESTful APIs

• Deployment options

In addition to the Flask core modules (Flask itself, Jinja 2 template engine, Werkzeug) you will learn how to use a number of Flask extensions such as:

•  Flask-WTF for web form handling

• Flask-SQLAlchemy for database management

• Flask-Login for user authentication

• Flask-Bootstrap for CSS styling

• Flask-RESTful for APIs

Join or login to comment.

  • Miguel G.

    I got back from PyCon last night!

    I don't have the results of the survey the attendees filled out yet, but my impression is that the tutorial was a pretty big success. Thank you very much for letting me practice, the feedback was very helpful in trimming the content down, specially the final parts that were a little bit repetitive.

    For those of you that are interested in APIs with Flask, I also wanted to give you the link to the video of the talk I did in the main conference, title "Writing RESTful Web Services with Flask":

    The videos for most of the talks and tutorials are already on youtube, and there are many that are worth while watching. Here are the links to all the videos:

    Thanks again!


    2 · April 14, 2014

  • Deron A.

    Also, Miguel's e-book "Flask Web Dev" is early release still on sale (I think) at use WKPYTHNP for 50% off

    2 · March 30, 2014

    • Mike L.

      I was unable to attend due to skiing, but I did buy the ebook preorder!

      March 30, 2014

  • Lisa Hewus F.

    Great tutorial and great food!

    1 · March 30, 2014

  • mark g.

    I think you will give a great tutorial at PyCon! Thank you for giving me a chance to learn from your practice run.

    1 · March 30, 2014

  • Michelle R.

    Thanks for coming, everyone!! Miguel did an amazing job!

    ** PLEASE take five minutes and leave him feedback:

    Don't wait, he needs your comments, suggestions and opinions ASAP -- PyCon is 12 days away!

    March 29, 2014

    • Miguel G.

      I have received 20 responses to the survey, with very useful comments, and now I have a pretty good idea what to shorten and what to improve. Thanks!

      1 · March 29, 2014

    • Michelle R.

      Yay! Awesome to hear!!

      March 30, 2014

  • A former member
    A former member

    Thanks again, Miguel. Great talk, and Flask is awesome!

    1 · March 29, 2014

    • Miguel G.

      Thanks, look forward to see all the great apps you guys are going to build. :)

      March 29, 2014

  • Kirby U.

    Fantastic tutorial -- dense yet quite intelligible and an interesting application. Having the source code in front of me, and a running app, and slides, and a good explainer, is the push in Flask I was looking for. Note: I still pop up as Assistant Organizer but that's coasting on past glory. Today I ate at least my share of tamales and took a few home in my brief case, with a thumbs up from Idealist. That's about the extent of my assisting with organizing for this event.

    March 29, 2014

  • A former member
    A former member

    So helpful, the presentation was such an informative treat. Also great food from Idealist.

    1 · March 29, 2014

  • A former member
    A former member

    Great content. Great presentation. Great presenter.

    1 · March 29, 2014

  • Trey W.

    Where are people are getting the slides from?

    March 29, 2014

  • Miguel G.

    When we are done with the class I would appreciate it if you fill out this short 5-question survey, to help me decide if I need to make any changes to my presentation.


    March 29, 2014

  • Lisa Hewus F.

    Working my way through your Flask Mega Tutorial now and really looking forward to your presentation next week.

    1 · March 22, 2014

  • Miguel G.


    I'm excited to do this and look forward to test the class I have prepared and improve it with your help.

    The tutorial will be mostly lecture type. I will show you how I build an application from scratch, and will do my best to explain my thinking and answer your questions.

    You will probably want to install the application that I will be showing on your own computer to play after you learn all about it. You can find detailed instructions to install and set up this application in the git repository:

    I will go over the instructions at the start of the class. If you have any installation issues feel free to contact me.

    See you soon!


    March 21, 2014

  • Jamil A.

    I am currently builiding a SaaS app using Flask so I'm looking forward to this session.

    March 10, 2014

  • Seth R.

    Can this be attended virtually?

    February 18, 2014

    • Miguel G.

      This is a session that will allow me to practice and polish the material. Two weeks later I will give the same class at PyCon in Montreal, and my understanding is that they will tape it, so you may be able to watch that one some time after the event.

      February 18, 2014

  • Mike L.

    I'm a beginner, I've done the learnpythonthehardway and 2 separate Coursera classes on Python. Will that be enough for me to follow along?

    February 17, 2014

    • Miguel G.

      Hi, Mike. The first third is pretty accessible, as I assume no previous Flask knowledge. As long as you have some coding experience you will be fine. For the remaining two thirds there is a lot of ground I cover, so I'm going at a faster pace. You can read my tutorials (http://blog.miguelgri...­) to come with some background, that will help.

      February 17, 2014

    • Miguel G.

      Just to make sure this is clear, from the link I gave you above you want to look for the "Flask Mega-Tutorial" articles more than anything else.

      February 17, 2014

Our Sponsors

  • Urban Airship

    Provides us with a place to meet.

  • Cylance

    Pizza for the July meeting

  • Simple

    Pizza for the June 2016 Meeting

  • CloudBolt

    Pizza for the May 2016 Presentation Night

  • Exxeno

    Pizza for the April 2016 Meeting

  • O'Reilly Media

    OSCON pass, discounts, and books

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy