from Hacker News

Pecan a lean Python web framework

by poissonpie on 1/9/14, 9:30 AM with 17 comments

  • by codegeek on 1/9/14, 2:12 PM

    I have been learning Flask for a while and any other python based light frameworks are of interest. This looks promising with its own set of conventions but one thing that immediately caught my eye is this:

        pecan create test_project
    
    Essentially, it creates a barebone project with a list of pre-defined folders/files. For me, this is not very useful as I actually prefer to create my own. In fact, as you get to a decent sized project, you always end up customizing the structure of the app and hence a barebone structure even though sounds good actually becomes unusable. For a lightweight framework, I really don't want any app structure conventions done for me. Let me do that.
  • by nubela on 1/9/14, 2:38 PM

    What's wrong with Flask, or the better question is. What does Pecan do better than Flask?
  • by mattlutze on 1/9/14, 12:29 PM

    I'm having trouble understanding from the paragraph intro on the site, why I would need this in the growing market of python-in-my-browser tools. I've used the language mostly as scripts to process piles of data -- if I were to get into generating web content, why this over one of the "inspirations" or other packages?
  • by dorfsmay on 1/9/14, 12:57 PM

    Is it leaner than bottle or flask?

    It diesn't seem as clean on a first glance?

  • by dudus on 1/9/14, 6:11 PM

    can someone name that vim color-scheme?
  • by pc86 on 1/9/14, 1:17 PM

    What use is a web framework that "includes no out of the box support for things like sessions or databases?"