-1

Some details about the project:

  • pure backend project, no front

  • expose a rest api (maybe custom routes?)

  • connect to other rest apis

  • query MySQL & MongoDB using an ORM

  • have unit tests

What Python framework would you recomend me for it?

4
  • Why did you tagged your question with django and pylons but didn't include directly names of other python web-frameworks? Commented Jan 17, 2013 at 14:25
  • any of them your requirements aren't exactly unique. Commented Jan 19, 2013 at 19:47
  • @TomWillis Considering the fact that I don't need any interface/views, I can choose a 'lighter' framework (with less/no support for views/templates) ;) Commented Jan 19, 2013 at 19:50
  • 2
    then use a "lighter" one. it still stands that these aren't unique requirements. and thus any web framework will work based on your bullet points. this question simply provides an opportunity for everyone to list their favorite framework. Commented Jan 19, 2013 at 20:04

4 Answers 4

5

Any of them will work. Arguably the most popular Python web frameworks these days are Django, Flask, and Pyramid.

Sign up to request clarification or add additional context in comments.

1 Comment

Appears Pylons and Zope2 are (still) more popular, if counting by number of pypi installs: python3wos.appspot.com.
2

You might want to consider cherrypy (cherrypy.org). From their website:

CHERRYPY IS A PYTHONIC, OBJECT-ORIENTED WEB FRAMEWORK

CherryPy allows developers to build web applications in much the same way they would build any other object-oriented Python program. This results in smaller source code developed in less time.

For more information on creating rest services in cherrypy, see Creating RESTful applications in CherryPy in the cherrypy documentation.

Comments

2

I agree with @Bryan about Cherrypy also you can try Flask

http://flask.pocoo.org/

Flask is a microframework for Python based on Werkzeug, Jinja 2 and good intentions.

Comments

1

Django Piston may be the solution.

For MongoDB, you can find something in this IBM blog and in this question

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.