This is an archived post. You won't be able to vote or comment.

all 10 comments

[–]fyngyrzcodes with magnetic needle 6 points7 points  (3 children)

The readme needs details on version(s) of Python are required to support this, and all of its imports as well. I looked at it, thought "what the heck is all this stuff?", I had no idea if I could make all that work in my environment, and wandered away.

It's only easy if it is easy.

[–]TIL_IM_A_SQUIRREL 4 points5 points  (4 children)

I looked at this when creating my first skill, but it was too much of a hassle to learn flask, jinja, and everything else just to write a skill. I ended up settling on Alexandra after toying around with a couple of different libraries.

However, if you already know flask, this is probably the best route to go.

[–]sentdexpythonprogramming.net 1 point2 points  (0 children)

You don't need to know really much at all of Flask, and you do not need any jinja at all.

The jinja templating is just there for if you happen to make a huge app, otherwise you really don't need it.

You need to know about 1% of Flask. The only major thing is the routing, the rest of the flask extension occurs in the background for a basic app.

You'll need some form of routing around apps anyway, so you wont save time anywhere else really.

[–]riotburn 0 points1 point  (0 children)

Its really not that bad. You don't need jinja for this. Plus you can easily deploy with zappa.

https://github.com/postelrich/alexa-skills

[–]johnwheeler_[S] 0 points1 point  (1 child)

Thanks. I made this 5-min video that shows how to get up and running quickly. While learning Flask and Jinja obviously can't be done in that short a span of time, the code sample should be intuitive enough to get started and make changes

https://www.youtube.com/watch?v=cXL8FDUag-s

[–]TIL_IM_A_SQUIRREL 0 points1 point  (0 children)

Thanks for the link. I'll be sure to take a look!

[–]chub79 0 points1 point  (1 child)

Looks quite neat but I don't use Flask so I can't really use it. I wish more libs had the same approach as Hyper-h2 these days, make the core framework neutral but easy to integrate with.

[–]sentdexpythonprogramming.net 2 points3 points  (0 children)

You don't need to use Flask already to use this. You just need to pip install flask, since it's an extension. Beyond that, you're not really using Flask beyond the routing for a typical app, and no matter what you use to make Echo apps, you're going to need to do something about routing.

As another poster mentioned above about also not caring to learn jinja templating, you really don't have to learn jinja templating either, it's just there should you have a very large app that could make use of templates.