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.

Show HN: Lambdarest – flask like web framework for AWS Lambda

4 pointsby supernihilabout 5 years ago

1 comment

supernihilabout 5 years ago
previous mention: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=13698965" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=13698965</a><p>why mention again:<p>we have reached v 9.0.0 and so much has happened in the meantime (check history here: <a href="https:&#x2F;&#x2F;github.com&#x2F;trustpilot&#x2F;python-lambdarest&#x2F;blob&#x2F;master&#x2F;HISTORY.md" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;trustpilot&#x2F;python-lambdarest&#x2F;blob&#x2F;master&#x2F;...</a>):<p>* 15 contributors over time and battle-tested in production since 2017<p>* python 3.6+ only<p>* flask like routing decorator<p>* supports aws Application Load Balancer and &quot;normal&quot; api gateway<p>* supports query_params, body_params and path_params<p>* (still) uses jsonschema for validation<p>* supports Lambda authorization scopes<p>* lambdarest strictly does routing&#x2F;handling and doesn&#x27;t interfer with deploying<p>* low amount of code lines: 1 file, 346 lines<p>* uses poetry for packaging<p>two tutorials have been published by users over the years:<p>* <a href="http:&#x2F;&#x2F;www.devgrok.com&#x2F;2019&#x2F;03&#x2F;create-private-microservice-using.html" rel="nofollow">http:&#x2F;&#x2F;www.devgrok.com&#x2F;2019&#x2F;03&#x2F;create-private-microservice-u...</a><p>* <a href="https:&#x2F;&#x2F;rockset.com&#x2F;blog&#x2F;building-a-serverless-microservice-using-rockset-and-aws-lambda&#x2F;" rel="nofollow">https:&#x2F;&#x2F;rockset.com&#x2F;blog&#x2F;building-a-serverless-microservice-...</a><p>We are very friendly and love cooperating, come join us! :-)<p>.<p>small example:<p><pre><code> from lambdarest import lambda_handler @lambda_handler.handle(&quot;get&quot;, path=&quot;&#x2F;foo&#x2F;&lt;int:id&gt;&#x2F;&quot;) def my_own_get(event, id): return {&quot;my-id&quot;: id}</code></pre>