flask_for_startups
LocalStack
flask_for_startups | LocalStack | |
---|---|---|
24 | 154 | |
296 | 52,204 | |
- | 0.8% | |
3.8 | 9.9 | |
10 months ago | 2 days ago | |
Python | Python | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
flask_for_startups
-
Why use marshmallow with REST API and ORM?
Ref
-
Repeatedly typing export FLASK_ENV=development and export FLASK_APP=hello.py before running flask
Example of .flaskenv Example of config file
-
[AF] Role-based authentication, alternatives to [Flask-User]?
If you want to see the full example, here's my repo
-
ML web app
Here's the flask repo that I used. The repo doesn't have the specific ML bits, but all you have to do is:
-
Frankly, I don't like Flask. Am I doing something wrong?
I use this structure: https://github.com/nuvic/flask_for_startups
-
Use SQLAlchemy with and without Flask
@app.teardown_appcontext def shutdown_session(response_or_exc): db.remove() Ref
-
In what cases do you apply decorators to Route Functions?
for reference: https://github.com/nuvic/flask_for_startups/blob/main/app/permissions.py
-
How to be a better Flask Developer
I also made a repo https://github.com/nuvic/flask_for_startups showing some of the patterns I found useful while working in startups.
- Can anyone share their flask project that uses poetry, pre-commit, tox, pytest, coverage? I was looking for a practical example
-
Pytest database not creating tables
Here's my conftest setup for reference (repo here:
LocalStack
- LocalStack – a functional local AWS cloud stack
-
Let's build a screenshot API
Later you can use any S3 compatible storage because the code I write will still work, but for testing purposes on my local machine, I will use LocalStack:
-
LocalStack e AWS CLI: Como desenvolver localmente com a AWS
Acesse o site da LocalStack e faça login.
-
Cutting down AWS cost by $150k per year simply by shutting things off
To give this a slightly different spin:
--> "The best optimization is simply not spinning things up."
At least for local development and testing, as made possible by LocalStack (https://localstack.cloud), among other local testing solutions and emulators.
We've seen so many teams fall into the trap of "someone forgot to shut down dev resource X for a week and now we've racked up a $$$ bill on AWS".
What is everyone's strategy to avoid this kind of situation? Tools like `aws-nuke` (https://github.com/rebuy-de/aws-nuke) are awesome (!) to clean up unused resources, but frankly they should not be necessary in the first place.
-
Getting Amazonka S3 to work with localstack
(For others who hadn't heard of it: localstack is
- LocalStack v3.0.0
- Localstack, a "AWS" local para desenvolvimento em cloud
-
Integration tests with AWS S3 buckets using Localstack and Testcontainers
LocalStack Website
- LocalStack: A functional local AWS cloud stack
-
Simulando a AWS no seu ambiente Local
O Localstack: https://localstack.cloud/, é um recurso que possibilita simular diversos recursos AWS (dynamoDB, s3, iam, cognito, ses), dentro da sua máquina, utilizando o docker.
What are some alternatives?
apispec - A pluggable API specification generator. Currently supports the OpenAPI Specification (f.k.a. the Swagger specification)..
Moto - A library that allows you to easily mock out tests based on AWS infrastructure.
flask-ask - Alexa Skills Kit for Python
sst - Build modern full-stack applications on AWS
pycord - Pycord, a maintained fork of discord.py, is a python wrapper for the Discord API
terragrunt - Terragrunt is a thin wrapper for Terraform that provides extra tools for working with multiple Terraform modules.
flask-restless - NO LONGER MAINTAINED - A Flask extension for creating simple ReSTful JSON APIs from SQLAlchemy models.
OpenFaaS - OpenFaaS - Serverless Functions Made Simple
nextcord - A Python wrapper for the Discord API forked from discord.py
eks-anywhere - Run Amazon EKS on your own infrastructure 🚀
flask-api - Browsable web APIs for Flask.
Appwrite - Your backend, minus the hassle.