All Projects → candidtim → Cookiecutter Flask Minimal

candidtim / Cookiecutter Flask Minimal

Cookicutter template for minimal production-ready Flask project

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Cookiecutter Flask Minimal

Full Stack
Full stack, modern web application generator. Using Flask, PostgreSQL DB, Docker, Swagger, automatic HTTPS and more.
Stars: ✭ 451 (+839.58%)
Mutual labels:  flask, cookiecutter
Cookiecutter Flask
A flask template with Bootstrap 4, asset bundling+minification with webpack, starter templates, and registration/authentication. For use with cookiecutter.
Stars: ✭ 3,967 (+8164.58%)
Mutual labels:  flask, cookiecutter
Cookiecutter Flask Pythonic
Pythonic starter boilerplate for Flask
Stars: ✭ 37 (-22.92%)
Mutual labels:  flask, cookiecutter
Cookiecutter Flask Restful
Flask cookiecutter template for builing APIs with flask-restful, including JWT auth, cli, tests, swagger, docker and more
Stars: ✭ 556 (+1058.33%)
Mutual labels:  flask, cookiecutter
Flask Jwt Router
Flask JWT Router is a Python library that adds authorised routes to a Flask app.
Stars: ✭ 43 (-10.42%)
Mutual labels:  flask
Analysispreservation.cern.ch
Source code for the CERN Analysis Preservation portal
Stars: ✭ 37 (-22.92%)
Mutual labels:  flask
Multitube
Watch multiple YouTube videos by providing video links or playlist links or channel links or maybe a mix of them! All without opening a single extra tab.
Stars: ✭ 36 (-25%)
Mutual labels:  flask
Flask Json
Flask-JSON is a Flask extension providing better JSON support.
Stars: ✭ 34 (-29.17%)
Mutual labels:  flask
Scaraplate
Scaraplate is a wrapper around cookiecutter which allows to repeatedly rollup project templates onto concrete projects.
Stars: ✭ 47 (-2.08%)
Mutual labels:  cookiecutter
Flask pytorch
using flask to run pytorch model
Stars: ✭ 44 (-8.33%)
Mutual labels:  flask
Flask Dashboard Corona Dark
Flask Dashboard - Corona Dark Design | AppSeed
Stars: ✭ 41 (-14.58%)
Mutual labels:  flask
8d Audio
Some dsp to make songs "8D"
Stars: ✭ 43 (-10.42%)
Mutual labels:  flask
Openvpn Cms Flask
一套关于openvpn服务的后台管理系统,通过前后端分离的方式设计,便于用户通过web端进行增删用户,并查询用户的使用时间和地理位置等信息。
Stars: ✭ 40 (-16.67%)
Mutual labels:  flask
Maps4all
Generalized application for displaying location-based resources on a map
Stars: ✭ 36 (-25%)
Mutual labels:  flask
Python crawler
It's designed to be a simple, tiny, pratical python crawler using json and sqlite instead of mysql or mongdb. The destination website is Zhihu.com.
Stars: ✭ 45 (-6.25%)
Mutual labels:  flask
Healthcheck
Health Check ✔ is a Machine Learning Web Application made using Flask that can predict mainly three diseases i.e. Diabetes, Heart Disease, and Cancer.
Stars: ✭ 35 (-27.08%)
Mutual labels:  flask
Python Api Development Fundamentals
Develop a full-stack web application with Python and Flask
Stars: ✭ 44 (-8.33%)
Mutual labels:  flask
Reddit sse stream
A Server Side Event stream to deliver Reddit comments and submissions in near real-time to a client.
Stars: ✭ 39 (-18.75%)
Mutual labels:  flask
Cookiecutter Pycharm Remote Docker
PyCharm project template for development in remote docker environment
Stars: ✭ 39 (-18.75%)
Mutual labels:  cookiecutter
Flask Dashboard Light Bootstrap
Flask Dashboard - Light Bootstrap | AppSeed
Stars: ✭ 42 (-12.5%)
Mutual labels:  flask

flask-minimal

This is a minimal Flask project, with no external dependencies except for Flask itself. It doesn't impose how to implement the web application, but it is ready for production deployment from the start.

Usage

Install cookiecutter:

pip install --user cookiecutter

Create your application from this template:

cookiecutter https://github.com/candidtim/cookiecutter-flask-minimal.git

All set! Run the application:

cd yourapplication
make run

And then open it at http://127.0.0.1:5000/

Features

Included:

  • minimal production-ready Flask application: root package, sample static resource, sample template and an index view, as per Larger Applications

  • setuptools configuration to package and release the application, as well as to develop locally, as per Deploying with Setuptools

  • configuration system, as per Configuration Handling

  • basic logging configuration, as per Logging to a File

  • sample test and configuration necessary to run the tests, as per The Testing Skeleton

  • Makefile with few typical tasks automated (see generated README for details)

Not included:

  • everything else: there is no SQLAlchemy, or MongoKit, or Bootstrap CSS, or React, or whatever else here; it is up to you to chose how to implement your application

  • no choice on how to deploy the application is made, no WSGI container is chosen; if you are interested in an out-of-the-box deployment automation, check out accompanying cookiecutter-flask-ansible; see generated README for more ideas about deployment

Contributions

... are welcome! Feel free to create a pull request to fix bugs or keep up to date.

If you think some additional feature is indispensable, feel free to create an issue or a pull request, but bare in mind that the goal of this template is to stay a "minimal" one. If you would like to add a feature, maybe best way to do so is to make it optional and off by default then. One can use cookiecutter's choice variables, and, ultimately, hooks, in order to create an optional feature.

If you do a change, use make test from root directory to test the updated template.

Attributions

Configuration of this entire project template is based on Flask documentation. Please, note however, that this template is not guaranteed to follow Flask documentation precisely.

Possible future improvements

  • add optional configuration for e-mail error reporting and/or Sentry
  • add choice for testng framework (and also make it entirely optional)
  • find a cross-platform replacement to a Makefile
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].