A template for Google Cloud Run Flask development
Project description
Cloud Run Flask Template
A template for quickly setting up a Flask application for Google Cloud Run deployment.
Installation
You can install the Cloud Run Flask Template package using pip:
pip install cloud-run-flask-template
Usage
To create a new Flask project using this template, follow these steps:
- Run the following command:
cloud_run_flask_template
2. Navigate to the newly created project directory:
cd <project_name>
3. Start developing your Flask application within this project structure.
Project Structure
The project structure generated by the Cloud Run Flask Template is as follows:
<project_name>/
├── main.py
├── requirements.txt
├── templates/
│ └── index.html
└── README.md
main.py
: Contains the main Flask application code.requirements.txt
: Lists the required Python packages.templates/
: Directory for HTML templates.templates/index.html
: Sample HTML template for the homepage.README.md
: Instructions and information about the project.
Contributing
Contributions are welcome! Please feel free to open issues or submit pull requests.
License
This project is licensed under the MIT License - see the LICENSE file for details.
You can replace `cloud-run-flask-template` with your actual project name in the Usage section, and customize any other placeholders as needed. This README provides clear instructions on how to install and use your package, as well as an overview of the project structure and information on contributing and licensing.
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
Built Distribution
File details
Details for the file cloud_run_flask_template-0.4.tar.gz
.
File metadata
- Download URL: cloud_run_flask_template-0.4.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f03816428b91d20fe890c922343ceb0612794cd0d8440f87c86c0057cb31370 |
|
MD5 | b77839e4ab53d425dca76235e738cdea |
|
BLAKE2b-256 | 33e68267b4fafe954c0e8a524ee3952fa2451e0dd5a0ba81ec55a472f1c24a4c |
File details
Details for the file cloud_run_flask_template-0.4-py3-none-any.whl
.
File metadata
- Download URL: cloud_run_flask_template-0.4-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ccf37eae4bb2335155267046b3708b46a09daa5c647e048c0cb49ab02a6d974 |
|
MD5 | 297b6cba6931f9a95b40662d3806fc73 |
|
BLAKE2b-256 | 02b86966f77f3f207315281da80a71bdbb92afd9d5a9d719efae98372933f1c1 |