ryan_sb
Re:Optimizing Python – A Case Study
on Friday May 29, 2015 @02:23PM (#9626370)
Tbh, the order in that list wasn't meant to be sorted by difficulty, but I can go back and swap that around.
Re:Python Tips and Traps
on Tuesday January 20, 2015 @07:13AM (#8916547)
I don't know how I've missed out on contextlib all this time. I'll update that section.
Re:Python Tips and Traps
on Tuesday January 20, 2015 @07:12AM (#8916543)
Totally true, I'll add that in
Re:Python Tips and Traps
on Monday January 19, 2015 @01:08PM (#8913064)
Thanks for correcting me, I'll get those updated ASAP.
Re:Choosing a Web Framework: Django, Flask, or Pyramid
on Tuesday October 07, 2014 @07:26PM (#8424559)
Even for advanced queries (ok, not super advanced) SQLAlchemy can hold its own, especially if you're willing to dip into the sqlalchemy.core modules.
Re:Choosing a Web Framework: Django, Flask, or Pyramid
on Tuesday October 07, 2014 @02:58PM (#8423201)
Even for building a mobile backend, having a framework can help. Tools like Cornice (Pyramid), Django REST framework, and Flask-REST can make building API's much easier.
Re:Choosing a Web Framework: Django, Flask, or Pyramid
on Tuesday October 07, 2014 @02:57PM (#8423189)
> Pick what your team can be most productive with
Absolutely. If you already know one and like it, go forth and hack. If you're not sure, or don't like the one you have, there are tons of great options. Not just Flask/Django/Pyramid either. Tornado, Bottle, CherryPy, Falcon, and more all have dedicated users (some more than others).
Re:Choosing a Web Framework: Django, Flask, or Pyramid
on Tuesday October 07, 2014 @02:55PM (#8423169)
For some things ORM's get in the way, but avoiding them by your own data layer sounds like a pretty big time-suck.
Being able to write a single line of SQLAlchemy to build relationships into your models seems way simpler than implementing relationships in a custom data layer.
Re:Choosing a Web Framework: Django, Flask, or Pyramid
on Tuesday October 07, 2014 @02:50PM (#8423135)
It's not targeted specifically for hackathons, but cookiecutter-flask[1] is a skeleton project for the cookiecutter[2] project creator.
Re:Choosing a Web Framework: Django, Flask, or Pyramid
on Tuesday October 07, 2014 @12:25PM (#8422096)
FWIW it's 4th the list of frameworks in the article, Flask/Django/Pyramid being the top 3.
Re:Choosing a Web Framework: Django, Flask, or Pyramid
on Tuesday October 07, 2014 @11:34AM (#8421731)
Yeah, paster is awesome, esp since there's so many great skeletons on PyPi already.