Skip to main content

A template for Google Cloud Run Flask development

Project description

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.

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

cloud_run_flask_template-0.4.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

cloud_run_flask_template-0.4-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file cloud_run_flask_template-0.4.tar.gz.

File metadata

File hashes

Hashes for cloud_run_flask_template-0.4.tar.gz
Algorithm Hash digest
SHA256 4f03816428b91d20fe890c922343ceb0612794cd0d8440f87c86c0057cb31370
MD5 b77839e4ab53d425dca76235e738cdea
BLAKE2b-256 33e68267b4fafe954c0e8a524ee3952fa2451e0dd5a0ba81ec55a472f1c24a4c

See more details on using hashes here.

File details

Details for the file cloud_run_flask_template-0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for cloud_run_flask_template-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3ccf37eae4bb2335155267046b3708b46a09daa5c647e048c0cb49ab02a6d974
MD5 297b6cba6931f9a95b40662d3806fc73
BLAKE2b-256 02b86966f77f3f207315281da80a71bdbb92afd9d5a9d719efae98372933f1c1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page