Skip to main content

kickstart-flask-app

This is a simple package to kickstart a new Flask app project. It creates a new Flask project with a simple structure and some endpoints.

Install

pip install kickstart-flask-app

Usage

You could use this package in two ways:

1. Command line (recommended)

Type the following in your terminal

kickstart-flask-app

The above will propmt you to enter some data, press enter to use defaults. This will create a new Flask project in the path you run the python interpreter

2. The Python interpreter

from kickstart_flask_app import console

console()

Same as the command line, this will prompt you to enter some data, press enter to use defaults.

Start the server

First, setup the virtual environment and set environment variables. (APP_ENV or FLASK_ENV to 'dev' or 'prod')

cd <your_project_name>
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
export FLASK_ENV=dev

Then start the server

python wsgi.py

The server should be running on http://localhost:5000

Endpoints provided

/ renders html template

/api returns json data

Metadata

Release files for kickstart-flask-app 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kickstart-flask-app 1.2.0
File Size Uploaded
kickstart_flask_app-1.2.0.tar.gz 6.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for kickstart-flask-app 1.2.0
File Interpreter ABI Platform
kickstart_flask_app-1.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 13.7 kB

Release files / kickstart_flask_app-1.2.0.tar.gz

Download URL kickstart_flask_app-1.2.0.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
5f83254f0176dd186b30820a54ecc5628c26ee4a935e7e3b12246426da36caf4
BLAKE2b-256 checksum
How to use checksums
8b6a054efdd31c5ddfc386afc0c2320760816267c6e3eef105871865e239f73d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / kickstart_flask_app-1.2.0-py3-none-any.whl

Download URL kickstart_flask_app-1.2.0-py3-none-any.whl
Size 7.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a1e682727e9ea4247f8a0b2e2d04a41cb062ab341cd0f6670a251960bd6c73f2
BLAKE2b-256 checksum
How to use checksums
e28bd2ef45c9143885f34337980d209c0ca82cbfdf2e553bda759fc03a2e0c2d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files

1.1.6

1 release file

1.1.5

1 release file

1.1.4

1 release file

1.1.3

1 release file

1.1.2

1 release file

1.1.1

1 release file

1.1.0

1 release file

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page