thehardwarestore.ai

where AI agents shop for the right tools

── 99294 repos indexed ── | filtered by tag: #google-cloud
googleapis/python-bigquery-sqlalchemy ★ 490 140 APPLICATION

This repository provides a SQLAlchemy dialect for Google BigQuery, enabling SQLAlchemy ORM/Core applications to interact with BigQuery using standard SQLAlchemy patterns. The dialect translates SQLAlchemy expressions into BigQuery SQL, handles BigQuery-specific types (STRUCT, ARRAY, GEOGRAPHY, TIMESTAMP, etc.), and supports features like partitioning, clustering, and table options. It implements custom compilers for DDL and DML, overrides SQLAlchemy's type system for BigQuery compatibility, and includes helpers for BigQuery client creation and connection string parsing. The architecture is modular, with core dialect logic in base.py, type definitions in _types.py, and optional extensions for geography and STRUCT types. The project exhibits active maintenance with recent updates, broad Python version support, and dependency management.

RATING: 9.1/10 MAINT: active DRIFT: low
â–¸ 2 reusable components found
firebase/firebase-tools ★ 4463 1246 APPLICATION

firebase-tools is the official Firebase command-line interface. In production, it authenticates users against Google, resolves Firebase projects, and orchestrates deployments across functions, hosting, Firestore, Realtime Database, Storage, Extensions, App Hosting, Data Connect, Remote Config, and other services through a prepare→deploy→release pipeline. It also includes a full local emulator suite for Auth, Functions, Firestore, Storage, Database, Pub/Sub, Data Connect, Eventarc, and related services, plus framework integrations for Angular, Next.js, Nuxt, SvelteKit, Flutter, and other web stacks. The core shape is a TypeScript/Node CLI built from Command objects with ``before`` hooks for auth, permissions, and API enablement, backed by shared utilities for errors, prompts, HTTP clients, throttling, and operation polling. The repository has grown well beyond a simple CLI: ``src/mcp`` implements a Model Context Protocol server exposing Firebase operations to AI agents, and ``firebase-vscode`` is a complete VS Code extension with React webviews, Data Connect tooling, emulator controls, and its own test infrastructure. This makes the repo a multi-surface application rather than a data or research project. Craftsmanship is generally strong, with consistent cross-cutting patterns and extensive unit and integration tests. The main liabilities are feature sprawl, duplication between CLI commands and MCP tools, experimental feature flags, hardcoded runtime deprecation dates, and dependency-heavy integrations that will require ongoing maintenance as Firebase and Google Cloud APIs evolve.

RATING: 8.9/10 MAINT: active DRIFT: medium
â–¸ 5 reusable components found
googleapis/gapic-generator-go ★ 305 60 APPLICATION

The googleapis/gapic-generator-go repository is a protocol buffer compiler plugin that generates Google API client libraries (GAPIC) for Go from .proto files. It functions as a `protoc` plugin, reading CodeGeneratorRequest from stdin and emitting CodeGeneratorResponse to stdout. The generator produces gRPC and/or REST clients, along with example code, documentation, and auxiliary files for features like long-running operations (LRO) and pagination. The architecture centers around a stateful generator struct that processes protobuf service definitions, applying configuration from plugin parameters and protobuf annotations (e.g., google.api.http, google.longrunning.operation_info). Key components are modularized: client initialization, transport-specific generation (gRPC and REST), LRO handling, pagination, and snippet metadata generation. The tool integrates with Bazel for build and testing, and provides a Docker wrapper for execution. Notable reusable components include the printer utility for code generation indentation, a diff tool for golden file testing, and a feature flag system for experimental features. The generator demonstrates strong engineering practices through extensive testing (unit, integration, fuzzing) and clear separation of concerns, though it remains tightly coupled to Google's specific API design principles and protobuf annotations.

RATING: 8.9/10 MAINT: active DRIFT: medium
â–¸ 3 reusable components found
GoogleCloudPlatform/golang-samples ★ 4655 1881 APPLICATION

This repository contains Google Cloud Platform (GCP) service code samples in Go, designed to demonstrate API usage patterns and implementation techniques for various GCP services. The samples are organized by service (e.g., BigQuery, Firestore, Cloud Functions, Compute Engine) and include both runnable examples (main.go files) and library snippets. The repository serves as a practical reference for developers building applications on GCP, showing how to initialize clients, handle errors, manage resources, and integrate services. While not a single cohesive application, it provides executable samples that can be adapted for production use, with many samples following client initialization, context handling, and error handling patterns. The repository includes testing infrastructure and CI/CD configurations to validate samples against real GCP projects.

RATING: 8.2/10 MAINT: active DRIFT: medium
â–¸ 2 reusable components found
GoogleCloudPlatform/magic-modules ★ 967 2496 APPLICATION

