3 ms·
This is nice to see. I don't use anything but http://bottlepy.org http://bottlepy.org these days because I find the decorator approach to be more elegant, but I
by rcarmo 10y ago
This is nice to see. I don't use anything but http://bottlepy.org http://bottlepy.org these days because I find the decorator approach to be more elegant, but I do have a few Flask-based tools I adopted, and (for instance) patching them to serialize datetimes was a pain.
- jaxondu 10y agoSwitch 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.
- pbreit 10y agoAre there any decent Bottle bootstrap/boilerplates that provide some of the basics that every project needs like user accounts and admin?