Skip to main content

A CLI for autogenerate folder structure and boilerplate for Flask applications

Project description

flask-sketch

A Python CLI for auto-generate folders structure and boilerplate code for Flask Applications.

Installation

Flask Sketch is available on PyPi. Simply use pip to install Flask Sketch:

pip install flask-sketch

Usage

Flask-Sketch have a single command to create a new project

python -m flask_sketch myprojectname

This will start a CLI which ask some questions about what you want in your new application like database choice, login framework, REST framework and some other features you might want. The name of your project will be myprojectname (note: the name of project can only contains letters, numbers and underscore but have to start with a letter)

Some questions depends on past answers you gave (example: if you choose a SQL database you will be asked if you want flask-migrate to help with migrations)

Demo

A simple demo using Flask Sketch

Alt Text

Future

For now Flask-Sketch is basic a study project for myself but I want to add support for:

  • Authlib (to deal with OAuth2)
  • More options to deal with migrations
  • Environs lib (another alternative for settings)
  • Others features extensions to flask:
    • Flask-Talisman
    • Pytest-Flask
    • Flask-Babel
    • Flask-File-Upload
    • Flask-HTMLmin (to minifier HTML)
    • Flask-Static-Digest
    • Something to help with text search.
    • Something to help with GraphQL

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flask-sketch-0.3.29.tar.gz (26.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flask_sketch-0.3.29-py3-none-any.whl (59.3 kB view details)

Uploaded Python 3

File details

Details for the file flask-sketch-0.3.29.tar.gz.

File metadata

  • Download URL: flask-sketch-0.3.29.tar.gz
  • Upload date:
  • Size: 26.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.9.1 Linux/5.4.0-67-generic

File hashes

Hashes for flask-sketch-0.3.29.tar.gz
Algorithm Hash digest
SHA256 71415a0f3abdf59ac94ef2d23488c0a5488740ddbfb442dff2d3a0e33fedb75f
MD5 610a444099d753258f0147ca6d473d97
BLAKE2b-256 31591eb94d3025b9198931d2afa2a823461b283a151430ba3ec26d6ae4c185d2

See more details on using hashes here.

File details

Details for the file flask_sketch-0.3.29-py3-none-any.whl.

File metadata

  • Download URL: flask_sketch-0.3.29-py3-none-any.whl
  • Upload date:
  • Size: 59.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.9.1 Linux/5.4.0-67-generic

File hashes

Hashes for flask_sketch-0.3.29-py3-none-any.whl
Algorithm Hash digest
SHA256 66fda1d0308f633984a6e28c6ca2bd3b8976e5a2b59285d3d97fe6069baec313
MD5 458f125f999f938f90520a9bacb691f9
BLAKE2b-256 0032f33eb9505a0c229d70b99485c0bbe07b8c6c77beb04fae0fd93142e595a3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page