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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kickstart_flask_app-1.2.0.tar.gz | 6.3 kB | Without provenance | Details for kickstart_flask_app-1.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kickstart_flask_app-1.2.0-py3-none-any.whl | Python 3 | none | any | Details for kickstart_flask_app-1.2.0-py3-none-any.whl |
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
|
Security for kickstart-flask-app 1.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.