Skip to main content

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

Project description

bwai-workshop-tools

PyPI version License

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.4.tar.gz (23.3 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.4-py3-none-any.whl (29.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for bwai_workshop_tools-0.1.4.tar.gz
Algorithm Hash digest
SHA256 65ef847ba3d5c270a331d2fe3429446c022e3555fd3a32acd6d3c6b030fd7cd9
MD5 f45b6cf75b4cd3ad9af44afc1d62b4ed
BLAKE2b-256 7e321e3b044242ed73c18e4e6158ba8d03d493ba4633cae5786f34499f82b1a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bwai_workshop_tools-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 06e7959c0474d1661898948bbccec76456d22301a5ffb222e641bd8139e81723
MD5 c017cdb6a4de1af506828a8ef2bdd2da
BLAKE2b-256 c3c09a50d18c07829f21437c7faa245870075f81955716faa1ac45141b3817c9

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