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 hashes)
Built Distribution
Close
Hashes for gcloud_aio_run-1.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf182aabd305f07050b9aa770e4bc352c596445fc8f63316e13ab770e1737150 |
|
MD5 | 4886a7cdaa826ce889cf542b6bf7d760 |
|
BLAKE2b-256 | 8cbb2b9fc814523004056538e80ecfc42ec9d4ca49307e34b4c3a0a7100ce50f |