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

Usage

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

  1. Run the following command, replacing <project_name> with your desired project name:
cloud_run_flask_template <project_name>
  1. Navigate to the newly created project directory:
cd <project_name>
  1. 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.3.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

cloud_run_flask_template-0.3-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for cloud_run_flask_template-0.3.tar.gz
Algorithm Hash digest
SHA256 1056e9128b71ece578da769e9a6a4ae12b2c7f65137e88ace2916cada7c1e59f
MD5 ab668ca9caeb0d5c683ed5ec96175b62
BLAKE2b-256 de773deabca5123966265eac429e5a64d521c7adf60511fe062a5d0d6037dc56

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cloud_run_flask_template-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 96a96fe8a437ba3dc456e913317d11293131be3904ef7a97a477e31ff758f414
MD5 d25d1fb8831b424cf51903ff5d9a0ebc
BLAKE2b-256 0ec111f1877910a7349892a4c9db45fc4cec6d0847d212dbf082f8d56eae5111

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