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, replacing
<project_name>
with your desired project name:
cloud_run_flask_template <project_name>
- Navigate to the newly created project directory:
cd <project_name>
- 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.3.tar.gz
.
File metadata
- Download URL: cloud_run_flask_template-0.3.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 | 1056e9128b71ece578da769e9a6a4ae12b2c7f65137e88ace2916cada7c1e59f |
|
MD5 | ab668ca9caeb0d5c683ed5ec96175b62 |
|
BLAKE2b-256 | de773deabca5123966265eac429e5a64d521c7adf60511fe062a5d0d6037dc56 |
File details
Details for the file cloud_run_flask_template-0.3-py3-none-any.whl
.
File metadata
- Download URL: cloud_run_flask_template-0.3-py3-none-any.whl
- Upload date:
- Size: 5.1 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 | 96a96fe8a437ba3dc456e913317d11293131be3904ef7a97a477e31ff758f414 |
|
MD5 | d25d1fb8831b424cf51903ff5d9a0ebc |
|
BLAKE2b-256 | 0ec111f1877910a7349892a4c9db45fc4cec6d0847d212dbf082f8d56eae5111 |