aiogoogle
Async Google API client
What it is and what it does
Aiogoogle is an async wrapper around Google's REST APIs, built on aiohttp and google-auth. It lets you make non-blocking calls to Google services—Drive, Gmail, Sheets, Maps, YouTube, and others—from within an asyncio event loop, avoiding the blocking I/O that would otherwise stall your application.
The package handles authentication via google-auth and abstracts away the HTTP boilerplate, so you can focus on your business logic. It's useful when you need to integrate multiple Google services into a larger async application, such as a web server, background worker, or data pipeline that must remain responsive while waiting for API responses.
Use it for:
- Build an async web service that queries Google Drive or Sheets without blocking request handlers.
- Fetch Gmail messages or send emails asynchronously as part of a larger async workflow.
- Integrate Google Calendar events into a real-time scheduling or notification system.
- Batch-process YouTube or Google Maps data in a non-blocking async loop.
- Combine multiple Google API calls in parallel using asyncio.gather() for faster data collection.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Aiogoogle is an async Python client for accessing Google's public APIs, enabling non-blocking requests to services like Google Drive, Gmail, Calendar, Sheets, Maps, and YouTube.
Yes, if you need async access to Google APIs and are already using asyncio in your project. The package is actively maintained, has low install friction, and carries a permissive MIT license. No known vulnerabilities as of 2026-08-14. Install it if you want to avoid blocking I/O when calling Google services; skip it if you're building a synchronous application or prefer the official google-cloud-* libraries.
Install
aiogoogle on PyPI
pip
pip install aiogoogleuv
uv add aiogooglepoetry
poetry add aiogoogleInstalling aiogoogle
Before you install
Low install friction with a pure-Python wheel distribution. Actively maintained as of 2026-07-18 with recent release activity, though the dependency on aiohttp and async-timeout means you inherit their stability and update cadence.
License in practice
MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions, making it suitable for both open-source and commercial projects.
Quickstart
pip install aiogoogle
import asyncio
from aiogoogle import Aiogoogle
async def main():
async with Aiogoogle() as aiogoogle:
# Use aiogoogle to call Google APIs
pass
asyncio.run(main())
Requires Python 3.7 or later and an event loop context (asyncio); authentication credentials must be provided separately via google-auth.
Verify before relying
- Whether all listed Google APIs (Calendar, Drive, Contacts, Gmail, Maps, YouTube, Translate, Sheets, Docs, Analytics, Books, Fitness, Genomics, Cloud Storage, Kubernetes) are equally well-supported or if some have limited coverage.
- Current Python version support beyond the stated 3.7 classifier—whether 3.11, 3.12+ are tested and supported.
- Whether the package handles API quota limits, rate limiting, or retry logic automatically.
Package facts
| License | MIT (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 5 — aiohttp, aiofiles, google-auth, async-timeout, contextvars |
| Maintenance | actively maintained — 27 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 827,703/month — #4,956 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: aiogoogle-5.19.0-py3-none-any.whl
Tags
More WWW/HTTP packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
h11h11 is a pure-Python HTTP/1.1 protocol…
permissive · top 100 on PyPI
httpxHTTPX is a fully featured HTTP client library…
permissive · top 100 on PyPI
httpcoreA minimal low-level HTTP client library that…
permissive · top 100 on PyPI
aiohttpaiohttp is an async HTTP client and server…
permissive · top 100 on PyPI
gcal-syncAn asyncio library for reading and syncing…
permissive · top 15,000 on PyPI
google-api-python-clientProvides Python bindings to call Google's…
permissive · top 1,000 on PyPI
mcp-google-sheetsAn MCP server that bridges AI clients like…
unclear · top 15,000 on PyPI
workspace-mcpWorkspace MCP is an MCP server that exposes…
permissive · top 15,000 on PyPI
google-maps-placesPython client library for Google Maps Places…
permissive · top 15,000 on PyPI
googlemapsPython client library that wraps Google Maps…
permissive · top 5,000 on PyPI
nylasOfficial Python SDK for the Nylas API platform,…
permissive · top 15,000 on PyPI
o365O365 provides a Pythonic interface to Microsoft…
permissive · top 5,000 on PyPI
kubernetes-asyncioAsynchronous Python client for the Kubernetes…
permissive · top 5,000 on PyPI
pyicloudPyiCloud provides Python access to iCloud web…
permissive · top 15,000 on PyPI