From 748838be08b6016b8b9ff6092e74dc5d4e36c2da Mon Sep 17 00:00:00 2001 From: Andrei Markin Date: Fri, 7 Nov 2025 16:12:44 +0400 Subject: [PATCH] [community] deps: initial commit for garf-community library --- .github/workflows/publish_pypi_community.yaml | 24 +++++++++++++++++ libs/community/README.md | 19 ++++++++++++++ libs/community/pyproject.toml | 26 +++++++++++++++++++ 3 files changed, 69 insertions(+) create mode 100644 .github/workflows/publish_pypi_community.yaml create mode 100644 libs/community/README.md create mode 100644 libs/community/pyproject.toml diff --git a/.github/workflows/publish_pypi_community.yaml b/.github/workflows/publish_pypi_community.yaml new file mode 100644 index 0000000..bad342e --- /dev/null +++ b/.github/workflows/publish_pypi_community.yaml @@ -0,0 +1,24 @@ +name: Publish to PyPI - garf-community + +on: + workflow_dispatch: + +jobs: + publish: + runs-on: ubuntu-latest + environment: + name: pypi + permissions: + id-token: write + steps: + - name: Checkout repository + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Install uv + uses: astral-sh/setup-uv@v4 + - name: Build the package + run: uv build libs/community + + - name: Publish to PyPI + run: uv publish libs/community/dist/* diff --git a/libs/community/README.md b/libs/community/README.md new file mode 100644 index 0000000..6fe281d --- /dev/null +++ b/libs/community/README.md @@ -0,0 +1,19 @@ +# Garf community libraries + +## Installation + +``` +pip install garf-community +``` + +## What is it? + +Bundle of all community libraries developed for `garf`. + +## Supported APIs + +* [YouTube Data API](https://google.github.io/garf/fetchers/youtube-data-api/) +* [YouTube Reporting API](https://google.github.io/garf/fetchers/youtube-reporting-api/) +* [Google Analytics](https://google.github.io/garf/fetchers/google-analytics-api/) +* [Google Merchant Center](https://google.github.io/garf/fetchers/merchant-center-api/) +* [Bid Manager](https://google.github.io/garf/fetchers/bid-manager/) diff --git a/libs/community/pyproject.toml b/libs/community/pyproject.toml new file mode 100644 index 0000000..942e647 --- /dev/null +++ b/libs/community/pyproject.toml @@ -0,0 +1,26 @@ +[build-system] +requires = ["setuptools >= 61.0"] +build-backend = "setuptools.build_meta" + +[project] +name = "garf-community" +dependencies = [ + "garf-youtube-data-api", + "garf-youtube-reporting-api", + "garf-bid-manager", + "garf-merchant-api", + "garf-google-analytics", +] +version = "0.0.1" +authors = [ + {name = "Andrei Markin", email = "amarkin@google.com"}, + {name = "Google Inc. (gTech gPS CSE team)", email = "no-reply@google.com"}, +] +license = {text = "Apache 2.0"} +requires-python = ">=3.9" +description = "Garf community libraries" +readme = "README.md" +classifiers = [ + "Development Status :: 2 - Pre-Alpha", + "Programming Language :: Python" +]