{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/7"},{"label":"Spreadsheet","url":"https://skillfed.io/packages/category/office-business-financial-spreadsheet"}],"enrichment":{"capability":"Adds complete cell formatting support to gspread, enabling you to style Google Sheets cells with colors, fonts, alignment, and conditional formatting, plus control frozen rows/columns and data validation.","skillfed_tags":["google-sheets","spreadsheet-formatting","data-export"],"use_cases":["Style header rows with background colors, bold text, and centered alignment in a report spreadsheet.","Apply data validation rules to restrict cell inputs to predefined lists or numeric ranges.","Format a worksheet populated from a Pandas DataFrame with custom header colors and number formatting.","Freeze the first row and first column of a large data table for easier navigation.","Set column widths and row heights to match content and improve readability of exported data.","Apply conditional formatting rules to highlight cells based on values or conditions."],"what_it_does":"gspread-formatting extends the gspread library with a complete API for styling Google Sheets. It wraps the v4 Sheets API's CellFormat specification, exposing all formatting components\u2014background colors, text formatting, alignment, borders, and more\u2014as Python classes that can be composed and applied to cell ranges. The package also handles worksheet-level operations like freezing rows and columns, setting row heights and column widths, managing data validation rules, and supporting right-to-left text direction.\n\nThe library is designed to work seamlessly with gspread's worksheet objects. You build format objects by instantiating classes with camelCase keyword arguments, then apply them to ranges using functions like format_cell_range or format_cell_ranges. For users working with Pandas DataFrames, a separate dataframe module provides convenience functions to format worksheets based on DataFrame structure. Format objects are composable, comparable, and support set-like operations (union, difference, intersection).","worth_installing":"Yes. The package is stable, actively maintained, has no security vulnerabilities, and solves a real gap in gspread's capabilities. If you need to programmatically format Google Sheets beyond basic data entry, this is the standard tool. The low install friction and permissive license make adoption straightforward."},"id":"gspread-formatting","links":{"html":"https://skillfed.io/packages/gspread-formatting","md":"https://skillfed.io/packages/gspread-formatting.md","pypi":"https://pypi.org/project/gspread-formatting/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-03-07","license_spdx":null,"license_treatment":"permissive","name":"gspread-formatting","python_support":"unspecified","summary":"Complete Google Sheets formatting support for gspread worksheets"},"popularity":{"monthly_downloads":1186386,"position":4250,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.2.1"}
