Python Client for Google Cloud Run
Project description
asyncio Python Client for Google Cloud Run
Installation
pip install gcloud-aio-run
Usage
List Cloud Run Services
import aiohttp
from gcloud.aio.run import RunClient
async def print_services(project, region):
async with aiohttp.ClientSession() as session:
async with RunClient(session=session) as client:
services = await client.list_services(project, region=region)
for service in services:
print(service.name)
License
Copyright (c) 2021 by Cornelius Buschka.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gcloud-aio-run-1.0.0.tar.gz
(8.6 kB
view details)
Built Distribution
File details
Details for the file gcloud-aio-run-1.0.0.tar.gz
.
File metadata
- Download URL: gcloud-aio-run-1.0.0.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87ad78cffb2c58698b753c5df608c1d0ea4f31f76b9f778b27def1007302380f |
|
MD5 | 2e7aa5e45d954400739e6b1f80a4c65e |
|
BLAKE2b-256 | 1917e15307b69d3deefcefc579a3f75b80d39accd81e6907df6cd50723245e54 |
File details
Details for the file gcloud_aio_run-1.0.0-py2.py3-none-any.whl
.
File metadata
- Download URL: gcloud_aio_run-1.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf182aabd305f07050b9aa770e4bc352c596445fc8f63316e13ab770e1737150 |
|
MD5 | 4886a7cdaa826ce889cf542b6bf7d760 |
|
BLAKE2b-256 | 8cbb2b9fc814523004056538e80ecfc42ec9d4ca49307e34b4c3a0a7100ce50f |