4 ms·
Switch to use Bottle for rest API as Flask has dependencies such as Jinja2 that I don't need.
by jaxondu 10y ago
Switch to use Bottle for rest API as Flask has dependencies such as Jinja2 that I don't need.
- noinsight 10y agoThere's also the Falcon framework that claims to be faster and is meant for REST APIs. http://falconframework.org/ http://falconframework.org/
- bizzleDawg 10y agoFalcon is great for making API's! I've used it on a few production sites. The main downside is the lack of middlewares for common tasks (e.g. jwt decoding) but you gain in other areas such as being able to use class inheritance to abstract out utility stuff in an elegant way.
- bigethan 10y agoTake a look at Hug - it's built on Falcon and adds all the API niceties :-) https://github.com/timothycrosley/hug https://github.com/timothycrosley/hug
- andrewstuart 10y agoYou don't need middleware to use JWT with Falcon - just import and use a jwt library.
- rcarmo 10y agoOh, I already do that. Thought my statement was plain enough.