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.
Metadata
Release files for gcloud-aio-run 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gcloud-aio-run-1.0.0.tar.gz | 8.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gcloud_aio_run-1.0.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 12.9 kB
Release files / gcloud-aio-run-1.0.0.tar.gz
| Download URL | gcloud-aio-run-1.0.0.tar.gz |
|---|---|
| Size | 8.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
87ad78cffb2c58698b753c5df608c1d0ea4f31f76b9f778b27def1007302380f
|
|
BLAKE2b-256 checksum How to use checksums |
1917e15307b69d3deefcefc579a3f75b80d39accd81e6907df6cd50723245e54
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / gcloud_aio_run-1.0.0-py2.py3-none-any.whl
| Download URL | gcloud_aio_run-1.0.0-py2.py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
cf182aabd305f07050b9aa770e4bc352c596445fc8f63316e13ab770e1737150
|
|
BLAKE2b-256 checksum How to use checksums |
8cbb2b9fc814523004056538e80ecfc42ec9d4ca49307e34b4c3a0a7100ce50f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|