$npx skillfedfor your agent

gspread

Google Spreadsheets Python API

Worth itPyPI Python ModulesReleased May 202546.3M downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — gspread-6.2.1-py3-none-any.whl
v6.2.1 · released 2025-05-14 · Python >=3.8 · 2 runtime deps: google-auth, google-auth-oauthlib

Yes. gspread is a mature, actively maintained library with low install friction, permissive licensing, no known vulnerabilities, and a large user base. It is the standard choice for Python developers who need to automate Google Sheets workflows. Install it if you need to read, write, or manage Google Sheets programmatically.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.8 or later.
  • You must set up Google API credentials (service account or OAuth) before calling gspread methods.
  • Low install friction with a pure-Python wheel and only two runtime dependencies (google-auth and google-auth-oauthlib).

License · maintenance · safety

permissive license (permissive) — Licensed under MIT (permissive), so you can use, modify, and distribute gspread freely in both open-source and commercial projects without restriction.

last release 2025-05-14 (457 days) · last repo commit 2026-07-30 · 7,494 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 46,264,574 downloads/mo, #611 on PyPI

Verify before relying

pip install gspread

import gspread

gc = gspread.service_account()
wks = gc.open("My Spreadsheet").sheet1
wks.update([[1, 2], [3, 4]], "A1")
  • Whether the package handles concurrent writes or has rate-limiting considerations for high-volume updates.
  • Performance characteristics when working with very large spreadsheets (row/column count limits).
  • Whether all Google Sheets formatting options are supported or if some advanced features are missing.
Same gist for agents: .md · .json

What it is and what it does

gspread is a lightweight Python wrapper around the Google Sheets API v4 that lets you programmatically open, read, write, and format Google Sheets without dealing directly with the underlying REST API. It abstracts away authentication, HTTP requests, and JSON parsing, exposing spreadsheet operations through simple Python objects and methods.

You authenticate once (via service account or OAuth), then open sheets by title, key, or URL and work with worksheets, cells, and ranges using intuitive method calls. The package supports batch updates for efficiency, cell formatting, data validation, sharing controls, and finding cells by value or regex. It's commonly used for data pipelines, report generation, automated data entry, and integration of Google Sheets into larger Python applications.

Use it for

  • Automate data entry or updates to Google Sheets from a Python script or scheduled job.
  • Extract data from Google Sheets for processing, analysis, or integration with other systems.
  • Generate or populate reports in Google Sheets programmatically from application data.
  • Implement sharing and access control on spreadsheets as part of a larger workflow.
  • Batch format cells, add validation rules, or restructure sheet layouts via code.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

gspread is a mature, actively maintained library with low install friction, permissive licensing, no known vulnerabilities, and a large user base. It is the standard choice for Python developers who need to automate Google Sheets workflows. Install it if you need to read, write, or manage Google Sheets programmatically.

Install

gspread on PyPI

Before you install

Low install friction with a pure-Python wheel and only two runtime dependencies (google-auth and google-auth-oauthlib). The package is actively maintained with a recent commit history and has been stable since its initial release in 2011.

Requires Python 3.8 or later. You must set up Google API credentials (service account or OAuth) before calling gspread methods.

License in practice

Licensed under MIT (permissive), so you can use, modify, and distribute gspread freely in both open-source and commercial projects without restriction.

Quickstart

pip install gspread

import gspread

gc = gspread.service_account()
wks = gc.open("My Spreadsheet").sheet1
wks.update([[1, 2], [3, 4]], "A1")

Verify before relying

  • Whether the package handles concurrent writes or has rate-limiting considerations for high-volume updates.
  • Performance characteristics when working with very large spreadsheets (row/column count limits).
  • Whether all Google Sheets formatting options are supported or if some advanced features are missing.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
google-authgoogle-auth-oauthlib
MaintenanceActively maintained 457 days since the last release
Last repo commit
First released
Downloads46,264,574 / month, #611 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: End Users/DesktopIntended Audience :: Science/ResearchLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Office/Business :: Financial :: SpreadsheetTopic :: Software Development :: Libraries :: Python Modules

Evidence: gspread-6.2.1-py3-none-any.whl

Tags

Capabilities
google sheets python apiread write google spreadsheetsautomate google sheetspython spreadsheet automationgoogle sheets client librarybatch update spreadsheetsgoogle sheets formatting
Topics
google-sheetsspreadsheet-automationapi-wrapper
PyPI keywords
spreadsheetsgoogle-spreadsheetsgoogle-sheets

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “google sheets python api”

  • gspreadgspread provides a Python interface to read, write, format, and…
  • pygsheetspygsheets provides a Python interface to Google Sheets via the Google…
  • gsheetsgsheets provides a Python wrapper around the Google Sheets API v4 to…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also gspread-asyncio · gspread-formatting · gspread-pandas · pygsheets · gspread-dataframe · gsheets · df2gspread · mcp-google-sheets · numbers-parser · aspose-cells-python