flask_for_startups
microblog
flask_for_startups | microblog | |
---|---|---|
24 | 220 | |
296 | 4,430 | |
- | - | |
3.8 | 2.1 | |
10 months ago | 15 days ago | |
Python | Python | |
MIT License | MIT License |
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:
microblog
-
Simple Flask Integration for an Elastic Semantic Search App
In this blog, we're going to address the "on any website" part of a Search Solution. Or at least - propose a starting point for it. There are many great tutorials out there for a deep dive on Flask - one of the best from my colleague Miguel.
-
Ask HN: Washed out PHP Dev – What to do next?
- https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial...
- The Flask Mega-Tutorial, Part I: Hello, World
- Deploying python code as a webapp
-
Hosting small script
If you'd like to deploy a web app, Flask is your best friend. It's very user friendly and there's a lot of great tutorials online. The only thing you'd need other than Python knowledge is some basic understanding of HTML/CSS and Jinja notation for variables, both of which are pretty intuitive to learn. Good luck!
-
Ask HN: How to get back to programming Python?
I can't speak highly enough of Miguel Grinberg's work with Python/Flask (https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial...) and the community he's created around it, for both beginners and advanced folks.
Racing through his mega tutorial was a great refresher for me on the fundamentals, and it's easy to plug in computer vision & related libraries/extensions/packages.
-
Structuring scalable flask app
Use miguel grinberg’s tutorial https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-i-hello-world
-
Flask blueprints and cyclic dependencies with routes.py files
I got a recommendation (from a few places) to use Miguel Grinberg's microblog series to help me get up to speed on some flask things. I'm on ch 15 with blueprints, and am running into pylint cyclic import errors, both on my app and in the actual project (https://github.com/miguelgrinberg/microblog/tree/v0.15?search=1)
-
How to Visualize a Social Network in Python with a Graph Database: Flask + Docker + D3.js
In the project root directory create a folder called static with one subfolder called js and another called css. The js folder will contain all of the needed local JavaScript files while the css folder will contain all the CSS stylesheets. In the js folder create a file called index.js and in the css folder one called style.css. Just leave them empty for now. If you want to find out more about web development with Flask I suggest you try out this tutorial. Your current project structure should like this:
-
What Is The Best Tutorial To Pick Up Flask?
https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-i-hello-world is not perfect, but a great start.
What are some alternatives?
apispec - A pluggable API specification generator. Currently supports the OpenAPI Specification (f.k.a. the Swagger specification)..
flask-app-tutorial - Project for how to create a flask web application.
flask-ask - Alexa Skills Kit for Python
build-a-saas-app-with-flask - Learn how to build a production ready web app with Flask and Docker.
pycord - Pycord, a maintained fork of discord.py, is a python wrapper for the Discord API
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
flask-restless - NO LONGER MAINTAINED - A Flask extension for creating simple ReSTful JSON APIs from SQLAlchemy models.
CS50x-2021 - 🎓 HarvardX: CS50 Introduction to Computer Science (CS50x)
nextcord - A Python wrapper for the Discord API forked from discord.py
flasky - Companion code to my O'Reilly book "Flask Web Development", second edition.
flask-api - Browsable web APIs for Flask.
kivy - Open source UI framework written in Python, running on Windows, Linux, macOS, Android and iOS