A solid foundation for your flask app

Related tags

FlaskFlask-Foundation
Overview

Flask Foundation

Build Status

There is a cookiecutter version of this repo at https://github.com/JackStouffer/cookiecutter-Flask-Foundation.

Documentation is located at https://jackstouffer.com/flask-foundation/

Flask Foundation is a solid foundation for flask applications, built with best practices, that you can easily construct your website/webapp off of. Flask Foundation is different from most Flask frameworks as it does not assume anything about your development or production environments. Flask Foundation is platform agnostic in this respect.

Built off of the bootstrapy project

Best practices were learned from:

License

Flask-Foundation is licensed under the BSD license. For more info see LICENSE.md

Want to learn more about Flask?

I also wrote a book on Flask! You can order it here.

Comments
  • Expired Cert

    Expired Cert

    This may be the wrong forum for this report, but the docs this repo links to force-redirect to HTTPS with an expired Lets Encrypt cert. Chrome gives very scary warnings about your website.

    opened by SamProtas 3
  • modernizr missing

    modernizr missing

    Thanks for a great template.

    modernizr lib isn't actually included in your repo but the pages reference it. From what I understand you have to go to the modernizr website and build it for the features you need to check for. Is there a reason it's referenced but nothing is in static/js/vendor ?

    opened by zerox1212 2
  • How to best integrate Flask-SocketIO

    How to best integrate Flask-SocketIO

    Can you give any recommendation for the best way to integrate Flask-SocketIO into the Flask-Foundation structure?

    In manage.py, I added socketio = SocketIO(app), then I created a new Flask-Script command to run socketio.run(app) instead of the built-in debug server.

    However, now I'm unsure how to import/access socketio from another file so that I can use @socketio.on('message') and socketio.start_background_task(). Is there a better place than manage.py for me to create socketio = SocketIO(app)?

    question 
    opened by hbradio 2
  • SCSS Missing?

    SCSS Missing?

    So I'm trying to load some example templates using foundation docs for my Python flask app and noticed that it wasn't looking the same. Then found that it looks like I'm missing any SCSS in the installed module which from my understanding is what foundation is built on. One example is that callouts just render with the text with no border or other styling as exampled in the docs. Am I meant to import this another way, or is there something else I'm missing with this one?

    I can provide more info or pictures if needed. Thanks.

    opened by PylotLight 1
  • Production server

    Production server

    I have used Flask-Foundation. I would like to create a production server. I searched for a tutorial but I found tutorials for simple Flask apps that don't use the Flask-Script extension. Do you know of any tutorial that I can follow?

    opened by bsamadi 1
  • Fix broken headings in Markdown files

    Fix broken headings in Markdown files

    GitHub changed the way Markdown headings are parsed, so this change fixes it.

    See bryant1410/readmesfix for more information.

    Tackles bryant1410/readmesfix#1

    opened by bryant1410 1
  • Perhaps Flask-Assets should be removed

    Perhaps Flask-Assets should be removed

    I am looking for flask skeleton that could accelerate the development of flask webpage or webapp. There are two candidate, one is Flask-Foundation, the other is overholt. Both of them use flask-assets for assets bundle. But I think that the frontend tasks should be done with frontend toolchains. So I think that flask-assets should be removed and add npm package.json which contains gulp/webpack or something else.

    question 
    opened by holmesconan 1
  • manage.py incorrect call of create_app

    manage.py incorrect call of create_app

    From a fresh clone:

    $ ./manage.py 
    Traceback (most recent call last):
      File "./manage.py", line 13, in <module>
        app = create_app('appname.settings.%sConfig' % env.capitalize(), env=env)
    TypeError: create_app() got an unexpected keyword argument 'env'
    
    opened by wiseman 1
  • Fix find commands in makefile

    Fix find commands in makefile

    in make clean all the commands were terminated with a backslash for no good reason. Also the find commands were missing ; at the end of the exec which is required.

    opened by onlyhavecans 1
  • docs: fix simple typo, supportted -> supported

    docs: fix simple typo, supportted -> supported

    There is a small typo in manage.py.

    Should read supported rather than supportted.

    Semi-automated pull request generated by https://github.com/timgates42/meticulous/blob/master/docs/NOTE.md

    opened by timgates42 0
Releases(1.4)
  • 1.4(Aug 14, 2021)

    • Updated Flask
    • Updated Flask-SQLAlchemy
    • Updated Flask-Assets
    • Updated Flask-WTF
    • Updated Flask-DebugToolbar
    • Updated Flask-Login
    • Updated jsmin
    • Updated pytest
    • Updated Bootstrap CSS and JS
    • Updated templates for the new Bootstrap version
    • Updated jQuery
    • Remove Flask-Scripting
    Source code(tar.gz)
    Source code(zip)
  • 1.3(Mar 19, 2015)

    Since the last release, there have been 15 commits and just over 200 more stars to this repo. Another thank you to all of you who use this project.

    New Features:

    • A cookie cutter version! (finally)
    • Now using Py.test fixtures rather than the old setUp/tearDown
    • Updated the third party libraries
    • Thanks to @joshfriend who
      • Cleaned up the requirements.txt file
      • Added basic password hashing to the user model
    • Thanks to @jstacoder who added some awesome utility functions to the manage.py script

    At this point, baring a major change in Flask in the future, I believe that this will be the last release for Flask Foundation. I am in no way abandoning Flask Foundation, but I feel that there really isn't anything else to add that wouldn't go against the goals of the project.

    If you disagree, please submit a pull request and I would be happy to look it over.

    -- Jack

    Source code(tar.gz)
    Source code(zip)
  • 1.2(Jul 21, 2014)

    A big thank you to all current 436 people who stared this repo. This simple framework has more stars than several popular flask extensions including flask-security and flask-cache. So again, huge thank you for making this so popular.

    Additions since last release:

    • flask-login
    • added Modernizr
    • updated js and css libraries
    Source code(tar.gz)
    Source code(zip)
  • v1.1(Sep 28, 2013)

    • switched to py.test for tests
    • form tests
    • url tests
    • testing database submitting on model tests
    • added documentation on how to deploy your application
    Source code(tar.gz)
    Source code(zip)
  • v1.0(Sep 22, 2013)