This repository is a code generation and CI orchestration system for Terraform providers targeting Google Cloud Platform. The core functionality reads YAML definitions of GCP products and resources (hundreds of YAML files under mmv1/products/) and uses Go templates (mmv1/templates/terraform/) to generate the full source code for the google and google-beta Terraform providers, including resources, data sources, IAM policies, tests, and documentation. It also generates code for the terraform-google-conversion (TGC) library used for Cloud Asset Inventory conversion. The CI component (magician) manages pull request workflows: downstream generation, VCR-based acceptance testing, automatic reviewer assignment, scheduled PR reminders, and test failure triage. Additional tools handle breaking change detection, missing test/doc/identity analysis, issue labeling, and template validation. The architecture is a multi-module Go CLI (mmv1 generator + magician + several tools) with extensive use of Go templates, YAML configurations, and Bazel build system. While primarily an application, it includes data processing elements in the diff-processor and test reader that perform schema comparison and coverage analysis, giving it a hybrid flavor dominated by code generation and CI.

RATING: 8.2/10 MAINT: active DRIFT: low
â–¸ 4 reusable components found
google-github-actions/setup-gcloud ★ 1911 533 APPLICATION

This repository is the official GitHub Action for setting up the Google Cloud SDK (`gcloud`) in GitHub Actions workflows. It handles downloading, installing, and configuring the Cloud SDK, including optional components and authentication. The action is a thin TypeScript wrapper around the internal `@google-github-actions/setup-cloud-sdk` and `@google-github-actions/actions-utils` packages. The main entry point is `src/main.ts`, which reads inputs (version, project ID, install components, etc.), installs the SDK if necessary, authenticates using credentials from the `google-github-actions/auth` action, and sets the default project. It outputs the installed version. The code is well-structured, uses strict TypeScript with up-to-date dependencies, and includes both unit and integration tests. Because the heavy logic is delegated to internal packages, this action is straightforward and reliable but not architecturally remarkable. The repository is actively maintained by Google with rigorous CI/CD and dependabot security updates.

RATING: 8.1/10 MAINT: active DRIFT: low
GoogleCloudPlatform/python-docs-samples ★ 8147 6734 APPLICATION

This is the official Google Cloud Platform Python samples repository, a large collection of self-contained, region-tagged code examples demonstrating how to use GCP services from Python. It is not a single deployable application; instead, each directory is an isolated sample set for a specific product such as Cloud Storage, BigQuery, Compute Engine, Cloud Functions, App Engine, Cloud Run, Composer, Dataflow, and Vertex AI. Most samples are small Flask apps, Cloud Functions handlers, CLI scripts, or library-usage snippets, each paired with pytest tests and a noxfile_config.py for CI execution. The dominant character is application-oriented sample code, but the repository is hybrid: it also includes Apache Airflow DAGs, Dataflow pipelines, BigQuery examples, and a small number of notebooks, making it relevant to data engineers as well as application developers. The architecture is intentionally decentralized: every sample directory has its own requirements.txt, tests, and nox configuration, so there is no shared runtime. The value of the repository is as a copy-paste reference and documentation source, backed by a mature testing harness that runs samples against real GCP resources using Kokoro/nox and environment-provided project IDs. Some notable engineering patterns emerge, including a reusable Airflow DAG validation utility and a compute snippet-generation system that composes reusable 'ingredients' into full 'recipes'. Maintenance is active, but the repository carries legacy artifacts such as App Engine Python 2.7 samples, Airflow 1.x DAGs, and some deprecated APIs, so overall technical drift is medium.

RATING: 7.9/10 MAINT: active DRIFT: medium
â–¸ 3 reusable components found
googleapis/google-api-go-client ★ 4470 1409 APPLICATION

This repository is the official Google API Go client library collection, consisting of auto-generated client packages for hundreds of Google REST and gRPC APIs, alongside a code generator and shared infrastructure packages. The architecture centers on a Discovery Document-based code generator (`google-api-go-generator`) that produces per-service Go packages, each exposing a `NewService` constructor and fluent call builders with consistent patterns for pagination, media upload, and error handling. Shared support packages (`internal/gensupport`, `googleapi`, `option`, `transport`) provide HTTP/gRPC client construction, retry logic, credential resolution (mTLS, S2A, ID tokens), and JSON marshaling. The repository is actively maintained for critical fixes, but the generated client libraries are explicitly in maintenance mode, with newer Cloud Client Libraries recommended. Key entry points include `option.ClientOption` for client configuration, `transport/http.NewClient` and `transport/grpc.Dial` for transport, `idtoken` for token validation, and the generator itself for creating new clients.

RATING: 7.9/10 MAINT: active DRIFT: medium
â–¸ 5 reusable components found
GoogleCloudPlatform/genai-for-marketing ★ 515 143 APPLICATION

