Flask Support in PyCharm 2.6 EAP Build 121.84

Today’s Early Access Preview build of PyCharm brings with it a major new feature: PyCharm now supports the development of Flask Web applications. We’ve recorded a screencast to showcase the details and invite you to watch it:

A special thing to note is that the Flask plugin is fully open-source, and can be used as an example for developing other framework support plugins for PyCharm. You can find its source code on GitHub. In the coming days, we plan to publish additional documentation on PyCharm’s OpenAPI and the internals of the Flask plugin.

Besides that, we’ve continued our efforts to improve the quality of PyCharm’s code inspections, as well as fixed a number of bugs. You can find more information about that in the release notes.

As usual, the build is available for download on the EAP page. If you installed the previous 2.6 EAP build, you can also update from within the IDE using the “Check for updates” action.

This entry was posted in Early Access Preview, Screencast and tagged . Bookmark the permalink.

30 Responses to Flask Support in PyCharm 2.6 EAP Build 121.84

  1. Is there already Bottle support? (If not, there should be!)

  2. Alexei says:

    What about web2py support?

  3. Coenie says:

    Great stuff. Can’t wait for my next project to try out the new features.

  4. Roman says:

    I know that Plone is big beast, but is thre plans to support some underlaing technologies like TAL ? PyCharm could be killer IDE for Plone development.

    • Dmitry Jemerov says:

      To be honest, I don’t think that being a killer IDE for Plone development would bring a lot of business to JetBrains these days. We support some pieces of Zope tech, such as buildout, and it’s likely that we’ll gradually add more as we go, but a new templating language is a fairly big undertaking for us and would need a lot of justification.

      • Aristotel says:

        Does IntelliJ IDEA with Python plugin supports buildout? Or supports of buildout exists only in PyCharm and NOT in IntelliJ IDEA with Python plugin? If support of buildout really exists in IntelliJ IDEA with Python plugin then please advise how to use it? I can’t find answer nowhere

  5. Ronnie Kolehmainen says:

    Thank you for open-sourcing the plugin.

  6. Pingback: Gevent debug support | JetBrains PyCharm Blog

  7. Peter Hamlen says:

    Just wanted to say thanks for all your hard work on this.

    I use PyCharm while the rest of the team suffers through Wing, Eclipse, or just ipython. It makes me easily 2-3 times more efficient than everyone else. Easily worth every penny!

  8. John W says:

    Are there any plans to add code-completion to Django’s model.objects.filter() or exclude() methods? They could get the info from the fields defined in a models.py file, and help with the __icontains or __gte (for example).

    • Dmitry Jemerov says:

      Yes, we definitely plan to support this. (Wanted to include it into 2.6 actually, but didn’t have enough time.)

  9. Mutassem says:

    Is web2py planned to be supported in later versions than 2.6 ?

  10. John says:

    Please look at including web2py support soon. It would make many lives a lot easier.

  11. Josh says:

    Thank you so much for this. We use flask a lot and this will help push those of us not already on pycharm to make the move!

  12. Luc says:

    Good to see Flask support. What framework is next? And how about making it easy to build our own integrations.

  13. Jonathan says:

    To be fair on the “trends” comment – Django dwarfs web2py – see http://www.google.com/trends/explore#q=web2py%2C%20django%2C%20flask&cmpt=q

  14. Matt C says:

    First, I’m happy to see the Flask support. I hope both you and Flask end up winning w/ this.

    Second, I’m really impressed with the direct answers you’re giving other questions. It’s so much easier to say “maybe someday” than “probably never”, but if the answer is really no, I’d rather hear the real answer.

  15. Zach K says:

    What happened to the pycharm-flask plugin on GitHub?

    • traff says:

      Hi Zach, it’s not available anymore. It was an example of how to write plugins for PyCharm, but after we released the PyCharm Community edition all API as well as all the basic Python editing functionality became opensource, so there is no need in it. Also we treat now all the Web related features as a part of Professional edition, which is not free and opensource and Flask support is more about Web so it belong to Professional edition.

  16. fefe says:

    in pycharm
    my solution works

    cd /Applications/PyCharm CE.app/Contents/helpers/pydev/_pydevd_bundle
    vi pydevd_constants.py
    under import gevent add one line: SUPPORT_GEVENT = True

    SUPPORT_GEVENT = os.getenv(‘GEVENT_SUPPORT’, ‘False’) == ‘True’
    import gevent
    SUPPORT_GEVENT = True #add this line
    # Jython 2.1 doesn’t accept that construct

Leave a Reply

Your email address will not be published. Required fields are marked *