Owner
Jack Stouffer
Web developer, open source contributor
Jack Stouffer
flask extension for integration with the awesome pydantic package

Flask-Pydantic Flask extension for integration of the awesome pydantic package with Flask. Installation python3 -m pip install Flask-Pydantic Basics U

248 Dec 26, 2022
iloveflask is a Python library to collect functions that help a flask developer generate reports, config files and repeat code.

I Love Flask iloveflask is a Python library to collect functions that help a flask developer generate reports, config files and repeat code. Installat

2 Dec 29, 2021
A python package for integrating ripozo with Flask

flask-ripozo This package provides a dispatcher for ripozo so that you can integrate ripozo with Flask. As with all dispatchers it is simply for getti

Vertical Knowledge 14 Dec 03, 2018
Pagination support for flask

flask-paginate Pagination support for flask framework (study from will_paginate). It supports several css frameworks. It requires Python2.6+ as string

Lix Xu 264 Nov 07, 2022
Free casino website. Madden just for learning / fun

Website Casino Free casino website. Madden just for learning / fun. Uses Jinja2 (HTML), Flask, JavaScript, etc. Dice game Preview

Kirill Zhosul 0 Jun 22, 2022
Flask RESTful Web services using API to communicate between client and server.

Welcome! Open up two terminals, one for client and for server each Terminal 1 Terminal 2 Now navigate to the CW2_code directory in both like so $ cd C

Sehra Elahi 1 Nov 23, 2021
API to get the details of the characters in the Money heist TV show.

Project Heist Description: Project Heist is a RESTful API made using Python and Flask. This API is inspired by the popular Spanish TV show Money Heist

Rahul V 5 Dec 19, 2022
A web application made with Flask that works with a weather service API to get the current weather from all over the world.

Weather App A web application made with Flask that works with a weather service API to get the current weather from all over the world. Uses data from

Christian Jairo Sarmiento 19 Dec 02, 2022
5 Flask Projects To Get Started

5 Flask Projects Projects Made By Using Flask Projects List Rock Paper Scissor Game - A Simple Game Weather App - A OpenWeatherMap Scraper Task List -

Root_Arch 59 Dec 18, 2022
HTTP security headers for Flask

Talisman: HTTP security headers for Flask Talisman is a small Flask extension that handles setting HTTP headers that can help protect against a few co

Google Cloud Platform 853 Dec 19, 2022
A live chat built with python(flask + gevent + apscheduler) + redis

a live chat room built with python(flask / gevent / apscheduler) + redis Basic Architecture Screenshot Install cd /path/to/source python bootstrap.py

Limboy 309 Nov 13, 2022
OpenTracing instrumentation for the Flask microframework

Flask-OpenTracing This package enables distributed tracing in Flask applications via The OpenTracing Project. Once a production system contends with r

3rd-Party OpenTracing API Contributions 133 Dec 19, 2022
Python web-app (Flask) to browse Tandoor recipes on the local network

RecipeBook - Tandoor Python web-app (Flask) to browse Tandoor recipes on the local network. Designed for use with E-Ink screens. For a version that wo

5 Oct 02, 2022
A fairly common feature in web applications to have links that open a popover when hovered

Add Popovers to Links in Flask App It is a fairly common feature in web applications to have links that open a popover when hovered. Twitter does this

Gitau Harrison 1 Jan 22, 2022
Regex Converter for Flask URL Routes

Flask-Reggie Enable Regex Routes within Flask Installation pip install flask-reggie Configuration To enable regex routes within your application from

Rhys Elsmore 48 Mar 07, 2022
Learn python and flask,just a tony blog system

flaskblog Learn python and flask,just a tony blog system based on flask and mysql It is similar to cleanblog, a blog system based on flask and mongoen

shin 174 Dec 01, 2022
Rubik's cube assistant on Flask webapp

webcube Rubik's cube assistant on Flask webapp. This webapp accepts the six faces of your cube and gives you the voice instructions as a response. Req

Yash Indane 56 Nov 22, 2022
SeaSurf is a Flask extension for preventing cross-site request forgery (CSRF).

Flask-SeaSurf SeaSurf is a Flask extension for preventing cross-site request forgery (CSRF). CSRF vulnerabilities have been found in large and popular

Max Countryman 183 Dec 28, 2022
Lux Academy & Data Science East Africa Python Boot Camp, Building and Deploying Flask Application Using Docker Demo App.

Flask and Docker Application Demo A Docker image is a read-only, inert template that comes with instructions for deploying containers. In Docker, ever

Harun Mbaabu Mwenda 11 Oct 29, 2022
Open-source Flask Sample built on top of flask-dance library

Open-source Flask Sample built on top of flask-dance library. The project implements the social login for Github and Twitter - Originally coded by TestDriven.IO.

App Generator 4 Jul 26, 2022