Metadata-Version: 2.4
Name: grow
Version: 2.5.0
Summary: Develop everywhere and deploy anywhere: a declarative site generator for rapid, high-quality web site production.
Author-email: "Grow.dev Authors" <code@grow.dev>
License-Expression: MIT
Project-URL: Homepage, https://grow.dev
Project-URL: Repository, https://github.com/grow/grow
Keywords: grow,cms,static site generator,content management
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: babel<3,>=2.14
Requires-Dist: click<9,>=8.1
Requires-Dist: gitpython<4,>=3.1.41
Requires-Dist: google-api-python-client<3,>=2.150
Requires-Dist: html2text>=2024.2.26
Requires-Dist: httplib2<1,>=0.22
Requires-Dist: jinja2<4,>=3.1.6
Requires-Dist: markdown<4,>=3.5
Requires-Dist: markupsafe<4,>=2.1
Requires-Dist: oauth2client==4.1.3
Requires-Dist: protorpc==0.12.0
Requires-Dist: pygments<3,>=2.17
Requires-Dist: python-slugify<9,>=8
Requires-Dist: pyyaml<7,>=6.0.1
Requires-Dist: translitcodec==0.6.0
Requires-Dist: watchdog<5,>=3
Requires-Dist: webob<2,>=1.8.8
Requires-Dist: webreview==0.3.1
Requires-Dist: werkzeug<4,>=3.1
Dynamic: license-file

# Grow

[![PyPI](https://img.shields.io/pypi/v/grow.svg)](https://pypi.org/project/grow/)
[![Python](https://img.shields.io/pypi/pyversions/grow.svg)](https://pypi.org/project/grow/)
[![Test](https://github.com/grow/grow/actions/workflows/test.yml/badge.svg)](https://github.com/grow/grow/actions/workflows/test.yml)
[![Lint](https://github.com/grow/grow/actions/workflows/lint.yml/badge.svg)](https://github.com/grow/grow/actions/workflows/lint.yml)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)

> [!NOTE]
> **Maintenance mode:** Grow is actively maintained for existing v2.x sites with bug fixes and dependency updates, but for new projects we recommend <img src="docs/source/images/rootjs-beet.svg" width="13" height="19" alt="" align="absmiddle">&nbsp;[**Root.js**](https://rootjs.dev) ([GitHub](https://github.com/blinkk/rootjs)) — our modern successor built with TypeScript, Preact/TSX, file routing, i18n, and a built-in CMS.

**Grow** is a declarative, file-based static site generator for rapid, high-quality web site production.

## Key Features

- **Data-driven content**: Author content in YAML, JSON, and Markdown—keeping content cleanly separated from presentation.
- **Jinja2 templates**: Bind structured content collections to reusable HTML templates and partials.
- **Declarative routing & URLs**: Configure URL structures in YAML and reference pages/assets with template tags so URL changes never break links.
- **Built-in internationalization (i18n)**: Tag strings for translation, manage PO message catalogs, and localize content site-wide or per document.
- **Integrations**: Pull content from Google Drive/Docs/Sheets and Blogger, or sync translations with Google Sheets.
- **Deploy anywhere**: Build to a self-contained static fileset (for GitHub Pages, Cloudflare Pages, Netlify, Cloud Storage, or S3) or deploy directly via built-in targets (local, Git, and custom extensions).

## Requirements

- Python **3.10 – 3.12**

## Installation

Install Grow with [uv](https://docs.astral.sh/uv/) or `pip`:

```bash
# Install globally as a CLI tool with uv (recommended)
uv tool install grow

# Or install with pip
pip install grow
```

## Quick Start

Try the built-in zero-Node starter project in [`examples/starter/`](examples/starter/):

```bash
git clone https://github.com/grow/grow.git
cd grow
uv sync
uv run grow run examples/starter
```

Or run the `grow.dev` documentation site locally:

```bash
uv run grow run docs
```

### Common Commands

```bash
grow run                     # Start the local development server
grow build                   # Build the static site to ./build/
grow deploy <destination>    # Deploy to a configured destination in podspec.yaml
grow translations extract    # Extract translatable strings to message catalogs
grow --help                  # Show all available commands
```

## Docker

Prebuilt images containing Grow, Python, Node.js, Yarn, and Google Cloud CLI are published to Docker Hub and GitHub Container Registry:

```bash
docker run --rm -it -v "$PWD":/site -w /site grow/base grow build
```

## Development

Grow uses `uv`, `pytest`, and `ruff` for local development:

```bash
git clone https://github.com/grow/grow.git
cd grow
uv sync
uv run pytest
uv run ruff check grow/ install.py
```

See [CONTRIBUTING.md](CONTRIBUTING.md) for the full contributor guide.

## Documentation & License

- Documentation: https://grow.dev
- Source code: https://github.com/grow/grow
- License: [MIT](LICENSE)
