https://github.com/cbuschka/gcloud-aio-run
asyncio Python Client for Google Cloud Run
https://github.com/cbuschka/gcloud-aio-run
asyncio cloudrun gcloud gcp python python3
Last synced: 7 days ago
JSON representation
asyncio Python Client for Google Cloud Run
- Host: GitHub
- URL: https://github.com/cbuschka/gcloud-aio-run
- Owner: cbuschka
- License: apache-2.0
- Created: 2021-08-15T11:04:53.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-08-15T13:31:16.000Z (about 4 years ago)
- Last Synced: 2025-02-16T08:03:13.863Z (8 months ago)
- Topics: asyncio, cloudrun, gcloud, gcp, python, python3
- Language: Python
- Homepage:
- Size: 23.4 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.txt
Awesome Lists containing this project
README
# asyncio Python Client for Google Cloud Run
[](https://github.com/cbuschka/gcloud-aio-run)  [](https://pypi.org/project/gcloud-aio-run/) [](https://github.com/cbuschka/gcloud-aio-run/actions) [](https://github.com/cbuschka/gcloud-aio-run/blob/master/license.txt)
## Installation
```
pip install gcloud-aio-run
```## Usage
### List Cloud Run Services
```python
import aiohttp
from gcloud.aio.run import RunClientasync 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](https://github.com/cbuschka).
[Apache License, Version 2.0](./license.txt)