flask_for_startups
zsh-autoenv
flask_for_startups | zsh-autoenv | |
---|---|---|
24 | 7 | |
296 | 675 | |
- | - | |
3.8 | 0.0 | |
10 months ago | 2 months ago | |
Python | Perl | |
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:
zsh-autoenv
-
Managing project-specific configurations
Another one that I like: https://github.com/Tarrasch/zsh-autoenv
-
You can't use pip on Ubuntu 23.04 anymore
Can I ask if you're using zsh-autoenv or rtx or something else to achieve that?
-
Introducing pyautoenv: Activate and deactive python environments as you move around the file system
For some of my projects I use zsh-autoenv for this.
-
Automatically running commands when you enter or leave a directory
I think zsh-autoenv does a great job handling this, as you describe:
-
Repeatedly typing export FLASK_ENV=development and export FLASK_APP=hello.py before running flask
But IMO the best solution by far is to use autoenv. There is autoenv for bash and autoenv for zsh.
-
What are really usefull ZSH plug-ins?
zsh-autoenv
-
Zsh Plugins Commit TOP
autoenv 🥇 - If a directory contains a .env file, it will automatically be executed when you cd into it.
What are some alternatives?
apispec - A pluggable API specification generator. Currently supports the OpenAPI Specification (f.k.a. the Swagger specification)..
ohmyzsh - 🙃 A delightful community-driven (with 2,300+ contributors) framework for managing your zsh configuration. Includes 300+ optional plugins (rails, git, macOS, hub, docker, homebrew, node, php, python, etc), 140+ themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.
flask-ask - Alexa Skills Kit for Python
awesome-zsh-plugins - A collection of ZSH frameworks, plugins, themes and tutorials.
pycord - Pycord, a maintained fork of discord.py, is a python wrapper for the Discord API
fish-shell - The user-friendly command line shell.
flask-restless - NO LONGER MAINTAINED - A Flask extension for creating simple ReSTful JSON APIs from SQLAlchemy models.
zsh-autosuggestions - Fish-like autosuggestions for zsh
nextcord - A Python wrapper for the Discord API forked from discord.py
Autoenv - Directory-based environments.
flask-api - Browsable web APIs for Flask.
pyautoenv - Automatically activate and deactivate Python environments as you move around the file system.