Other

项目介绍

maxanatsko/pbir.tools 是一个托管在 GitHub 上的开源项目,采用 Other 许可证,目前获得 333 个 Star、27 次 Fork。

仓库全名
maxanatsko/pbir.tools
开源许可证
Other
Star 数
333
Fork 数
27
未关闭 Issue
8

README 摘要

PBIR Tools CLI tools for Power BI report automation; built for humans, optimized for agents Browse, edit, validate, and publish PBIR reports from the terminal, or let Claude Code, Codex, or Copilot drive the CLI. [!WARNING] pbir.tools is in beta. Back up reports before large edits, especially bulk formatting, conversion, merge, and publish workflows. [!IMPORTANT] After installing pbir, install agent skills from the…

完整内容见 GitHub 原始 README 或本页 。

常见问题

pbir.tools 可以免费商用吗?

仓库标注的许可证为 Other,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 pbir.tools 的源码?

可以直接克隆仓库:git clone https://github.com/maxanatsko/pbir.tools.git,默认分支为 main;安装与运行步骤见仓库 README。

pbir.tools 最近还在维护吗?

仓库最近一次更新为 1 周前,当前有 8 个未关闭 Issue;Star 数为 333,可作为社区活跃度的参考。

简要分析

热度分
397
价值分
208
活跃状态
活跃

README

pbir demo

PBIR Tools

CLI tools for Power BI report automation; built for humans, optimized for agents

Browse, edit, validate, and publish PBIR reports from the terminal, or let Claude Code, Codex, or Copilot drive the CLI.

Version Power BI Microsoft Fabric License

Warning 警告

pbir.tools is in beta. Back up reports before large edits, especially bulk formatting, conversion, merge, and publish workflows.

Important 重要

After installing pbir, install agent skills from the power-bi-agentic-development marketplace.


Install

uv tool install pbir-cli

Or with pip: pip install pbir-cli

Native installers (macOS / Windows)

Download the latest macOS or Windows installer from GitHub Releases.

macOS

  1. Download the installer from Releases and try to open it once.
  2. If macOS blocks it because the installer is unsigned or not notarized, open: System Settings => Privacy & Security
  3. Scroll down to the Security section. You should see a message about the blocked installer there.
  4. Click Open Anyway.
  5. When macOS asks again, click Open and finish the installation.

Windows

  1. Download the installer from Releases and run it.
  2. If Windows Defender SmartScreen shows Windows protected your PC, click More info.
  3. Confirm the installer name, then click Run anyway.
  4. Finish the installation.

After installation, open a new terminal and verify:

pbir --version

Quick Start

pbir ls                                                                # List reports
pbir tree "Sales.Report" -v                                            # Full structure with fields
pbir model "Sales.Report" -d                                           # Model schema
pbir add visual card "Sales.Report/Overview.Page" --title "Revenue"    # Add a visual
pbir set "Sales.Report/**/*.Visual.title.fontSize" --value 14 -f      # Bulk formatting
pbir validate "Sales.Report"                                           # Health check
pbir publish "Workspace.Workspace/Sales.Report"                        # Deploy to Fabric

pbir works with PBIR-format reports stored as folders, using paths like:

Report.Report/Page.Page/Visual.Visual

Agents & Plugins

pbir is built for humans but optimized for agents. Install the Power BI plugins from the power-bi-agentic-development marketplace to give your agent skills for reports, semantic models, themes, DAX, and Fabric.

Follow the instructions at power-bi-agentic-development to install the full marketplace plugin with all skills, agents, and hooks. After installing, run /plugin in your agent to enable auto-update and install plugins.

Claude Code:

claude plugin marketplace add data-goblin/power-bi-agentic-development

GitHub Copilot CLI:

copilot plugin install data-goblin/power-bi-agentic-development

After installing, your agent can create reports, format visuals, bind fields, manage themes, filters, bookmarks, and publish to Fabric – all driven by pbir commands.

Documentation

Area What it covers
Getting Started Install, terminal basics, first 5 minutes
CLI Docs Command groups and task-based CLI reference
CLI Workflows End-to-end report workflows

Safety

  • We recommend you take a manual backup (copy + paste) of your report folder before using pbir for the first time.
  • Run pbir backup "Report.Report" before larger edits.
  • Run pbir validate "Report.Report" after every mutation.
  • Use -f only when you intend bulk or destructive operations.
  • Treat publish, convert, merge, and split commands as higher-risk workflows.

Disclaimer

This software is provided “as is”, without warranty of any kind, express or implied. The authors are not responsible for any data loss, report corruption, or other damages resulting from the use of this tool. You use pbir at your own risk. Always maintain independent backups of your reports before making changes, especially with bulk operations, format conversion, merge, and publish workflows.

Support

  • Run pbir --help for the top-level CLI surface.
  • Run pbir <command> --help for command-specific usage.
  • Report issues

Kurt Buhler & Maxim Anatsko

评论

暂无评论