Metadata-Version: 2.4
Name: spotultra
Version: 0.1.10
Summary: SpotUltra CLI provides local development capabilities for your AI assistant. It uses SpotUltra MCP when Microsoft connectivity is needed.
Author: Joshua Pitzer
License-Expression: Apache-2.0
Project-URL: Homepage, https://www.spotultra.com
Project-URL: Repository, https://github.com/JoshPitzer/spotultra-cli
Project-URL: Documentation, https://www.spotultra.com/try-now/
Project-URL: Issues, https://github.com/JoshPitzer/spotultra-cli/issues
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: 3.15
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
License-File: NOTICE
Requires-Dist: pyyaml>=6
Requires-Dist: pillow>=10
Requires-Dist: pyarrow>=18.0.0
Provides-Extra: dev
Requires-Dist: build; extra == "dev"
Requires-Dist: packaging; extra == "dev"
Requires-Dist: pytest; extra == "dev"
Requires-Dist: pytest-xdist; extra == "dev"
Requires-Dist: ruff; extra == "dev"
Requires-Dist: setuptools>=77.0.3; extra == "dev"
Dynamic: license-file

# SpotUltra CLI

**From a business requirement to a deployed Power BI semantic model and report, built by your AI assistant and reviewed by you.**

SpotUltra CLI (`spotultra`) is the toolkit your AI assistant uses to develop Power BI solutions. Hand it a business requirement and the source system's documentation. Your assistant profiles the real data, builds the semantic model and an interactive report, has them deployed, refreshed and checked in your workspace through [SpotUltra MCP](https://github.com/JoshPitzer/spotultra-mcp), and gives you a link to review.

**[Get started at spotultra.com →](https://www.spotultra.com/try-now/)**

Part of the SpotUltra family: [MCP](https://github.com/JoshPitzer/spotultra-mcp) · **CLI** (this repository) · [Corpus](https://github.com/JoshPitzer/spotultra-corpus)

## What you can hand to your assistant

**Build a model and report**

- "Here's the requirement for our sales dashboard and the ERP's data dictionary. Build it in the Sales Analytics workspace." You get back a deployed, refreshed semantic model and a report bound to it, with every measure evaluated and every visual's query checked, plus the link and the design decisions to review.
- "Add a second report on the Sales model for the regional managers."
- "Put margin on the first page and add a monthly trend." Your assistant revises the model or report, checks it again and redeploys it.
- "We've agreed the design. Get it ready for production." Your assistant adds checks against the control totals in your documentation and row counts for every table, deploys and refreshes until every check passes, and sets the refresh schedule the requirement names.

**Understand your data first**

- "Profile the data behind our SQL database connection." SpotUltra reads the source through your existing Power BI connection and writes a profile of its tables, columns, values and likely joins. The first draft of the model is built from that profile. On Fabric capacity it can profile supported sources where the data lives, after showing you what it plans to read.
- "Find the connection that reaches our database, or set one up." Your assistant never asks for or types a secret. A connection that needs a password is one you create in the Power BI service.

**Give your reports a house style**

- "Here's a screenshot of a report we like. Make it our house style." The image is processed on your computer into a report template: page size, colors, fonts, title and navigation styling, slicers and figure cards. Your assistant then deploys a preview report so you can see the template before any real report uses it.
- "Add our logo, use this background, and make it the default template."
- "Show me the ready-made visuals in a gallery."

**Operate what's deployed**

- "Run this DAX query against the deployed model to find out why the total is off."
- "Remove the old prototype model."

## How it works

**A catalog that keeps everything.** Requirements and documents are stored exactly as you handed them over, alongside the data sources, connections, profiles, projects and templates. Everything lives in one catalog folder inside your SpotUltra data folder. `spotultra catalog` tells your assistant where things stand and what the next step is, so work can pick up where it left off.

**Checked before and after it ships.** `spotultra check` validates the model offline and resolves every report field against the live model. `spotultra ship` deploys, binds each data source to its connection, refreshes, and evaluates every measure and check. `spotultra verify` runs every visual's fields as DAX with their page and visual filters. Each project keeps the evidence.

**Prototype first, then production.** The first delivery confirms that the model and report deploy, refresh and show their visuals, then stops for your review. Reconciliation checks and a refresh schedule come once you agree the design.

**Your tenant, your say.** The CLI has no Microsoft sign-in of its own. Every change in your tenant goes through SpotUltra MCP and waits until you have authorized changes in that workspace. Changing an item that SpotUltra didn't create needs your explicit approval each time.

**Built for agents.** `spotultra capabilities` describes what SpotUltra can do one level at a time. `spotultra guide` is the authoring guide. When a build starts, `spotultra catalog` prints a complete brief for a fresh build agent.

## How the SpotUltra family fits together

| | What it does | Get it |
| --- | --- | --- |
| **[SpotUltra MCP](https://github.com/JoshPitzer/spotultra-mcp)** | Signs in to Microsoft and runs your assistant's work in Fabric, Power BI and OneLake: discovery, queries, changes, plans and bulk runs. | npm `spotultra-mcp` |
| **SpotUltra CLI** | Builds Power BI semantic models and interactive reports from a business requirement and its source documentation, and deploys them through the MCP. | PyPI `spotultra` |
| **[SpotUltra corpus](https://github.com/JoshPitzer/spotultra-corpus)** | The reference behind both: every REST operation the MCP can find, plan and call, plus the CLI's guides, templates and rules. | Installed by the MCP |

Both tools work from the same `spotultra-data` folder on your computer. The CLI's guides, help, report templates and rules come from the corpus's `cli/` folder and are built into each CLI release.

## Get started

Go to [Try SpotUltra](https://www.spotultra.com/try-now/), copy the installation request and paste it into Codex or Claude Code. Your assistant installs SpotUltra MCP and CLI, walks you through your data folder, Microsoft account and browser sign-in, sets up the catalog and checks that the CLI and MCP can reach each other.

**You'll need:**

- Codex or Claude Code on macOS or Windows, allowed to run commands.
- A Python version the CLI supports, as listed on its [PyPI page](https://pypi.org/project/spotultra/). Your assistant installs the CLI with pipx.
- SpotUltra MCP set up on the same computer, which the same guided setup takes care of.

**Already installed?** Ask your assistant "What can SpotUltra do?", or run `spotultra` yourself to see the list of capabilities.

**Updates and removal.** Ask your assistant to update or remove SpotUltra, starting from [Try SpotUltra](https://www.spotultra.com/try-now/). Your catalog, templates and MCP data are kept outside the installed packages, so tell your assistant whether to keep them.

## Documentation

- [Documentation index](https://github.com/JoshPitzer/spotultra-cli/blob/main/docs/README.md): the catalog, the build workflow, verification, commands and configuration.
- [Contributing](https://github.com/JoshPitzer/spotultra-cli/blob/main/CONTRIBUTING.md): developer setup, tests, corpus resources and package builds.
- [Changelog](https://github.com/JoshPitzer/spotultra-cli/blob/main/CHANGELOG.md) · [Security policy](https://github.com/JoshPitzer/spotultra-cli/blob/main/SECURITY.md) · [Privacy policy](https://github.com/JoshPitzer/spotultra-cli/blob/main/PRIVACY.md)
- [spotultra.com](https://www.spotultra.com/)

## License

Copyright 2026 Joshua Pitzer. Licensed under the [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0). The package includes `LICENSE` and `NOTICE`; third-party dependencies retain their own licenses.
