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.1.tar.gz (22.8 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.1-py3-none-any.whl (29.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bwai_workshop_tools-0.1.1.tar.gz
  • Upload date:
  • Size: 22.8 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.1.tar.gz
Algorithm Hash digest
SHA256 24f0cd33db64b383650ef6bf9024b80fb51cdf6447b9886f7b13defc13eb890e
MD5 c16cf5a21567452d543f7449dd61937e
BLAKE2b-256 e1bb029d6d92985c374090baa9f7e7258c0d8bf3f47c28c49b6183e30cdae5bd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bwai_workshop_tools-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 abede769edbb6dff6deff6f6e821d15411ce770ebbaaf53b1b0bc3eea5b11cbd
MD5 a0558f9a7189c6941386b89305ab9669
BLAKE2b-256 98104f03ac11d51c6a21c2fd13522a4d1d5cdda66416162686f2b16dfa51e502

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