TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

What python framework can be used to build a REST api?

3 pointsby udswagzover 10 years ago
I know of Flask, Django and Pyramid. I don't want anything that has those in it, i all i want is a pure Rest Framework (not Web framework with REST extensions). Something that is used for just RESTful ApI. Just Models and Controllers no views. Thanks in advance.

5 comments

smt88over 10 years ago
Just because a framework offers views doesn&#x27;t mean that it&#x27;s too heavy for you. If no views are being processed, they&#x27;re adding a negligible amount of overhead just from loading the code.<p>You don&#x27;t necessarily even need a framework. You could use some libraries. You only need: routing, HTTP request processing, and HTTP response preparation.
评论 #8912590 未加载
fclaerhoover 10 years ago
If you&#x27;re still looking for something, I&#x27;ve hacked a wrapper over Bottle to ease the implementation of a REST service, it&#x27;s small (2 python files including Bottle) and might fit your needs: <a href="https://github.com/fclaerho/rest" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;fclaerho&#x2F;rest</a>
iurisilvioover 10 years ago
Werkzeug is the Flask HTTP handler. It can be useful for you. I know restpy [0], based on werkzeug.<p>[0] <a href="https://restpy.readthedocs.org/en/latest/" rel="nofollow">https:&#x2F;&#x2F;restpy.readthedocs.org&#x2F;en&#x2F;latest&#x2F;</a>
chudiover 10 years ago
you said that you don&#x27;t want any flask, but have you looked at Flask-Restless ?<p>Flask just gives you the routing part maybe you can even strip flask out of it and just use wsgi.<p>You can try <a href="http://python-eve.org/" rel="nofollow">http:&#x2F;&#x2F;python-eve.org&#x2F;</a> too
avinasshover 10 years ago
have you looked into Tornado?
评论 #8912610 未加载