skillfed

aiogoogle

Async Google API client

aiogoogle v5.19.0 827.7K downloads/30d#4,956 on PyPI224
Permissive license MIT Active released

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 aiogoogle

uv

uv add aiogoogle

poetry

poetry add aiogoogle

Installing 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

Operating System :: OS IndependentProgramming Language :: Python :: 3.7

Tags

async google api clientgoogle drive python asyncgmail api async clientgoogle sheets api pythongoogle calendar asyncgoogle maps api pythonyoutube api async
async-iogoogle-apis

More WWW/HTTP packages