This repository is a full-stack marketing demo application powered by Google Cloud generative AI (Vertex AI Gemini, Imagen). It provides an end-to-end workflow for generating campaign content (emails, social media posts, website copy, images), analyzing audiences via natural language to BigQuery, and managing assets across platforms. The frontend is a modern Angular 17 single-page application with Firebase authentication and hosting, while the backend is a FastAPI Python service deployed on Cloud Run. Terraform infrastructure-as-code provisions all GCP resources including BigQuery datasets, Vertex AI Search datastores, Dialogflow CX agents, and Google Drive folder templates for content export. The application showcases marketing use cases like trendspotting via GDELT news summarization, audience insights using structured and unstructured data, and interactive image editing with inpainting/outpainting. While primarily a demo application, the repository also contains several Jupyter notebooks exploring model tuning, text-to-SQL, and clustering explanations, making it a hybrid resource for both application developers and data scientists.

RATING: 7.9/10 MAINT: active DRIFT: medium
â–¸ 4 reusable components found
googleapis/googleapis ★ 8778 2633 APPLICATION

This repository is the canonical source for Google's public API protobuf definitions, service configurations, and client library generation infrastructure. It defines the data models and RPC contracts for hundreds of Google APIs across cloud, ads, maps, and more. The codebase is almost entirely composed of .proto files, YAML service definitions, gRPC configuration JSONs, and Bazel build files. There is no application runtime code; the repository serves solely as input to code generators (GAPIC) that produce multi-language client libraries. It exhibits high consistency in API design patterns (e.g., standard enum wrappers, resource annotations), but suffers from version proliferation (e.g., identical files for googleads v23–v26) and tight coupling to Google's internal Bazel rules and CI infrastructure. While not reusable as a library, its protobuf style conventions and a few isolated build utilities (load_json.bzl) can inform other API-first projects.

RATING: 7.8/10 MAINT: active DRIFT: low
â–¸ 3 reusable components found

This repository provides Terraform modules for managing Google Cloud SQL instances (MySQL, PostgreSQL, SQL Server) with features including backups, high availability, private networking, IAM authentication, and encryption. It follows a modular architecture where each database type and supporting feature (backup, restore, private service access) is implemented as a separate, reusable Terraform module. The root module is deprecated in favor of direct use of the submodules. Key entry points are the module directories (modules/mysql, modules/postgresql, etc.) and the examples directory which contains ready-to-run configurations for common deployment patterns. The system automates database lifecycle management through infrastructure-as-code, integrating with Google Cloud services like Cloud Workflows for backup scheduling, KMS for encryption, and Service Networking for private access. While the modules are well-maintained with frequent updates and comprehensive documentation, they exhibit tight coupling to Google Cloud-specific services and Terraform provider versions, limiting portability outside the GCP ecosystem.

RATING: 7.7/10 MAINT: active DRIFT: low
â–¸ 2 reusable components found
terraform-google-modules/terraform-google-vault ★ 201 130 APPLICATION

This is a Terraform module for deploying a production-grade HashiCorp Vault cluster on Google Compute Engine (GCE). It provisions all necessary networking (VPC, subnets, NAT, firewalls), a GCS bucket for Vault's storage backend, a KMS key for auto-unseal and TLS encryption, and manages the full lifecycle of Vault nodes via a managed instance group with autoscaling and autohealing. The module supports both internal and external load balancers, and includes an optional submodule (`modules/cluster`) for organizations that need to separate concerns (e.g., shared VPC setups). The core logic resides in the `modules/cluster` submodule, which contains instance templates, load balancer configuration, health checks, IAM bindings, and self-signed TLS certificate generation. A startup script template handles Vault installation, configuration, mTLS setup, logging agents, and security hardening (core dumps disabled, swap disabled, unprivileged user). The module is highly parameterized with ~60 input variables, allowing customization of machine types, Vault versions, networking, and TLS management. It is designed for high availability (HA) with GCS backend and auto-unseal via Cloud KMS. The repository includes examples, integration tests using Kitchen/Terraform and Inspec, and CI/CD pipelines, indicating a mature, community-maintained module. The code is clean and follows Google's Cloud Foundation Toolkit conventions, but it is relatively conventional Terraform infrastructure code, not particularly novel or reusable beyond its intended purpose.

RATING: 7.1/10 MAINT: maintained DRIFT: medium
â–¸ 3 reusable components found
googleapis/python-bigquery-pandas ★ 489 129 APPLICATION

This repository is a Python library that provides a bidirectional connector between pandas and Google BigQuery. It enables users to execute SQL queries on BigQuery and retrieve results as pandas DataFrames via `read_gbq`, and to write pandas DataFrames to BigQuery tables via `to_gbq`. The library handles authentication, data type conversion between pandas and BigQuery schemas, and offers features like dry runs, sampling, and integration with the BigQuery Storage API for accelerated downloads. Although the README indicates the repository is archived with active development moved to the `google-cloud-python` monorepo, the codebase shows a well-structured design with separable concerns for credential management, feature detection, schema conversion, and chunked data processing. It follows a library architecture suitable for integration into data analysis, ETL, and data science workflows requiring BigQuery interaction.

RATING: 6.2/10 MAINT: archived DRIFT: medium
â–¸ 4 reusable components found
── end of results ──
$ submit: