Question

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?

Was it helpful?

Solution

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

OTHER TIPS

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.

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.

Django Piston may be the solution.

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top