Reputation: 8512
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?
Upvotes: -1
Views: 2379
Reputation: 1450
I agree with @Bryan about Cherrypy also you can try Flask
Flask is a microframework for Python based on Werkzeug, Jinja 2 and good intentions.
Upvotes: 2
Reputation: 2479
Any of them will work. Arguably the most popular Python web frameworks these days are Django, Flask, and Pyramid.
Upvotes: 5
Reputation: 385800
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.
Upvotes: 2
Reputation: 17606
Django Piston may be the solution.
For MongoDB, you can find something in this IBM blog and in this question
Upvotes: 1