├── .github ├── renovate.json ├── snippet-bot.yml └── sync-repo-settings.yaml ├── .gitignore ├── .kokoro ├── common.cfg ├── docker │ └── Dockerfile ├── presubmit.cfg ├── system_tests.cfg ├── system_tests.sh ├── trampoline.sh └── trampoline_v2.sh ├── .trampolinerc ├── CODEOWNERS ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── authenticating-users ├── app.yaml ├── main.py ├── main_test.py ├── requirements-test.txt └── requirements.txt ├── background ├── README.md ├── app │ ├── app.yaml │ ├── main.py │ ├── main_test.py │ ├── requirements.txt │ └── templates │ │ └── index.html └── function │ ├── main.py │ ├── main_test.py │ └── requirements.txt ├── bookshelf ├── Dockerfile ├── app.yaml ├── firestore.py ├── images │ └── moby-dick.png ├── main.py ├── main_test.py ├── requirements.txt ├── storage.py └── templates │ ├── base.html │ ├── form.html │ ├── list.html │ └── view.html ├── decrypt-secrets.sh ├── encrypt-secrets.sh ├── gce ├── README.md ├── add-google-cloud-ops-agent-repo.sh ├── deploy.sh ├── main.py ├── main_test.py ├── procfile ├── python-app.conf ├── requirements.txt ├── startup-script.sh └── teardown.sh ├── noxfile.py ├── optional-kubernetes-engine ├── .dockerignore ├── Dockerfile ├── Makefile ├── README.md ├── bookshelf-frontend.yaml ├── bookshelf-service.yaml ├── bookshelf-worker.yaml ├── bookshelf │ ├── __init__.py │ ├── crud.py │ ├── model_cloudsql.py │ ├── model_datastore.py │ ├── model_mongodb.py │ ├── storage.py │ ├── tasks.py │ └── templates │ │ ├── base.html │ │ ├── form.html │ │ ├── list.html │ │ └── view.html ├── config.py ├── main.py ├── procfile ├── requirements-dev.txt ├── requirements.txt ├── tests │ ├── conftest.py │ ├── test_auth.py │ ├── test_crud.py │ ├── test_end_to_end.py │ └── test_storage.py └── tox.ini ├── pytest.ini ├── requirements.txt ├── secrets.tar.enc └── sessions ├── app.yaml ├── main.py ├── main_test.py ├── requirements-dev.txt └── requirements.txt /.github/renovate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/.github/renovate.json -------------------------------------------------------------------------------- /.github/snippet-bot.yml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /.github/sync-repo-settings.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/.github/sync-repo-settings.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/.gitignore -------------------------------------------------------------------------------- /.kokoro/common.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/.kokoro/common.cfg -------------------------------------------------------------------------------- /.kokoro/docker/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/.kokoro/docker/Dockerfile -------------------------------------------------------------------------------- /.kokoro/presubmit.cfg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.kokoro/system_tests.cfg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.kokoro/system_tests.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/.kokoro/system_tests.sh -------------------------------------------------------------------------------- /.kokoro/trampoline.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/.kokoro/trampoline.sh -------------------------------------------------------------------------------- /.kokoro/trampoline_v2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/.kokoro/trampoline_v2.sh -------------------------------------------------------------------------------- /.trampolinerc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/.trampolinerc -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/CODEOWNERS -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/README.md -------------------------------------------------------------------------------- /authenticating-users/app.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/authenticating-users/app.yaml -------------------------------------------------------------------------------- /authenticating-users/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/authenticating-users/main.py -------------------------------------------------------------------------------- /authenticating-users/main_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/authenticating-users/main_test.py -------------------------------------------------------------------------------- /authenticating-users/requirements-test.txt: -------------------------------------------------------------------------------- 1 | pytest==7.1.2 -------------------------------------------------------------------------------- /authenticating-users/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/authenticating-users/requirements.txt -------------------------------------------------------------------------------- /background/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/background/README.md -------------------------------------------------------------------------------- /background/app/app.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/background/app/app.yaml -------------------------------------------------------------------------------- /background/app/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/background/app/main.py -------------------------------------------------------------------------------- /background/app/main_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/background/app/main_test.py -------------------------------------------------------------------------------- /background/app/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/background/app/requirements.txt -------------------------------------------------------------------------------- /background/app/templates/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/background/app/templates/index.html -------------------------------------------------------------------------------- /background/function/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/background/function/main.py -------------------------------------------------------------------------------- /background/function/main_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/background/function/main_test.py -------------------------------------------------------------------------------- /background/function/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/background/function/requirements.txt -------------------------------------------------------------------------------- /bookshelf/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/bookshelf/Dockerfile -------------------------------------------------------------------------------- /bookshelf/app.yaml: -------------------------------------------------------------------------------- 1 | runtime: python37 2 | 3 | -------------------------------------------------------------------------------- /bookshelf/firestore.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/bookshelf/firestore.py -------------------------------------------------------------------------------- /bookshelf/images/moby-dick.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/bookshelf/images/moby-dick.png -------------------------------------------------------------------------------- /bookshelf/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/bookshelf/main.py -------------------------------------------------------------------------------- /bookshelf/main_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/bookshelf/main_test.py -------------------------------------------------------------------------------- /bookshelf/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/bookshelf/requirements.txt -------------------------------------------------------------------------------- /bookshelf/storage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/bookshelf/storage.py -------------------------------------------------------------------------------- /bookshelf/templates/base.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/bookshelf/templates/base.html -------------------------------------------------------------------------------- /bookshelf/templates/form.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/bookshelf/templates/form.html -------------------------------------------------------------------------------- /bookshelf/templates/list.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/bookshelf/templates/list.html -------------------------------------------------------------------------------- /bookshelf/templates/view.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/bookshelf/templates/view.html -------------------------------------------------------------------------------- /decrypt-secrets.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/decrypt-secrets.sh -------------------------------------------------------------------------------- /encrypt-secrets.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/encrypt-secrets.sh -------------------------------------------------------------------------------- /gce/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/gce/README.md -------------------------------------------------------------------------------- /gce/add-google-cloud-ops-agent-repo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/gce/add-google-cloud-ops-agent-repo.sh -------------------------------------------------------------------------------- /gce/deploy.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/gce/deploy.sh -------------------------------------------------------------------------------- /gce/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/gce/main.py -------------------------------------------------------------------------------- /gce/main_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/gce/main_test.py -------------------------------------------------------------------------------- /gce/procfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/gce/procfile -------------------------------------------------------------------------------- /gce/python-app.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/gce/python-app.conf -------------------------------------------------------------------------------- /gce/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/gce/requirements.txt -------------------------------------------------------------------------------- /gce/startup-script.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/gce/startup-script.sh -------------------------------------------------------------------------------- /gce/teardown.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/gce/teardown.sh -------------------------------------------------------------------------------- /noxfile.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/noxfile.py -------------------------------------------------------------------------------- /optional-kubernetes-engine/.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/optional-kubernetes-engine/.dockerignore -------------------------------------------------------------------------------- /optional-kubernetes-engine/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/optional-kubernetes-engine/Dockerfile -------------------------------------------------------------------------------- /optional-kubernetes-engine/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/optional-kubernetes-engine/Makefile -------------------------------------------------------------------------------- /optional-kubernetes-engine/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/optional-kubernetes-engine/README.md -------------------------------------------------------------------------------- /optional-kubernetes-engine/bookshelf-frontend.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/optional-kubernetes-engine/bookshelf-frontend.yaml -------------------------------------------------------------------------------- /optional-kubernetes-engine/bookshelf-service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/optional-kubernetes-engine/bookshelf-service.yaml -------------------------------------------------------------------------------- /optional-kubernetes-engine/bookshelf-worker.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/optional-kubernetes-engine/bookshelf-worker.yaml -------------------------------------------------------------------------------- /optional-kubernetes-engine/bookshelf/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/optional-kubernetes-engine/bookshelf/__init__.py -------------------------------------------------------------------------------- /optional-kubernetes-engine/bookshelf/crud.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/optional-kubernetes-engine/bookshelf/crud.py -------------------------------------------------------------------------------- /optional-kubernetes-engine/bookshelf/model_cloudsql.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/optional-kubernetes-engine/bookshelf/model_cloudsql.py -------------------------------------------------------------------------------- /optional-kubernetes-engine/bookshelf/model_datastore.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/optional-kubernetes-engine/bookshelf/model_datastore.py -------------------------------------------------------------------------------- /optional-kubernetes-engine/bookshelf/model_mongodb.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/optional-kubernetes-engine/bookshelf/model_mongodb.py -------------------------------------------------------------------------------- /optional-kubernetes-engine/bookshelf/storage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/optional-kubernetes-engine/bookshelf/storage.py -------------------------------------------------------------------------------- /optional-kubernetes-engine/bookshelf/tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/optional-kubernetes-engine/bookshelf/tasks.py -------------------------------------------------------------------------------- /optional-kubernetes-engine/bookshelf/templates/base.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/optional-kubernetes-engine/bookshelf/templates/base.html -------------------------------------------------------------------------------- /optional-kubernetes-engine/bookshelf/templates/form.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/optional-kubernetes-engine/bookshelf/templates/form.html -------------------------------------------------------------------------------- /optional-kubernetes-engine/bookshelf/templates/list.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/optional-kubernetes-engine/bookshelf/templates/list.html -------------------------------------------------------------------------------- /optional-kubernetes-engine/bookshelf/templates/view.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/optional-kubernetes-engine/bookshelf/templates/view.html -------------------------------------------------------------------------------- /optional-kubernetes-engine/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/optional-kubernetes-engine/config.py -------------------------------------------------------------------------------- /optional-kubernetes-engine/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/optional-kubernetes-engine/main.py -------------------------------------------------------------------------------- /optional-kubernetes-engine/procfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/optional-kubernetes-engine/procfile -------------------------------------------------------------------------------- /optional-kubernetes-engine/requirements-dev.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/optional-kubernetes-engine/requirements-dev.txt -------------------------------------------------------------------------------- /optional-kubernetes-engine/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/optional-kubernetes-engine/requirements.txt -------------------------------------------------------------------------------- /optional-kubernetes-engine/tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/optional-kubernetes-engine/tests/conftest.py -------------------------------------------------------------------------------- /optional-kubernetes-engine/tests/test_auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/optional-kubernetes-engine/tests/test_auth.py -------------------------------------------------------------------------------- /optional-kubernetes-engine/tests/test_crud.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/optional-kubernetes-engine/tests/test_crud.py -------------------------------------------------------------------------------- /optional-kubernetes-engine/tests/test_end_to_end.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/optional-kubernetes-engine/tests/test_end_to_end.py -------------------------------------------------------------------------------- /optional-kubernetes-engine/tests/test_storage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/optional-kubernetes-engine/tests/test_storage.py -------------------------------------------------------------------------------- /optional-kubernetes-engine/tox.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/optional-kubernetes-engine/tox.ini -------------------------------------------------------------------------------- /pytest.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/pytest.ini -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/requirements.txt -------------------------------------------------------------------------------- /secrets.tar.enc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/secrets.tar.enc -------------------------------------------------------------------------------- /sessions/app.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/sessions/app.yaml -------------------------------------------------------------------------------- /sessions/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/sessions/main.py -------------------------------------------------------------------------------- /sessions/main_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/sessions/main_test.py -------------------------------------------------------------------------------- /sessions/requirements-dev.txt: -------------------------------------------------------------------------------- 1 | pytest>=5.0.0 2 | -------------------------------------------------------------------------------- /sessions/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/HEAD/sessions/requirements.txt --------------------------------------------------------------------------------