Skip to main content

Flask application scaffolding tool

Project description

flask-kickstart

This is a Python-based command-line tool for scaffolding a Flask project with a predefined structure. It generates a boilerplate for a Flask application, including basic configuration, routes, templates, and testing setup.

Features

Automatically sets up a Flask project with a basic directory structure. Includes boilerplate code for:

  • app/init.py: Flask application factory.
  • app/routes.py: Sample route with HTML template rendering.
  • config.py: Configurable settings (e.g., SECRET_KEY).
  • run.py: Application entry point.
  • tests/test_app.py: Basic unit test for Flask routes.
  • templates/base.html: Basic HTML template.
  • requirements.txt: List of required dependencies (Flask, Flask-SQLAlchemy).
  • Object-oriented design to ensure modularity and scalability.

Prerequisites

Before using this tool, ensure you have the following installed:

  • Python 3.6+
  • Flask (pip install Flask)

Customization

You can modify the template files in the templates/ directory to customize the structure of your Flask project. Placeholders like {{secret_key}} in config.py.template can be dynamically replaced by the tool if needed.

Contribution

If you'd like to contribute to this project, feel free to submit a pull request or open an issue.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

flask_kickstart-0.2-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file flask_kickstart-0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for flask_kickstart-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3a2fb7dd7f187dbbb5948059d9aa30df1b61ada3fca171690e8407c2ab79107f
MD5 8089c8aa1d9e039f4d571091067b80d2
BLAKE2b-256 eddf933903b58ca1a3ea301f803897529b3fc23b2289c2e53c9e037d7ccfca0f

See more details on using hashes here.

Supported by

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