Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Create a 1-click Python website directly from Pythonista
-
To celebrate that AWS serverless Lambda functions now support Python 3.6, I polished my old deployer.
Now the only thing you need to do on the AWS pages is to get your credentials and a region. After that everything can be done in Pythonista - no mucking around the painful configuration pages of AWS.
So, what is it for?
You can create a Python function like this:
def handler(event = None, context = None): """ @awslambda """ return { 'key': 'my API return value' }
Then run the deployer (conveniently from Pythonista action menu) and you get a url for accessing your new AWS Lambda function.
Or, more interestingly to me, add another tag in the docstring and you can return a web page instead - presto, instant dynamic Python microsite:
def handler(event = None, context = None): """ @awslambda @html """ return '<HTML><BODY>Hello</BODY></HTML>'
See github for code & instructions.