Skip to main content

Build with AI Workshop 通用環境設定 CLI 工具

Project description

bwai-workshop-tools

A universal CLI tool for Google Cloud workshop environment setup. Define steps in a JSON file and run them all at once.

Available in: 繁體中文 | 日本語 | 한국어


Installation

From PyPI:

pip install bwai-workshop-tools

From Source (for developers):

git clone https://github.com/simonliu-ai-product/buildwithai-workshop-autosetup-tool.git
cd buildwithai-workshop-autosetup-tool
pip install -e .

Commands

bwai-workshop setup — Run setup steps

# Run all steps (interactive confirmation for each)
bwai-workshop setup --step path/to/config.json

# Run specific steps only (comma-separated IDs)
bwai-workshop setup --step path/to/config.json --only auth,enable-apis

# Preview steps without executing
bwai-workshop setup --step path/to/config.json --dry-run

bwai-workshop verify — Verify setup completion

# Verify all steps
bwai-workshop verify --step path/to/config.json

# Verify specific steps only
bwai-workshop verify --step path/to/config.json --only auth,check-billing-credit

bwai-workshop language — Manage display language

# List supported languages
bwai-workshop language list

# Set language
bwai-workshop language set en      # English
bwai-workshop language set zh-tw   # Traditional Chinese
bwai-workshop language set ja      # Japanese
bwai-workshop language set ko      # Korean

# Show current language
bwai-workshop language show

bwai-workshop steps list — List step types

bwai-workshop steps list

Supported Step Types

type Description
gemini_cli_vertex_auth Configure Gemini CLI with Vertex AI authentication (ADC)
gcloud_auth Google Cloud login and project setup
gcloud_enable_apis Enable specified Google Cloud APIs
gcp_billing_credit Check if GCP project has Workshop promotional credit
python_venv Create Python virtual environment and install dependencies
shell Execute custom shell command

Step File Format

{
  "name": "My Setup Flow",
  "description": "Description text",
  "steps": [
    {
      "id": "my-step",
      "type": "shell",
      "description": "Run a custom command",
      "params": {
        "command": "echo hello"
      }
    }
  ]
}

Examples

See the examples/ folder for complete examples:

  • adk-gemini-agent.json — Full setup flow for ADK Gemini Agent Workshop

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bwai_workshop_tools-0.1.2.tar.gz (22.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bwai_workshop_tools-0.1.2-py3-none-any.whl (29.1 kB view details)

Uploaded Python 3

File details

Details for the file bwai_workshop_tools-0.1.2.tar.gz.

File metadata

  • Download URL: bwai_workshop_tools-0.1.2.tar.gz
  • Upload date:
  • Size: 22.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for bwai_workshop_tools-0.1.2.tar.gz
Algorithm Hash digest
SHA256 804d13a4eabaa9a7faf93c9b74586f6b96571306c330586f7f91dbb6520cbdbf
MD5 fc243e30a5f992fad38de384990402b4
BLAKE2b-256 33c62e7d51a0ff38b2b066bffb13fb86d11fc8c041a61fef9073e1d66aa93854

See more details on using hashes here.

File details

Details for the file bwai_workshop_tools-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for bwai_workshop_tools-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cdc5df767c5debd9928e2007698353b72f85d2c42bee72249facec9e4f832c8a
MD5 aa1eac282c59bc5125271e75ec451b12
BLAKE2b-256 aefee75704da47622dbeb1d4e9e07d1820f7aa7b3f62a23e214f20c9b7e1e434

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page