Skip to main content

Cloud Run Flask Template

PyPI version

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

Image

Usage

To create a new Flask project using this template, follow these steps:

  1. Run the following command:
cloud_run_flask_template 

Image 2. Navigate to the newly created project directory:

cd <project_name>

Image 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.

Metadata

Release files for cloud-run-flask-template 0.4

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

Source distribution (sdist)

Source distribution for cloud-run-flask-template 0.4
File Size Uploaded
cloud_run_flask_template-0.4.tar.gz 4.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cloud-run-flask-template 0.4
File Interpreter ABI Platform
cloud_run_flask_template-0.4-py3-none-any.whl Python 3 none any Details

Total release size: 9.6 kB

Release files / cloud_run_flask_template-0.4.tar.gz

Download URL cloud_run_flask_template-0.4.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4f03816428b91d20fe890c922343ceb0612794cd0d8440f87c86c0057cb31370
BLAKE2b-256 checksum
How to use checksums
33e68267b4fafe954c0e8a524ee3952fa2451e0dd5a0ba81ec55a472f1c24a4c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.13

Release files / cloud_run_flask_template-0.4-py3-none-any.whl

Download URL cloud_run_flask_template-0.4-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3ccf37eae4bb2335155267046b3708b46a09daa5c647e048c0cb49ab02a6d974
BLAKE2b-256 checksum
How to use checksums
02b86966f77f3f207315281da80a71bdbb92afd9d5a9d719efae98372933f1c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.13

Release history Release notifications | RSS feed

This release

0.4 This release

2 release files

0.3

2 release files

0.2

2 release files

0.1

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