spotultra 0.1.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- spotultra-0.1.6/LICENSE +166 -0
- spotultra-0.1.6/MANIFEST.in +1 -0
- spotultra-0.1.6/PKG-INFO +53 -0
- spotultra-0.1.6/README.md +35 -0
- spotultra-0.1.6/pyproject.toml +43 -0
- spotultra-0.1.6/release-corpus.json +4 -0
- spotultra-0.1.6/setup.cfg +4 -0
- spotultra-0.1.6/setup.py +83 -0
- spotultra-0.1.6/src/spotultra/__init__.py +1 -0
- spotultra-0.1.6/src/spotultra/__main__.py +3 -0
- spotultra-0.1.6/src/spotultra/cli/__init__.py +0 -0
- spotultra-0.1.6/src/spotultra/cli/app.py +68 -0
- spotultra-0.1.6/src/spotultra/cli/parser.py +75 -0
- spotultra-0.1.6/src/spotultra/cli/reference.py +48 -0
- spotultra-0.1.6/src/spotultra/cli/registry.py +21 -0
- spotultra-0.1.6/src/spotultra/cli/render.py +38 -0
- spotultra-0.1.6/src/spotultra/commands/__init__.py +0 -0
- spotultra-0.1.6/src/spotultra/commands/design/__init__.py +0 -0
- spotultra-0.1.6/src/spotultra/commands/design/example/__init__.py +0 -0
- spotultra-0.1.6/src/spotultra/commands/design/example/arrangement.py +144 -0
- spotultra-0.1.6/src/spotultra/commands/design/example/canvas.py +113 -0
- spotultra-0.1.6/src/spotultra/commands/design/example/choices.py +171 -0
- spotultra-0.1.6/src/spotultra/commands/design/example/command.py +248 -0
- spotultra-0.1.6/src/spotultra/commands/design/example/controls/__init__.py +0 -0
- spotultra-0.1.6/src/spotultra/commands/design/example/controls/checks.py +67 -0
- spotultra-0.1.6/src/spotultra/commands/design/example/controls/design.py +161 -0
- spotultra-0.1.6/src/spotultra/commands/design/example/controls/styles.py +142 -0
- spotultra-0.1.6/src/spotultra/commands/design/example/cutouts.py +149 -0
- spotultra-0.1.6/src/spotultra/commands/design/example/figures/__init__.py +0 -0
- spotultra-0.1.6/src/spotultra/commands/design/example/figures/checks.py +60 -0
- spotultra-0.1.6/src/spotultra/commands/design/example/figures/components.py +85 -0
- spotultra-0.1.6/src/spotultra/commands/design/example/figures/design.py +111 -0
- spotultra-0.1.6/src/spotultra/commands/design/example/figures/samples.py +60 -0
- spotultra-0.1.6/src/spotultra/commands/design/example/figures/styles.py +135 -0
- spotultra-0.1.6/src/spotultra/commands/design/example/headers/__init__.py +0 -0
- spotultra-0.1.6/src/spotultra/commands/design/example/headers/checks.py +136 -0
- spotultra-0.1.6/src/spotultra/commands/design/example/headers/design.py +176 -0
- spotultra-0.1.6/src/spotultra/commands/design/example/headers/styles.py +135 -0
- spotultra-0.1.6/src/spotultra/commands/design/example/layers.py +342 -0
- spotultra-0.1.6/src/spotultra/commands/design/example/layout.py +341 -0
- spotultra-0.1.6/src/spotultra/commands/design/example/measurements.py +31 -0
- spotultra-0.1.6/src/spotultra/commands/design/example/navigation.py +289 -0
- spotultra-0.1.6/src/spotultra/commands/design/example/palette.py +41 -0
- spotultra-0.1.6/src/spotultra/commands/design/example/readiness.py +102 -0
- spotultra-0.1.6/src/spotultra/commands/design/example/refine.py +182 -0
- spotultra-0.1.6/src/spotultra/commands/design/example/review.py +56 -0
- spotultra-0.1.6/src/spotultra/commands/design/example/ruler.py +174 -0
- spotultra-0.1.6/src/spotultra/commands/design/example/slicers/__init__.py +0 -0
- spotultra-0.1.6/src/spotultra/commands/design/example/slicers/checks.py +44 -0
- spotultra-0.1.6/src/spotultra/commands/design/example/slicers/design.py +266 -0
- spotultra-0.1.6/src/spotultra/commands/design/example/slicers/styles.py +190 -0
- spotultra-0.1.6/src/spotultra/commands/design/example/staging.py +146 -0
- spotultra-0.1.6/src/spotultra/commands/design/example/state.py +166 -0
- spotultra-0.1.6/src/spotultra/commands/design/example/texts.py +70 -0
- spotultra-0.1.6/src/spotultra/commands/design/example/transaction.py +137 -0
- spotultra-0.1.6/src/spotultra/commands/design/example/visuals/__init__.py +0 -0
- spotultra-0.1.6/src/spotultra/commands/design/example/visuals/checks.py +141 -0
- spotultra-0.1.6/src/spotultra/commands/design/example/visuals/content.py +113 -0
- spotultra-0.1.6/src/spotultra/commands/design/example/visuals/design.py +204 -0
- spotultra-0.1.6/src/spotultra/commands/design/example/visuals/samples.py +130 -0
- spotultra-0.1.6/src/spotultra/commands/design/example/visuals/styles.py +262 -0
- spotultra-0.1.6/src/spotultra/commands/design/example/warning.py +181 -0
- spotultra-0.1.6/src/spotultra/commands/design/templates/__init__.py +0 -0
- spotultra-0.1.6/src/spotultra/commands/design/templates/assignments.py +57 -0
- spotultra-0.1.6/src/spotultra/commands/design/templates/colours.py +42 -0
- spotultra-0.1.6/src/spotultra/commands/design/templates/command.py +58 -0
- spotultra-0.1.6/src/spotultra/commands/design/templates/comparison_context.py +279 -0
- spotultra-0.1.6/src/spotultra/commands/design/templates/comparison_evidence.py +164 -0
- spotultra-0.1.6/src/spotultra/commands/design/templates/from_example.py +213 -0
- spotultra-0.1.6/src/spotultra/commands/design/templates/library/__init__.py +0 -0
- spotultra-0.1.6/src/spotultra/commands/design/templates/library/appearance.py +59 -0
- spotultra-0.1.6/src/spotultra/commands/design/templates/library/catalog.py +256 -0
- spotultra-0.1.6/src/spotultra/commands/design/templates/library/loading.py +83 -0
- spotultra-0.1.6/src/spotultra/commands/design/templates/library/references.py +81 -0
- spotultra-0.1.6/src/spotultra/commands/design/templates/library/selection.py +100 -0
- spotultra-0.1.6/src/spotultra/commands/design/templates/library/terms.py +36 -0
- spotultra-0.1.6/src/spotultra/commands/design/templates/library/validation.py +196 -0
- spotultra-0.1.6/src/spotultra/commands/design/templates/preview/__init__.py +0 -0
- spotultra-0.1.6/src/spotultra/commands/design/templates/preview/assembly.py +150 -0
- spotultra-0.1.6/src/spotultra/commands/design/templates/preview/deploy.py +262 -0
- spotultra-0.1.6/src/spotultra/commands/design/templates/preview/stored.py +53 -0
- spotultra-0.1.6/src/spotultra/commands/design/templates/preview_compare.py +248 -0
- spotultra-0.1.6/src/spotultra/commands/design/templates/report_template.py +165 -0
- spotultra-0.1.6/src/spotultra/commands/design/visuals/__init__.py +0 -0
- spotultra-0.1.6/src/spotultra/commands/design/visuals/visual_catalog/__init__.py +0 -0
- spotultra-0.1.6/src/spotultra/commands/design/visuals/visual_catalog/command.py +44 -0
- spotultra-0.1.6/src/spotultra/commands/design/visuals/visual_catalog/common.py +17 -0
- spotultra-0.1.6/src/spotultra/commands/design/visuals/visual_catalog/inspection.py +77 -0
- spotultra-0.1.6/src/spotultra/commands/design/visuals/visual_catalog/installation.py +77 -0
- spotultra-0.1.6/src/spotultra/commands/develop/__init__.py +0 -0
- spotultra-0.1.6/src/spotultra/commands/develop/check.py +113 -0
- spotultra-0.1.6/src/spotultra/commands/develop/deploy.py +10 -0
- spotultra-0.1.6/src/spotultra/commands/develop/dictionary.py +62 -0
- spotultra-0.1.6/src/spotultra/commands/develop/edit.py +144 -0
- spotultra-0.1.6/src/spotultra/commands/develop/evidence/__init__.py +0 -0
- spotultra-0.1.6/src/spotultra/commands/develop/evidence/collection.py +131 -0
- spotultra-0.1.6/src/spotultra/commands/develop/evidence/command.py +17 -0
- spotultra-0.1.6/src/spotultra/commands/develop/evidence/messages.py +5 -0
- spotultra-0.1.6/src/spotultra/commands/develop/evidence/publication.py +45 -0
- spotultra-0.1.6/src/spotultra/commands/develop/evidence/rendering.py +133 -0
- spotultra-0.1.6/src/spotultra/commands/develop/guide.py +269 -0
- spotultra-0.1.6/src/spotultra/commands/develop/init/__init__.py +0 -0
- spotultra-0.1.6/src/spotultra/commands/develop/init/command.py +310 -0
- spotultra-0.1.6/src/spotultra/commands/develop/init/given.py +72 -0
- spotultra-0.1.6/src/spotultra/commands/develop/init/profiles.py +63 -0
- spotultra-0.1.6/src/spotultra/commands/develop/init/sources.py +53 -0
- spotultra-0.1.6/src/spotultra/commands/develop/model.py +16 -0
- spotultra-0.1.6/src/spotultra/commands/develop/remediation.py +61 -0
- spotultra-0.1.6/src/spotultra/commands/develop/report.py +15 -0
- spotultra-0.1.6/src/spotultra/commands/develop/ship.py +379 -0
- spotultra-0.1.6/src/spotultra/commands/develop/verify.py +337 -0
- spotultra-0.1.6/src/spotultra/commands/develop/workflow.py +28 -0
- spotultra-0.1.6/src/spotultra/commands/operate/__init__.py +0 -0
- spotultra-0.1.6/src/spotultra/commands/operate/query.py +94 -0
- spotultra-0.1.6/src/spotultra/commands/operate/remove_model.py +38 -0
- spotultra-0.1.6/src/spotultra/commands/operate/remove_project.py +89 -0
- spotultra-0.1.6/src/spotultra/commands/requirements/__init__.py +0 -0
- spotultra-0.1.6/src/spotultra/commands/requirements/datasource.py +90 -0
- spotultra-0.1.6/src/spotultra/commands/requirements/requirement.py +55 -0
- spotultra-0.1.6/src/spotultra/commands/setup/__init__.py +0 -0
- spotultra-0.1.6/src/spotultra/commands/setup/about.py +13 -0
- spotultra-0.1.6/src/spotultra/commands/setup/capabilities.py +89 -0
- spotultra-0.1.6/src/spotultra/commands/setup/catalog/__init__.py +0 -0
- spotultra-0.1.6/src/spotultra/commands/setup/catalog/briefing.py +49 -0
- spotultra-0.1.6/src/spotultra/commands/setup/catalog/command.py +35 -0
- spotultra-0.1.6/src/spotultra/commands/setup/catalog/inventory.py +101 -0
- spotultra-0.1.6/src/spotultra/commands/setup/catalog/planning.py +79 -0
- spotultra-0.1.6/src/spotultra/commands/setup/catalog/presentation.py +63 -0
- spotultra-0.1.6/src/spotultra/commands/setup/mcp_discovery.py +20 -0
- spotultra-0.1.6/src/spotultra/commands/shared/__init__.py +0 -0
- spotultra-0.1.6/src/spotultra/commands/shared/catalog_context.py +14 -0
- spotultra-0.1.6/src/spotultra/commands/shared/connect.py +85 -0
- spotultra-0.1.6/src/spotultra/commands/shared/publish/__init__.py +0 -0
- spotultra-0.1.6/src/spotultra/commands/shared/publish/bind_refresh.py +40 -0
- spotultra-0.1.6/src/spotultra/commands/shared/publish/building.py +47 -0
- spotultra-0.1.6/src/spotultra/commands/shared/publish/deploying.py +68 -0
- spotultra-0.1.6/src/spotultra/commands/shared/publish/deployment.py +67 -0
- spotultra-0.1.6/src/spotultra/commands/shared/publish/invocation.py +9 -0
- spotultra-0.1.6/src/spotultra/commands/shared/publish/loading.py +41 -0
- spotultra-0.1.6/src/spotultra/commands/shared/publish/member_palette.py +32 -0
- spotultra-0.1.6/src/spotultra/commands/shared/publish/navigation.py +114 -0
- spotultra-0.1.6/src/spotultra/commands/shared/publish/planning.py +8 -0
- spotultra-0.1.6/src/spotultra/commands/shared/publish/refreshing.py +42 -0
- spotultra-0.1.6/src/spotultra/commands/shared/publish/removal.py +6 -0
- spotultra-0.1.6/src/spotultra/commands/shared/publish/replacing.py +15 -0
- spotultra-0.1.6/src/spotultra/commands/shared/report_members.py +53 -0
- spotultra-0.1.6/src/spotultra/commands/shared/session/__init__.py +0 -0
- spotultra-0.1.6/src/spotultra/commands/shared/session/authorization.py +50 -0
- spotultra-0.1.6/src/spotultra/commands/shared/session/command_run.py +30 -0
- spotultra-0.1.6/src/spotultra/commands/shared/session/inputs.py +58 -0
- spotultra-0.1.6/src/spotultra/commands/shared/session/opening.py +51 -0
- spotultra-0.1.6/src/spotultra/commands/shared/session/output.py +5 -0
- spotultra-0.1.6/src/spotultra/commands/shared/session/project_records.py +35 -0
- spotultra-0.1.6/src/spotultra/commands/shared/session/run_ids.py +29 -0
- spotultra-0.1.6/src/spotultra/commands/shared/session/run_log.py +106 -0
- spotultra-0.1.6/src/spotultra/commands/shared/session/vocabulary.py +17 -0
- spotultra-0.1.6/src/spotultra/commands/shared/state.py +83 -0
- spotultra-0.1.6/src/spotultra/commands/shared/target.py +122 -0
- spotultra-0.1.6/src/spotultra/commands/shared/workspaces.py +92 -0
- spotultra-0.1.6/src/spotultra/commands/sources/__init__.py +0 -0
- spotultra-0.1.6/src/spotultra/commands/sources/connection/__init__.py +0 -0
- spotultra-0.1.6/src/spotultra/commands/sources/connection/command.py +136 -0
- spotultra-0.1.6/src/spotultra/commands/sources/connection/context.py +35 -0
- spotultra-0.1.6/src/spotultra/commands/sources/connection/discovering.py +140 -0
- spotultra-0.1.6/src/spotultra/commands/sources/connection/kit_items.py +80 -0
- spotultra-0.1.6/src/spotultra/commands/sources/connection/kit_passes.py +168 -0
- spotultra-0.1.6/src/spotultra/commands/sources/connection/kit_profile.py +84 -0
- spotultra-0.1.6/src/spotultra/commands/sources/connection/kit_relationships.py +110 -0
- spotultra-0.1.6/src/spotultra/commands/sources/connection/kit_route.py +170 -0
- spotultra-0.1.6/src/spotultra/commands/sources/connection/kit_source.py +158 -0
- spotultra-0.1.6/src/spotultra/commands/sources/connection/kit_state.py +68 -0
- spotultra-0.1.6/src/spotultra/commands/sources/connection/messages.py +5 -0
- spotultra-0.1.6/src/spotultra/commands/sources/connection/probing.py +149 -0
- spotultra-0.1.6/src/spotultra/commands/sources/connection/summaries.py +53 -0
- spotultra-0.1.6/src/spotultra/commands/sources/connection/tenant_work.py +23 -0
- spotultra-0.1.6/src/spotultra/commands/sources/connections.py +42 -0
- spotultra-0.1.6/src/spotultra/commands/sources/discover.py +477 -0
- spotultra-0.1.6/src/spotultra/commands/sources/profile_source.py +44 -0
- spotultra-0.1.6/src/spotultra/commands/sources/publication.py +92 -0
- spotultra-0.1.6/src/spotultra/commands/sources/sources.py +28 -0
- spotultra-0.1.6/src/spotultra/commands/sources/workspaces.py +15 -0
- spotultra-0.1.6/src/spotultra/config.py +142 -0
- spotultra-0.1.6/src/spotultra/core/__init__.py +0 -0
- spotultra-0.1.6/src/spotultra/core/catalog/__init__.py +0 -0
- spotultra-0.1.6/src/spotultra/core/catalog/content.py +132 -0
- spotultra-0.1.6/src/spotultra/core/catalog/examples.py +71 -0
- spotultra-0.1.6/src/spotultra/core/catalog/install.py +226 -0
- spotultra-0.1.6/src/spotultra/core/catalog/inventory.py +79 -0
- spotultra-0.1.6/src/spotultra/core/catalog/layout.py +102 -0
- spotultra-0.1.6/src/spotultra/core/catalog/logos.py +94 -0
- spotultra-0.1.6/src/spotultra/core/catalog/mapping.py +35 -0
- spotultra-0.1.6/src/spotultra/core/catalog/naming.py +45 -0
- spotultra-0.1.6/src/spotultra/core/catalog/packaged.py +37 -0
- spotultra-0.1.6/src/spotultra/core/catalog/records.py +85 -0
- spotultra-0.1.6/src/spotultra/core/catalog/roots.py +94 -0
- spotultra-0.1.6/src/spotultra/core/catalog/templates.py +126 -0
- spotultra-0.1.6/src/spotultra/core/check_rules.py +141 -0
- spotultra-0.1.6/src/spotultra/core/checks.py +258 -0
- spotultra-0.1.6/src/spotultra/core/connection.py +122 -0
- spotultra-0.1.6/src/spotultra/core/connections.py +87 -0
- spotultra-0.1.6/src/spotultra/core/datasource.py +113 -0
- spotultra-0.1.6/src/spotultra/core/dax.py +267 -0
- spotultra-0.1.6/src/spotultra/core/design/__init__.py +0 -0
- spotultra-0.1.6/src/spotultra/core/design/backing.py +65 -0
- spotultra-0.1.6/src/spotultra/core/design/constants.py +89 -0
- spotultra-0.1.6/src/spotultra/core/design/elements.py +170 -0
- spotultra-0.1.6/src/spotultra/core/design/framing/__init__.py +0 -0
- spotultra-0.1.6/src/spotultra/core/design/framing/boxes.py +51 -0
- spotultra-0.1.6/src/spotultra/core/design/framing/canvas.py +81 -0
- spotultra-0.1.6/src/spotultra/core/design/framing/cleanup.py +362 -0
- spotultra-0.1.6/src/spotultra/core/design/framing/frames.py +198 -0
- spotultra-0.1.6/src/spotultra/core/design/framing/loading.py +70 -0
- spotultra-0.1.6/src/spotultra/core/design/framing/rounding.py +95 -0
- spotultra-0.1.6/src/spotultra/core/design/framing/surround.py +61 -0
- spotultra-0.1.6/src/spotultra/core/design/geometry.py +78 -0
- spotultra-0.1.6/src/spotultra/core/design/margins/__init__.py +0 -0
- spotultra-0.1.6/src/spotultra/core/design/margins/background.py +212 -0
- spotultra-0.1.6/src/spotultra/core/design/margins/painting.py +187 -0
- spotultra-0.1.6/src/spotultra/core/design/margins/sides.py +62 -0
- spotultra-0.1.6/src/spotultra/core/design/margins/surfaces.py +137 -0
- spotultra-0.1.6/src/spotultra/core/design/measure.py +300 -0
- spotultra-0.1.6/src/spotultra/core/design/rendering.py +114 -0
- spotultra-0.1.6/src/spotultra/core/design/shades.py +78 -0
- spotultra-0.1.6/src/spotultra/core/discovery/__init__.py +0 -0
- spotultra-0.1.6/src/spotultra/core/discovery/documented.py +156 -0
- spotultra-0.1.6/src/spotultra/core/discovery/draft.py +358 -0
- spotultra-0.1.6/src/spotultra/core/discovery/joins.py +280 -0
- spotultra-0.1.6/src/spotultra/core/discovery/models.py +116 -0
- spotultra-0.1.6/src/spotultra/core/discovery/probe.py +67 -0
- spotultra-0.1.6/src/spotultra/core/discovery/profile.py +231 -0
- spotultra-0.1.6/src/spotultra/core/discovery/render.py +160 -0
- spotultra-0.1.6/src/spotultra/core/discovery/typehints.py +125 -0
- spotultra-0.1.6/src/spotultra/core/kit/__init__.py +0 -0
- spotultra-0.1.6/src/spotultra/core/kit/names.py +33 -0
- spotultra-0.1.6/src/spotultra/core/kit/notebook.py +26 -0
- spotultra-0.1.6/src/spotultra/core/kit/pipeline.py +129 -0
- spotultra-0.1.6/src/spotultra/core/kit/reach.py +20 -0
- spotultra-0.1.6/src/spotultra/core/kit/request.py +149 -0
- spotultra-0.1.6/src/spotultra/core/kit/result.py +371 -0
- spotultra-0.1.6/src/spotultra/core/library.py +101 -0
- spotultra-0.1.6/src/spotultra/core/mcode.py +235 -0
- spotultra-0.1.6/src/spotultra/core/model/__init__.py +0 -0
- spotultra-0.1.6/src/spotultra/core/model/declare.py +351 -0
- spotultra-0.1.6/src/spotultra/core/model/edit.py +59 -0
- spotultra-0.1.6/src/spotultra/core/model/editing/__init__.py +0 -0
- spotultra-0.1.6/src/spotultra/core/model/editing/changes.py +150 -0
- spotultra-0.1.6/src/spotultra/core/model/editing/lookup.py +95 -0
- spotultra-0.1.6/src/spotultra/core/model/editing/references.py +103 -0
- spotultra-0.1.6/src/spotultra/core/model/editing/relationships.py +64 -0
- spotultra-0.1.6/src/spotultra/core/model/editing/renames.py +65 -0
- spotultra-0.1.6/src/spotultra/core/model/editing/yaml_text.py +79 -0
- spotultra-0.1.6/src/spotultra/core/model/parsing/__init__.py +0 -0
- spotultra-0.1.6/src/spotultra/core/model/parsing/column_spec.py +127 -0
- spotultra-0.1.6/src/spotultra/core/model/parsing/member_spec.py +44 -0
- spotultra-0.1.6/src/spotultra/core/model/parsing/model_checks.py +114 -0
- spotultra-0.1.6/src/spotultra/core/model/parsing/policy_spec.py +108 -0
- spotultra-0.1.6/src/spotultra/core/model/parsing/storage_checks.py +66 -0
- spotultra-0.1.6/src/spotultra/core/model/parsing/table_spec.py +330 -0
- spotultra-0.1.6/src/spotultra/core/model/parsing/terms.py +103 -0
- spotultra-0.1.6/src/spotultra/core/model/policy.py +77 -0
- spotultra-0.1.6/src/spotultra/core/model/references.py +57 -0
- spotultra-0.1.6/src/spotultra/core/model/semantic.py +110 -0
- spotultra-0.1.6/src/spotultra/core/model/shape.py +70 -0
- spotultra-0.1.6/src/spotultra/core/model/spec.py +164 -0
- spotultra-0.1.6/src/spotultra/core/model/tmdl.py +233 -0
- spotultra-0.1.6/src/spotultra/core/naming.py +14 -0
- spotultra-0.1.6/src/spotultra/core/pbip.py +69 -0
- spotultra-0.1.6/src/spotultra/core/profiling/__init__.py +0 -0
- spotultra-0.1.6/src/spotultra/core/profiling/entries.py +61 -0
- spotultra-0.1.6/src/spotultra/core/profiling/files.py +53 -0
- spotultra-0.1.6/src/spotultra/core/profiling/names.py +43 -0
- spotultra-0.1.6/src/spotultra/core/profiling/paths.py +29 -0
- spotultra-0.1.6/src/spotultra/core/profiling/protocol.py +77 -0
- spotultra-0.1.6/src/spotultra/core/profiling/record.py +26 -0
- spotultra-0.1.6/src/spotultra/core/profiling/render.py +73 -0
- spotultra-0.1.6/src/spotultra/core/profiling/resolve.py +41 -0
- spotultra-0.1.6/src/spotultra/core/profiling/validate.py +233 -0
- spotultra-0.1.6/src/spotultra/core/project.py +347 -0
- spotultra-0.1.6/src/spotultra/core/raw.py +190 -0
- spotultra-0.1.6/src/spotultra/core/report/__init__.py +0 -0
- spotultra-0.1.6/src/spotultra/core/report/authoring.py +354 -0
- spotultra-0.1.6/src/spotultra/core/report/controls.py +80 -0
- spotultra-0.1.6/src/spotultra/core/report/cost.py +22 -0
- spotultra-0.1.6/src/spotultra/core/report/fields.py +142 -0
- spotultra-0.1.6/src/spotultra/core/report/figure_components.py +102 -0
- spotultra-0.1.6/src/spotultra/core/report/figure_render.py +210 -0
- spotultra-0.1.6/src/spotultra/core/report/headers.py +204 -0
- spotultra-0.1.6/src/spotultra/core/report/layout.py +94 -0
- spotultra-0.1.6/src/spotultra/core/report/navigation.py +168 -0
- spotultra-0.1.6/src/spotultra/core/report/page/__init__.py +0 -0
- spotultra-0.1.6/src/spotultra/core/report/page/base.py +155 -0
- spotultra-0.1.6/src/spotultra/core/report/page/body.py +145 -0
- spotultra-0.1.6/src/spotultra/core/report/page/chrome.py +172 -0
- spotultra-0.1.6/src/spotultra/core/report/page/context.py +13 -0
- spotultra-0.1.6/src/spotultra/core/report/page/control_slots.py +124 -0
- spotultra-0.1.6/src/spotultra/core/report/page/figures.py +75 -0
- spotultra-0.1.6/src/spotultra/core/report/page/header_slots.py +77 -0
- spotultra-0.1.6/src/spotultra/core/report/page/keys.py +30 -0
- spotultra-0.1.6/src/spotultra/core/report/page/page_writer.py +67 -0
- spotultra-0.1.6/src/spotultra/core/report/page/slicers.py +72 -0
- spotultra-0.1.6/src/spotultra/core/report/page/slotted.py +115 -0
- spotultra-0.1.6/src/spotultra/core/report/palette.py +182 -0
- spotultra-0.1.6/src/spotultra/core/report/pbir.py +326 -0
- spotultra-0.1.6/src/spotultra/core/report/query.py +175 -0
- spotultra-0.1.6/src/spotultra/core/report/regions.py +302 -0
- spotultra-0.1.6/src/spotultra/core/report/slots.py +373 -0
- spotultra-0.1.6/src/spotultra/core/report/template/__init__.py +0 -0
- spotultra-0.1.6/src/spotultra/core/report/template/files.py +146 -0
- spotultra-0.1.6/src/spotultra/core/report/template/objects.py +37 -0
- spotultra-0.1.6/src/spotultra/core/report/template/options.py +37 -0
- spotultra-0.1.6/src/spotultra/core/report/template/rules.py +152 -0
- spotultra-0.1.6/src/spotultra/core/report/template/scalars.py +47 -0
- spotultra-0.1.6/src/spotultra/core/report/template/slot_content.py +164 -0
- spotultra-0.1.6/src/spotultra/core/report/template/slot_data.py +91 -0
- spotultra-0.1.6/src/spotultra/core/report/template/styles.py +57 -0
- spotultra-0.1.6/src/spotultra/core/report/template/text_runs.py +74 -0
- spotultra-0.1.6/src/spotultra/core/report/template/validation.py +48 -0
- spotultra-0.1.6/src/spotultra/core/report/text_metrics.py +73 -0
- spotultra-0.1.6/src/spotultra/core/report/theme.py +142 -0
- spotultra-0.1.6/src/spotultra/core/report/visuals/__init__.py +0 -0
- spotultra-0.1.6/src/spotultra/core/report/visuals/base.py +93 -0
- spotultra-0.1.6/src/spotultra/core/report/visuals/cards.py +127 -0
- spotultra-0.1.6/src/spotultra/core/report/visuals/chrome.py +130 -0
- spotultra-0.1.6/src/spotultra/core/report/visuals/controls.py +107 -0
- spotultra-0.1.6/src/spotultra/core/report/visuals/data.py +257 -0
- spotultra-0.1.6/src/spotultra/core/report/visuals/factory.py +10 -0
- spotultra-0.1.6/src/spotultra/core/report/visuals/slicers.py +127 -0
- spotultra-0.1.6/src/spotultra/core/report/visuals/styling.py +168 -0
- spotultra-0.1.6/src/spotultra/core/report/writer.py +266 -0
- spotultra-0.1.6/src/spotultra/core/requirement.py +185 -0
- spotultra-0.1.6/src/spotultra/core/settings.py +160 -0
- spotultra-0.1.6/src/spotultra/core/specyaml.py +148 -0
- spotultra-0.1.6/src/spotultra/core/storage.py +233 -0
- spotultra-0.1.6/src/spotultra/core/visual_vocabulary.py +96 -0
- spotultra-0.1.6/src/spotultra/data/GUIDE-report.md +8 -0
- spotultra-0.1.6/src/spotultra/data/GUIDE.md +164 -0
- spotultra-0.1.6/src/spotultra/data/README.md +51 -0
- spotultra-0.1.6/src/spotultra/data/capabilities/design/index.yaml +8 -0
- spotultra-0.1.6/src/spotultra/data/capabilities/design/templates/background.yaml +3 -0
- spotultra-0.1.6/src/spotultra/data/capabilities/design/templates/change.yaml +10 -0
- spotultra-0.1.6/src/spotultra/data/capabilities/design/templates/copy.yaml +4 -0
- spotultra-0.1.6/src/spotultra/data/capabilities/design/templates/default.yaml +4 -0
- spotultra-0.1.6/src/spotultra/data/capabilities/design/templates/from-image.yaml +9 -0
- spotultra-0.1.6/src/spotultra/data/capabilities/design/templates/index.yaml +22 -0
- spotultra-0.1.6/src/spotultra/data/capabilities/design/templates/list.yaml +2 -0
- spotultra-0.1.6/src/spotultra/data/capabilities/design/templates/logo.yaml +3 -0
- spotultra-0.1.6/src/spotultra/data/capabilities/design/templates/preview.yaml +3 -0
- spotultra-0.1.6/src/spotultra/data/capabilities/design/visuals/gallery.yaml +2 -0
- spotultra-0.1.6/src/spotultra/data/capabilities/design/visuals/index.yaml +12 -0
- spotultra-0.1.6/src/spotultra/data/capabilities/design/visuals/inspect.yaml +2 -0
- spotultra-0.1.6/src/spotultra/data/capabilities/design/visuals/list.yaml +1 -0
- spotultra-0.1.6/src/spotultra/data/capabilities/design/visuals/repair.yaml +2 -0
- spotultra-0.1.6/src/spotultra/data/capabilities/develop/another-report.yaml +7 -0
- spotultra-0.1.6/src/spotultra/data/capabilities/develop/hardening.yaml +7 -0
- spotultra-0.1.6/src/spotultra/data/capabilities/develop/index.yaml +17 -0
- spotultra-0.1.6/src/spotultra/data/capabilities/develop/prototype.yaml +4 -0
- spotultra-0.1.6/src/spotultra/data/capabilities/develop/revise.yaml +7 -0
- spotultra-0.1.6/src/spotultra/data/capabilities/develop/use-template.yaml +8 -0
- spotultra-0.1.6/src/spotultra/data/capabilities/index.yaml +35 -0
- spotultra-0.1.6/src/spotultra/data/capabilities/operate/index.yaml +13 -0
- spotultra-0.1.6/src/spotultra/data/capabilities/operate/query.yaml +1 -0
- spotultra-0.1.6/src/spotultra/data/capabilities/operate/remove-project.yaml +3 -0
- spotultra-0.1.6/src/spotultra/data/capabilities/operate/remove.yaml +3 -0
- spotultra-0.1.6/src/spotultra/data/capabilities/requirements/index.yaml +8 -0
- spotultra-0.1.6/src/spotultra/data/capabilities/requirements/requirement.yaml +4 -0
- spotultra-0.1.6/src/spotultra/data/capabilities/requirements/source-documentation.yaml +6 -0
- spotultra-0.1.6/src/spotultra/data/capabilities/setup/create.yaml +2 -0
- spotultra-0.1.6/src/spotultra/data/capabilities/setup/index.yaml +10 -0
- spotultra-0.1.6/src/spotultra/data/capabilities/setup/naming.yaml +2 -0
- spotultra-0.1.6/src/spotultra/data/capabilities/setup/state.yaml +1 -0
- spotultra-0.1.6/src/spotultra/data/capabilities/sources/connect.yaml +4 -0
- spotultra-0.1.6/src/spotultra/data/capabilities/sources/index.yaml +14 -0
- spotultra-0.1.6/src/spotultra/data/capabilities/sources/profile.yaml +11 -0
- spotultra-0.1.6/src/spotultra/data/capabilities/sources/source-files.yaml +7 -0
- spotultra-0.1.6/src/spotultra/data/capabilities/sources/templates.yaml +1 -0
- spotultra-0.1.6/src/spotultra/data/catalog/brief-report.md +22 -0
- spotultra-0.1.6/src/spotultra/data/catalog/brief.md +26 -0
- spotultra-0.1.6/src/spotultra/data/catalog/limits.yaml +2 -0
- spotultra-0.1.6/src/spotultra/data/catalog/next.yaml +70 -0
- spotultra-0.1.6/src/spotultra/data/catalog/profiling.yaml +284 -0
- spotultra-0.1.6/src/spotultra/data/catalog/steps.md +9 -0
- spotultra-0.1.6/src/spotultra/data/check-rules.yaml +41 -0
- spotultra-0.1.6/src/spotultra/data/config/settings.yaml +14 -0
- spotultra-0.1.6/src/spotultra/data/design/constants.yaml +69 -0
- spotultra-0.1.6/src/spotultra/data/design/framing.yaml +62 -0
- spotultra-0.1.6/src/spotultra/data/design/measure.yaml +49 -0
- spotultra-0.1.6/src/spotultra/data/design/rendering.yaml +37 -0
- spotultra-0.1.6/src/spotultra/data/discovery/profile.yaml +50 -0
- spotultra-0.1.6/src/spotultra/data/example/comparison.yaml +67 -0
- spotultra-0.1.6/src/spotultra/data/example/design.yaml +108 -0
- spotultra-0.1.6/src/spotultra/data/example/next.yaml +109 -0
- spotultra-0.1.6/src/spotultra/data/example/output.yaml +67 -0
- spotultra-0.1.6/src/spotultra/data/example/records.yaml +614 -0
- spotultra-0.1.6/src/spotultra/data/example/steps.md +245 -0
- spotultra-0.1.6/src/spotultra/data/example/targets.yaml +20 -0
- spotultra-0.1.6/src/spotultra/data/exchange/instructions.yaml +414 -0
- spotultra-0.1.6/src/spotultra/data/exchange/kinds.yaml +7 -0
- spotultra-0.1.6/src/spotultra/data/exchange/layout.yaml +1009 -0
- spotultra-0.1.6/src/spotultra/data/exchange/tools.yaml +151 -0
- spotultra-0.1.6/src/spotultra/data/formats/pbir.yaml +558 -0
- spotultra-0.1.6/src/spotultra/data/formats/tmdl.yaml +162 -0
- spotultra-0.1.6/src/spotultra/data/help/commands/about.yaml +2 -0
- spotultra-0.1.6/src/spotultra/data/help/commands/capabilities.yaml +4 -0
- spotultra-0.1.6/src/spotultra/data/help/commands/catalog.yaml +5 -0
- spotultra-0.1.6/src/spotultra/data/help/commands/check.yaml +1 -0
- spotultra-0.1.6/src/spotultra/data/help/commands/connection.yaml +14 -0
- spotultra-0.1.6/src/spotultra/data/help/commands/connections.yaml +3 -0
- spotultra-0.1.6/src/spotultra/data/help/commands/data-source.yaml +21 -0
- spotultra-0.1.6/src/spotultra/data/help/commands/deploy.yaml +1 -0
- spotultra-0.1.6/src/spotultra/data/help/commands/dictionary.yaml +1 -0
- spotultra-0.1.6/src/spotultra/data/help/commands/discover.yaml +3 -0
- spotultra-0.1.6/src/spotultra/data/help/commands/edit.yaml +8 -0
- spotultra-0.1.6/src/spotultra/data/help/commands/evidence.yaml +1 -0
- spotultra-0.1.6/src/spotultra/data/help/commands/example.yaml +89 -0
- spotultra-0.1.6/src/spotultra/data/help/commands/guide.yaml +7 -0
- spotultra-0.1.6/src/spotultra/data/help/commands/init.yaml +23 -0
- spotultra-0.1.6/src/spotultra/data/help/commands/mcp-discovery.yaml +2 -0
- spotultra-0.1.6/src/spotultra/data/help/commands/model.yaml +4 -0
- spotultra-0.1.6/src/spotultra/data/help/commands/profile-source.yaml +5 -0
- spotultra-0.1.6/src/spotultra/data/help/commands/query.yaml +4 -0
- spotultra-0.1.6/src/spotultra/data/help/commands/remove-model.yaml +3 -0
- spotultra-0.1.6/src/spotultra/data/help/commands/remove-project.yaml +4 -0
- spotultra-0.1.6/src/spotultra/data/help/commands/report-template.yaml +18 -0
- spotultra-0.1.6/src/spotultra/data/help/commands/report.yaml +3 -0
- spotultra-0.1.6/src/spotultra/data/help/commands/requirement.yaml +9 -0
- spotultra-0.1.6/src/spotultra/data/help/commands/ship.yaml +7 -0
- spotultra-0.1.6/src/spotultra/data/help/commands/sources.yaml +3 -0
- spotultra-0.1.6/src/spotultra/data/help/commands/verify.yaml +3 -0
- spotultra-0.1.6/src/spotultra/data/help/commands/visual-catalog.yaml +13 -0
- spotultra-0.1.6/src/spotultra/data/help/commands/workflow.yaml +3 -0
- spotultra-0.1.6/src/spotultra/data/help/commands/workspaces.yaml +4 -0
- spotultra-0.1.6/src/spotultra/data/help/spotultra.yaml +24 -0
- spotultra-0.1.6/src/spotultra/data/languages/dax.yaml +165 -0
- spotultra-0.1.6/src/spotultra/data/languages/m.yaml +199 -0
- spotultra-0.1.6/src/spotultra/data/library/probe.yaml +51 -0
- spotultra-0.1.6/src/spotultra/data/library/sources/adls-csv.yaml +20 -0
- spotultra-0.1.6/src/spotultra/data/library/sources/adls-delta.yaml +23 -0
- spotultra-0.1.6/src/spotultra/data/library/sources/adls-parquet.yaml +24 -0
- spotultra-0.1.6/src/spotultra/data/library/sources/custom.yaml +8 -0
- spotultra-0.1.6/src/spotultra/data/library/sources/databricks.yaml +10 -0
- spotultra-0.1.6/src/spotultra/data/library/sources/dataverse.yaml +7 -0
- spotultra-0.1.6/src/spotultra/data/library/sources/excel-online.yaml +16 -0
- spotultra-0.1.6/src/spotultra/data/library/sources/snowflake.yaml +10 -0
- spotultra-0.1.6/src/spotultra/data/library/sources/sql.yaml +16 -0
- spotultra-0.1.6/src/spotultra/data/mcp-discovery.json +6 -0
- spotultra-0.1.6/src/spotultra/data/messages/cli.yaml +16 -0
- spotultra-0.1.6/src/spotultra/data/messages/common.yaml +20 -0
- spotultra-0.1.6/src/spotultra/data/messages/core/catalog.yaml +78 -0
- spotultra-0.1.6/src/spotultra/data/messages/core/core.yaml +157 -0
- spotultra-0.1.6/src/spotultra/data/messages/core/design.yaml +43 -0
- spotultra-0.1.6/src/spotultra/data/messages/core/discovery.yaml +101 -0
- spotultra-0.1.6/src/spotultra/data/messages/core/kit.yaml +35 -0
- spotultra-0.1.6/src/spotultra/data/messages/core/model.yaml +271 -0
- spotultra-0.1.6/src/spotultra/data/messages/core/profiling.yaml +33 -0
- spotultra-0.1.6/src/spotultra/data/messages/core/report.yaml +555 -0
- spotultra-0.1.6/src/spotultra/data/messages/design.yaml +578 -0
- spotultra-0.1.6/src/spotultra/data/messages/develop.yaml +196 -0
- spotultra-0.1.6/src/spotultra/data/messages/lists.yaml +5 -0
- spotultra-0.1.6/src/spotultra/data/messages/operate.yaml +5 -0
- spotultra-0.1.6/src/spotultra/data/messages/requirements.yaml +8 -0
- spotultra-0.1.6/src/spotultra/data/messages/setup.yaml +11 -0
- spotultra-0.1.6/src/spotultra/data/messages/shared.yaml +21 -0
- spotultra-0.1.6/src/spotultra/data/messages/sources.yaml +99 -0
- spotultra-0.1.6/src/spotultra/data/model/declare.yaml +6 -0
- spotultra-0.1.6/src/spotultra/data/model/edit.yaml +27 -0
- spotultra-0.1.6/src/spotultra/data/model/refresh.yaml +4 -0
- spotultra-0.1.6/src/spotultra/data/model/shape.yaml +18 -0
- spotultra-0.1.6/src/spotultra/data/profiling/README.md +130 -0
- spotultra-0.1.6/src/spotultra/data/profiling/shipped/ansi.json +249 -0
- spotultra-0.1.6/src/spotultra/data/profiling/shipped/bigquery.json +141 -0
- spotultra-0.1.6/src/spotultra/data/profiling/shipped/databricks.json +142 -0
- spotultra-0.1.6/src/spotultra/data/profiling/shipped/db2.json +170 -0
- spotultra-0.1.6/src/spotultra/data/profiling/shipped/manifest.json +387 -0
- spotultra-0.1.6/src/spotultra/data/profiling/shipped/mysql.json +56 -0
- spotultra-0.1.6/src/spotultra/data/profiling/shipped/odata.json +86 -0
- spotultra-0.1.6/src/spotultra/data/profiling/shipped/oracle.json +162 -0
- spotultra-0.1.6/src/spotultra/data/profiling/shipped/postgres.json +44 -0
- spotultra-0.1.6/src/spotultra/data/profiling/shipped/saphana.json +147 -0
- spotultra-0.1.6/src/spotultra/data/profiling/shipped/snowflake.json +121 -0
- spotultra-0.1.6/src/spotultra/data/profiling/shipped/teradata.json +129 -0
- spotultra-0.1.6/src/spotultra/data/profiling/shipped/tsql.json +88 -0
- spotultra-0.1.6/src/spotultra/data/profiling/shipped/unpivot_case.json +13 -0
- spotultra-0.1.6/src/spotultra/data/profiling-kit/cells/common.py +147 -0
- spotultra-0.1.6/src/spotultra/data/profiling-kit/cells/file_columns.py +86 -0
- spotultra-0.1.6/src/spotultra/data/profiling-kit/cells/file_dialect.py +14 -0
- spotultra-0.1.6/src/spotultra/data/profiling-kit/cells/file_keys.py +84 -0
- spotultra-0.1.6/src/spotultra/data/profiling-kit/cells/file_relationships.py +96 -0
- spotultra-0.1.6/src/spotultra/data/profiling-kit/cells/file_route.py +39 -0
- spotultra-0.1.6/src/spotultra/data/profiling-kit/cells/file_scan.py +101 -0
- spotultra-0.1.6/src/spotultra/data/profiling-kit/cells/file_sources.py +128 -0
- spotultra-0.1.6/src/spotultra/data/profiling-kit/cells/measurement.py +9 -0
- spotultra-0.1.6/src/spotultra/data/profiling-kit/cells/model_primitives.py +52 -0
- spotultra-0.1.6/src/spotultra/data/profiling-kit/cells/odata_metadata.py +98 -0
- spotultra-0.1.6/src/spotultra/data/profiling-kit/cells/odata_questions.py +51 -0
- spotultra-0.1.6/src/spotultra/data/profiling-kit/cells/parameters.py +3 -0
- spotultra-0.1.6/src/spotultra/data/profiling-kit/cells/protocol_json.py +133 -0
- spotultra-0.1.6/src/spotultra/data/profiling-kit/cells/protocol_run.py +273 -0
- spotultra-0.1.6/src/spotultra/data/profiling-kit/cells/read_budget.py +11 -0
- spotultra-0.1.6/src/spotultra/data/profiling-kit/cells/relational_metadata.py +143 -0
- spotultra-0.1.6/src/spotultra/data/profiling-kit/cells/run.py +6 -0
- spotultra-0.1.6/src/spotultra/data/profiling-kit/cells/run_files.py +46 -0
- spotultra-0.1.6/src/spotultra/data/profiling-kit/cells/source_answers.py +175 -0
- spotultra-0.1.6/src/spotultra/data/profiling-kit/cells/source_inventory.py +42 -0
- spotultra-0.1.6/src/spotultra/data/profiling-kit/cells/source_model.py +19 -0
- spotultra-0.1.6/src/spotultra/data/profiling-kit/cells/source_plan.py +255 -0
- spotultra-0.1.6/src/spotultra/data/profiling-kit/cells/source_profile.py +283 -0
- spotultra-0.1.6/src/spotultra/data/profiling-kit/cells/source_questions.py +5 -0
- spotultra-0.1.6/src/spotultra/data/profiling-kit/cells/source_relationships.py +204 -0
- spotultra-0.1.6/src/spotultra/data/profiling-kit/cells/source_route.py +154 -0
- spotultra-0.1.6/src/spotultra/data/profiling-kit/cells/source_work.py +89 -0
- spotultra-0.1.6/src/spotultra/data/profiling-kit/cells/spark_datasets.py +85 -0
- spotultra-0.1.6/src/spotultra/data/profiling-kit/cells/spark_engine.py +8 -0
- spotultra-0.1.6/src/spotultra/data/profiling-kit/cells/spark_entry.py +37 -0
- spotultra-0.1.6/src/spotultra/data/profiling-kit/cells/spark_paths.py +8 -0
- spotultra-0.1.6/src/spotultra/data/profiling-kit/cells/spark_scan.py +125 -0
- spotultra-0.1.6/src/spotultra/data/profiling-kit/cells/spark_store.py +83 -0
- spotultra-0.1.6/src/spotultra/data/profiling-kit/cells/sql_questions.py +169 -0
- spotultra-0.1.6/src/spotultra/data/profiling-kit/cells/store.py +164 -0
- spotultra-0.1.6/src/spotultra/data/profiling-kit/cells/transport_batch.py +116 -0
- spotultra-0.1.6/src/spotultra/data/profiling-kit/kit/answers.json +164 -0
- spotultra-0.1.6/src/spotultra/data/profiling-kit/kit/file_route.json +224 -0
- spotultra-0.1.6/src/spotultra/data/profiling-kit/kit/messages.json +113 -0
- spotultra-0.1.6/src/spotultra/data/profiling-kit/kit/settings.json +149 -0
- spotultra-0.1.6/src/spotultra/data/profiling-kit/kit/spark.json +59 -0
- spotultra-0.1.6/src/spotultra/data/profiling-kit/kit/store.json +97 -0
- spotultra-0.1.6/src/spotultra/data/profiling-kit/notebook.yaml +124 -0
- spotultra-0.1.6/src/spotultra/data/profiling-kit/pipeline.yaml +250 -0
- spotultra-0.1.6/src/spotultra/data/profiling-kit/route.yaml +199 -0
- spotultra-0.1.6/src/spotultra/data/project/spec-keys.yaml +404 -0
- spotultra-0.1.6/src/spotultra/data/report/authoring.yaml +54 -0
- spotultra-0.1.6/src/spotultra/data/report/controls.yaml +38 -0
- spotultra-0.1.6/src/spotultra/data/report/fields.yaml +14 -0
- spotultra-0.1.6/src/spotultra/data/report/figures.yaml +15 -0
- spotultra-0.1.6/src/spotultra/data/report/headers.yaml +25 -0
- spotultra-0.1.6/src/spotultra/data/report/page.yaml +7 -0
- spotultra-0.1.6/src/spotultra/data/report/palette.yaml +6 -0
- spotultra-0.1.6/src/spotultra/data/report/patterns.yaml +5 -0
- spotultra-0.1.6/src/spotultra/data/report/pbir.yaml +27 -0
- spotultra-0.1.6/src/spotultra/data/report/regions.yaml +87 -0
- spotultra-0.1.6/src/spotultra/data/report/slots.yaml +37 -0
- spotultra-0.1.6/src/spotultra/data/report/template.yaml +22 -0
- spotultra-0.1.6/src/spotultra/data/report/text.yaml +13 -0
- spotultra-0.1.6/src/spotultra/data/report/theme.yaml +109 -0
- spotultra-0.1.6/src/spotultra/data/report/visuals.yaml +17 -0
- spotultra-0.1.6/src/spotultra/data/report/writer.yaml +10 -0
- spotultra-0.1.6/src/spotultra/data/scaffold/catalog.md +91 -0
- spotultra-0.1.6/src/spotultra/data/settings/README.md +65 -0
- spotultra-0.1.6/src/spotultra/data/settings/discovery.yaml +26 -0
- spotultra-0.1.6/src/spotultra/data/settings/naming-conventions.yaml +7 -0
- spotultra-0.1.6/src/spotultra/data/settings/preview/assets/catalog-mark.svg +1 -0
- spotultra-0.1.6/src/spotultra/data/settings/preview/assets/catalog-regions.topojson +1 -0
- spotultra-0.1.6/src/spotultra/data/settings/preview/model.yaml +177 -0
- spotultra-0.1.6/src/spotultra/data/settings/preview/native-extensions.yaml +1268 -0
- spotultra-0.1.6/src/spotultra/data/settings/preview/native-inventory.yaml +569 -0
- spotultra-0.1.6/src/spotultra/data/settings/preview/report.yaml +105 -0
- spotultra-0.1.6/src/spotultra/data/settings/preview/stand-ins.yaml +7 -0
- spotultra-0.1.6/src/spotultra/data/settings/preview/visual-catalog.yaml +1682 -0
- spotultra-0.1.6/src/spotultra/data/settings/report-templates/_logos/default-logo.json +3 -0
- spotultra-0.1.6/src/spotultra/data/settings/report-templates/_logos/spotultra-logo.png +0 -0
- spotultra-0.1.6/src/spotultra/data/settings/report-templates/spotultra-default/layout.yaml +145 -0
- spotultra-0.1.6/src/spotultra/data/settings/report-templates/spotultra-default/power-bi-theme.yaml +319 -0
- spotultra-0.1.6/src/spotultra/data/settings/report-templates/spotultra-default/rules.yaml +114 -0
- spotultra-0.1.6/src/spotultra/data/settings/report-templates/spotultra-default/styles.yaml +257 -0
- spotultra-0.1.6/src/spotultra/data/settings/report-templates/spotultra-default/theme.yaml +58 -0
- spotultra-0.1.6/src/spotultra/data/settings/visual-authoring/actionButton.yaml +506 -0
- spotultra-0.1.6/src/spotultra/data/settings/visual-authoring/advancedSlicerVisual.yaml +1816 -0
- spotultra-0.1.6/src/spotultra/data/settings/visual-authoring/areaChart.yaml +2567 -0
- spotultra-0.1.6/src/spotultra/data/settings/visual-authoring/azureMap.yaml +1396 -0
- spotultra-0.1.6/src/spotultra/data/settings/visual-authoring/barChart.yaml +2144 -0
- spotultra-0.1.6/src/spotultra/data/settings/visual-authoring/bookmarkNavigator.yaml +480 -0
- spotultra-0.1.6/src/spotultra/data/settings/visual-authoring/card.yaml +142 -0
- spotultra-0.1.6/src/spotultra/data/settings/visual-authoring/cardVisual.yaml +3381 -0
- spotultra-0.1.6/src/spotultra/data/settings/visual-authoring/clusteredBarChart.yaml +2167 -0
- spotultra-0.1.6/src/spotultra/data/settings/visual-authoring/clusteredColumnChart.yaml +2167 -0
- spotultra-0.1.6/src/spotultra/data/settings/visual-authoring/columnChart.yaml +2144 -0
- spotultra-0.1.6/src/spotultra/data/settings/visual-authoring/decompositionTreeVisual.yaml +376 -0
- spotultra-0.1.6/src/spotultra/data/settings/visual-authoring/donutChart.yaml +607 -0
- spotultra-0.1.6/src/spotultra/data/settings/visual-authoring/filledMap.yaml +289 -0
- spotultra-0.1.6/src/spotultra/data/settings/visual-authoring/funnel.yaml +257 -0
- spotultra-0.1.6/src/spotultra/data/settings/visual-authoring/ganttChart.yaml +839 -0
- spotultra-0.1.6/src/spotultra/data/settings/visual-authoring/gauge.yaml +254 -0
- spotultra-0.1.6/src/spotultra/data/settings/visual-authoring/hundredPercentStackedAreaChart.yaml +2435 -0
- spotultra-0.1.6/src/spotultra/data/settings/visual-authoring/hundredPercentStackedBarChart.yaml +2144 -0
- spotultra-0.1.6/src/spotultra/data/settings/visual-authoring/hundredPercentStackedColumnChart.yaml +2144 -0
- spotultra-0.1.6/src/spotultra/data/settings/visual-authoring/image.yaml +198 -0
- spotultra-0.1.6/src/spotultra/data/settings/visual-authoring/index.yaml +1475 -0
- spotultra-0.1.6/src/spotultra/data/settings/visual-authoring/keyDriversVisual.yaml +153 -0
- spotultra-0.1.6/src/spotultra/data/settings/visual-authoring/kpi.yaml +309 -0
- spotultra-0.1.6/src/spotultra/data/settings/visual-authoring/lineChart.yaml +3112 -0
- spotultra-0.1.6/src/spotultra/data/settings/visual-authoring/lineClusteredColumnComboChart.yaml +2742 -0
- spotultra-0.1.6/src/spotultra/data/settings/visual-authoring/lineStackedColumnComboChart.yaml +2574 -0
- spotultra-0.1.6/src/spotultra/data/settings/visual-authoring/listSlicer.yaml +2532 -0
- spotultra-0.1.6/src/spotultra/data/settings/visual-authoring/map.yaml +358 -0
- spotultra-0.1.6/src/spotultra/data/settings/visual-authoring/multiRowCard.yaml +208 -0
- spotultra-0.1.6/src/spotultra/data/settings/visual-authoring/pageNavigator.yaml +468 -0
- spotultra-0.1.6/src/spotultra/data/settings/visual-authoring/pieChart.yaml +298 -0
- spotultra-0.1.6/src/spotultra/data/settings/visual-authoring/pivotTable.yaml +1070 -0
- spotultra-0.1.6/src/spotultra/data/settings/visual-authoring/ribbonChart.yaml +2144 -0
- spotultra-0.1.6/src/spotultra/data/settings/visual-authoring/scatterChart.yaml +1645 -0
- spotultra-0.1.6/src/spotultra/data/settings/visual-authoring/shape.yaml +386 -0
- spotultra-0.1.6/src/spotultra/data/settings/visual-authoring/shapeMap.yaml +224 -0
- spotultra-0.1.6/src/spotultra/data/settings/visual-authoring/slicer.yaml +904 -0
- spotultra-0.1.6/src/spotultra/data/settings/visual-authoring/stackedAreaChart.yaml +2435 -0
- spotultra-0.1.6/src/spotultra/data/settings/visual-authoring/tableEx.yaml +595 -0
- spotultra-0.1.6/src/spotultra/data/settings/visual-authoring/textSlicer.yaml +629 -0
- spotultra-0.1.6/src/spotultra/data/settings/visual-authoring/textbox.yaml +52 -0
- spotultra-0.1.6/src/spotultra/data/settings/visual-authoring/treemap.yaml +250 -0
- spotultra-0.1.6/src/spotultra/data/settings/visual-authoring/waterfallChart.yaml +847 -0
- spotultra-0.1.6/src/spotultra/datafiles.py +88 -0
- spotultra-0.1.6/src/spotultra/errors.py +40 -0
- spotultra-0.1.6/src/spotultra/exchange/__init__.py +0 -0
- spotultra-0.1.6/src/spotultra/exchange/client.py +177 -0
- spotultra-0.1.6/src/spotultra/exchange/endpoint.py +81 -0
- spotultra-0.1.6/src/spotultra/exchange/instructions.py +102 -0
- spotultra-0.1.6/src/spotultra/exchange/layout.py +111 -0
- spotultra-0.1.6/src/spotultra/exchange/outcomes.py +140 -0
- spotultra-0.1.6/src/spotultra/exchange/requests.py +74 -0
- spotultra-0.1.6/src/spotultra/exchange/runs.py +356 -0
- spotultra-0.1.6/src/spotultra/help.py +54 -0
- spotultra-0.1.6/src/spotultra.egg-info/PKG-INFO +53 -0
- spotultra-0.1.6/src/spotultra.egg-info/SOURCES.txt +782 -0
- spotultra-0.1.6/src/spotultra.egg-info/dependency_links.txt +1 -0
- spotultra-0.1.6/src/spotultra.egg-info/entry_points.txt +2 -0
- spotultra-0.1.6/src/spotultra.egg-info/requires.txt +3 -0
- spotultra-0.1.6/src/spotultra.egg-info/top_level.txt +2 -0
- spotultra-0.1.6/src/spotultra_source_adapters/__init__.py +0 -0
- spotultra-0.1.6/src/spotultra_source_adapters/bindings/__init__.py +0 -0
- spotultra-0.1.6/src/spotultra_source_adapters/bindings/http.py +54 -0
- spotultra-0.1.6/src/spotultra_source_adapters/bindings/sql_server.py +30 -0
- spotultra-0.1.6/src/spotultra_source_adapters/drivers/__init__.py +0 -0
- spotultra-0.1.6/src/spotultra_source_adapters/drivers/sql_server_schema_catalog.py +39 -0
- spotultra-0.1.6/src/spotultra_source_adapters/runtime.py +101 -0
- spotultra-0.1.6/tests/test_after_deploy_modes.py +180 -0
- spotultra-0.1.6/tests/test_architecture.py +303 -0
- spotultra-0.1.6/tests/test_arrangement.py +47 -0
- spotultra-0.1.6/tests/test_assets.py +163 -0
- spotultra-0.1.6/tests/test_background_choice.py +96 -0
- spotultra-0.1.6/tests/test_background_corner_sampling.py +137 -0
- spotultra-0.1.6/tests/test_background_edges.py +44 -0
- spotultra-0.1.6/tests/test_background_paint_shapes.py +225 -0
- spotultra-0.1.6/tests/test_background_surface_evidence.py +119 -0
- spotultra-0.1.6/tests/test_background_surfaces.py +206 -0
- spotultra-0.1.6/tests/test_canvas_boundary.py +47 -0
- spotultra-0.1.6/tests/test_canvas_fallback.py +62 -0
- spotultra-0.1.6/tests/test_canvas_frames.py +158 -0
- spotultra-0.1.6/tests/test_capabilities.py +98 -0
- spotultra-0.1.6/tests/test_capability_location.py +59 -0
- spotultra-0.1.6/tests/test_catalog.py +940 -0
- spotultra-0.1.6/tests/test_catalog_concurrency.py +160 -0
- spotultra-0.1.6/tests/test_catalog_gallery.py +52 -0
- spotultra-0.1.6/tests/test_catalog_presentation.py +158 -0
- spotultra-0.1.6/tests/test_catalog_publication.py +49 -0
- spotultra-0.1.6/tests/test_check_rules.py +171 -0
- spotultra-0.1.6/tests/test_chosen_canvas_radius.py +52 -0
- spotultra-0.1.6/tests/test_command_inputs.py +147 -0
- spotultra-0.1.6/tests/test_comparison_context.py +75 -0
- spotultra-0.1.6/tests/test_comparison_evidence.py +37 -0
- spotultra-0.1.6/tests/test_connection.py +604 -0
- spotultra-0.1.6/tests/test_connection_failures.py +153 -0
- spotultra-0.1.6/tests/test_connections.py +161 -0
- spotultra-0.1.6/tests/test_control_stage_to_template.py +180 -0
- spotultra-0.1.6/tests/test_datasource.py +183 -0
- spotultra-0.1.6/tests/test_dax.py +322 -0
- spotultra-0.1.6/tests/test_declare.py +595 -0
- spotultra-0.1.6/tests/test_default_catalog_preview.py +108 -0
- spotultra-0.1.6/tests/test_design_architecture.py +432 -0
- spotultra-0.1.6/tests/test_discover.py +782 -0
- spotultra-0.1.6/tests/test_discovery.py +542 -0
- spotultra-0.1.6/tests/test_element_look_small_text.py +44 -0
- spotultra-0.1.6/tests/test_endpoint.py +155 -0
- spotultra-0.1.6/tests/test_example_background_uncertainty.py +23 -0
- spotultra-0.1.6/tests/test_example_canvas_frame.py +80 -0
- spotultra-0.1.6/tests/test_example_choices.py +190 -0
- spotultra-0.1.6/tests/test_example_controls.py +401 -0
- spotultra-0.1.6/tests/test_example_design.py +264 -0
- spotultra-0.1.6/tests/test_example_entrypoint.py +115 -0
- spotultra-0.1.6/tests/test_example_figures.py +386 -0
- spotultra-0.1.6/tests/test_example_generation.py +208 -0
- spotultra-0.1.6/tests/test_example_headers.py +293 -0
- spotultra-0.1.6/tests/test_example_input_normalization.py +52 -0
- spotultra-0.1.6/tests/test_example_layout.py +188 -0
- spotultra-0.1.6/tests/test_example_raster_scale.py +96 -0
- spotultra-0.1.6/tests/test_example_reprocessing.py +32 -0
- spotultra-0.1.6/tests/test_example_slicers.py +218 -0
- spotultra-0.1.6/tests/test_example_surface_choices.py +275 -0
- spotultra-0.1.6/tests/test_example_transactions.py +230 -0
- spotultra-0.1.6/tests/test_example_typography.py +136 -0
- spotultra-0.1.6/tests/test_example_visuals.py +507 -0
- spotultra-0.1.6/tests/test_exchange.py +277 -0
- spotultra-0.1.6/tests/test_extension.py +65 -0
- spotultra-0.1.6/tests/test_figure_stage_to_template.py +201 -0
- spotultra-0.1.6/tests/test_filter_bound.py +152 -0
- spotultra-0.1.6/tests/test_frame_surface_bounds.py +57 -0
- spotultra-0.1.6/tests/test_full_refresh.py +148 -0
- spotultra-0.1.6/tests/test_grid_effect_contract.py +190 -0
- spotultra-0.1.6/tests/test_grid_formatting.py +149 -0
- spotultra-0.1.6/tests/test_header_stage_to_template.py +149 -0
- spotultra-0.1.6/tests/test_header_text_room.py +18 -0
- spotultra-0.1.6/tests/test_help.py +83 -0
- spotultra-0.1.6/tests/test_image_loading.py +192 -0
- spotultra-0.1.6/tests/test_init_guide.py +326 -0
- spotultra-0.1.6/tests/test_init_next.py +79 -0
- spotultra-0.1.6/tests/test_kit_cell_boundaries.py +469 -0
- spotultra-0.1.6/tests/test_kit_route.py +569 -0
- spotultra-0.1.6/tests/test_kit_source.py +1613 -0
- spotultra-0.1.6/tests/test_kit_store.py +600 -0
- spotultra-0.1.6/tests/test_layer_elements.py +276 -0
- spotultra-0.1.6/tests/test_layer_inspection.py +133 -0
- spotultra-0.1.6/tests/test_manage.py +40 -0
- spotultra-0.1.6/tests/test_mcode.py +43 -0
- spotultra-0.1.6/tests/test_mcp_client.py +155 -0
- spotultra-0.1.6/tests/test_mcp_discovery.py +110 -0
- spotultra-0.1.6/tests/test_measure_surface.py +94 -0
- spotultra-0.1.6/tests/test_model_calculated.py +508 -0
- spotultra-0.1.6/tests/test_model_edit.py +277 -0
- spotultra-0.1.6/tests/test_model_modes.py +460 -0
- spotultra-0.1.6/tests/test_model_name_default.py +88 -0
- spotultra-0.1.6/tests/test_model_spec.py +274 -0
- spotultra-0.1.6/tests/test_multi_source.py +246 -0
- spotultra-0.1.6/tests/test_named_text_alignment.py +49 -0
- spotultra-0.1.6/tests/test_native_catalog_extensions.py +249 -0
- spotultra-0.1.6/tests/test_native_format_boundary.py +229 -0
- spotultra-0.1.6/tests/test_navigation_stage_to_template.py +94 -0
- spotultra-0.1.6/tests/test_navigator_layout.py +55 -0
- spotultra-0.1.6/tests/test_panel_palette.py +183 -0
- spotultra-0.1.6/tests/test_panel_shadows.py +173 -0
- spotultra-0.1.6/tests/test_pbir_datetime.py +32 -0
- spotultra-0.1.6/tests/test_prebound_catalog_data.py +160 -0
- spotultra-0.1.6/tests/test_preview.py +466 -0
- spotultra-0.1.6/tests/test_preview_compare.py +54 -0
- spotultra-0.1.6/tests/test_preview_content.py +301 -0
- spotultra-0.1.6/tests/test_preview_geography.py +81 -0
- spotultra-0.1.6/tests/test_preview_influencers.py +84 -0
- spotultra-0.1.6/tests/test_preview_tenants.py +111 -0
- spotultra-0.1.6/tests/test_profile_source.py +329 -0
- spotultra-0.1.6/tests/test_project.py +267 -0
- spotultra-0.1.6/tests/test_protocol_discovery.py +459 -0
- spotultra-0.1.6/tests/test_refresh_policy.py +114 -0
- spotultra-0.1.6/tests/test_refresh_policy_spec.py +261 -0
- spotultra-0.1.6/tests/test_release_adapter.py +454 -0
- spotultra-0.1.6/tests/test_remove_project.py +105 -0
- spotultra-0.1.6/tests/test_replacements.py +36 -0
- spotultra-0.1.6/tests/test_report_auxiliary_regions.py +135 -0
- spotultra-0.1.6/tests/test_report_members.py +219 -0
- spotultra-0.1.6/tests/test_report_project.py +302 -0
- spotultra-0.1.6/tests/test_report_slots.py +137 -0
- spotultra-0.1.6/tests/test_report_spec.py +890 -0
- spotultra-0.1.6/tests/test_report_template.py +514 -0
- spotultra-0.1.6/tests/test_requirement.py +168 -0
- spotultra-0.1.6/tests/test_row_context.py +55 -0
- spotultra-0.1.6/tests/test_service_report_binding.py +106 -0
- spotultra-0.1.6/tests/test_shadow_frame_support.py +59 -0
- spotultra-0.1.6/tests/test_ship.py +693 -0
- spotultra-0.1.6/tests/test_slicer_room.py +88 -0
- spotultra-0.1.6/tests/test_slot_controls.py +378 -0
- spotultra-0.1.6/tests/test_slot_figures.py +205 -0
- spotultra-0.1.6/tests/test_slot_headers.py +236 -0
- spotultra-0.1.6/tests/test_slot_navigation.py +130 -0
- spotultra-0.1.6/tests/test_slot_slicers.py +220 -0
- spotultra-0.1.6/tests/test_slot_visuals.py +396 -0
- spotultra-0.1.6/tests/test_source_object_identity.py +111 -0
- spotultra-0.1.6/tests/test_specyaml.py +259 -0
- spotultra-0.1.6/tests/test_staged_authoring_slots.py +159 -0
- spotultra-0.1.6/tests/test_staged_text_layout.py +184 -0
- spotultra-0.1.6/tests/test_staged_visual_styles.py +235 -0
- spotultra-0.1.6/tests/test_storage.py +276 -0
- spotultra-0.1.6/tests/test_storage_checks.py +189 -0
- spotultra-0.1.6/tests/test_template_location.py +59 -0
- spotultra-0.1.6/tests/test_template_sweep.py +177 -0
- spotultra-0.1.6/tests/test_text_layout_overlay.py +45 -0
- spotultra-0.1.6/tests/test_text_slots.py +80 -0
- spotultra-0.1.6/tests/test_text_typography.py +105 -0
- spotultra-0.1.6/tests/test_tile_slicer.py +358 -0
- spotultra-0.1.6/tests/test_tmdl_calculated.py +265 -0
- spotultra-0.1.6/tests/test_tmdl_modes.py +133 -0
- spotultra-0.1.6/tests/test_transparent_layers.py +68 -0
- spotultra-0.1.6/tests/test_treemap_palette_preview.py +84 -0
- spotultra-0.1.6/tests/test_verify.py +404 -0
- spotultra-0.1.6/tests/test_visual_authoring.py +62 -0
- spotultra-0.1.6/tests/test_visual_authoring_slots.py +208 -0
- spotultra-0.1.6/tests/test_visual_catalog_cli.py +304 -0
- spotultra-0.1.6/tests/test_visual_pipeline_contract.py +170 -0
- spotultra-0.1.6/tests/test_wheel.py +29 -0
- spotultra-0.1.6/tests/test_windows_exchange.py +285 -0
spotultra-0.1.6/LICENSE
ADDED
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
Required Notice: Copyright 2026 Joshua Pitzer
|
|
2
|
+
|
|
3
|
+
# PolyForm Shield License 1.0.0
|
|
4
|
+
|
|
5
|
+
<https://polyformproject.org/licenses/shield/1.0.0>
|
|
6
|
+
|
|
7
|
+
## Acceptance
|
|
8
|
+
|
|
9
|
+
In order to get any license under these terms, you must agree
|
|
10
|
+
to them as both strict obligations and conditions to all
|
|
11
|
+
your licenses.
|
|
12
|
+
|
|
13
|
+
## Copyright License
|
|
14
|
+
|
|
15
|
+
The licensor grants you a copyright license for the
|
|
16
|
+
software to do everything you might do with the software
|
|
17
|
+
that would otherwise infringe the licensor's copyright
|
|
18
|
+
in it for any permitted purpose. However, you may
|
|
19
|
+
only distribute the software according to [Distribution
|
|
20
|
+
License](#distribution-license) and make changes or new works
|
|
21
|
+
based on the software according to [Changes and New Works
|
|
22
|
+
License](#changes-and-new-works-license).
|
|
23
|
+
|
|
24
|
+
## Distribution License
|
|
25
|
+
|
|
26
|
+
The licensor grants you an additional copyright license
|
|
27
|
+
to distribute copies of the software. Your license
|
|
28
|
+
to distribute covers distributing the software with
|
|
29
|
+
changes and new works permitted by [Changes and New Works
|
|
30
|
+
License](#changes-and-new-works-license).
|
|
31
|
+
|
|
32
|
+
## Notices
|
|
33
|
+
|
|
34
|
+
You must ensure that anyone who gets a copy of any part of
|
|
35
|
+
the software from you also gets a copy of these terms or the
|
|
36
|
+
URL for them above, as well as copies of any plain-text lines
|
|
37
|
+
beginning with `Required Notice:` that the licensor provided
|
|
38
|
+
with the software. For example:
|
|
39
|
+
|
|
40
|
+
> Required Notice: Copyright Yoyodyne, Inc. (http://example.com)
|
|
41
|
+
|
|
42
|
+
## Changes and New Works License
|
|
43
|
+
|
|
44
|
+
The licensor grants you an additional copyright license to
|
|
45
|
+
make changes and new works based on the software for any
|
|
46
|
+
permitted purpose.
|
|
47
|
+
|
|
48
|
+
## Patent License
|
|
49
|
+
|
|
50
|
+
The licensor grants you a patent license for the software that
|
|
51
|
+
covers patent claims the licensor can license, or becomes able
|
|
52
|
+
to license, that you would infringe by using the software.
|
|
53
|
+
|
|
54
|
+
## Noncompete
|
|
55
|
+
|
|
56
|
+
Any purpose is a permitted purpose, except for providing any
|
|
57
|
+
product that competes with the software or any product the
|
|
58
|
+
licensor or any of its affiliates provides using the software.
|
|
59
|
+
|
|
60
|
+
## Competition
|
|
61
|
+
|
|
62
|
+
Goods and services compete even when they provide functionality
|
|
63
|
+
through different kinds of interfaces or for different technical
|
|
64
|
+
platforms. Applications can compete with services, libraries
|
|
65
|
+
with plugins, frameworks with development tools, and so on,
|
|
66
|
+
even if they're written in different programming languages
|
|
67
|
+
or for different computer architectures. Goods and services
|
|
68
|
+
compete even when provided free of charge. If you market a
|
|
69
|
+
product as a practical substitute for the software or another
|
|
70
|
+
product, it definitely competes.
|
|
71
|
+
|
|
72
|
+
## New Products
|
|
73
|
+
|
|
74
|
+
If you are using the software to provide a product that does
|
|
75
|
+
not compete, but the licensor or any of its affiliates brings
|
|
76
|
+
your product into competition by providing a new version of
|
|
77
|
+
the software or another product using the software, you may
|
|
78
|
+
continue using versions of the software available under these
|
|
79
|
+
terms beforehand to provide your competing product, but not
|
|
80
|
+
any later versions.
|
|
81
|
+
|
|
82
|
+
## Discontinued Products
|
|
83
|
+
|
|
84
|
+
You may begin using the software to compete with a product
|
|
85
|
+
or service that the licensor or any of its affiliates has
|
|
86
|
+
stopped providing, unless the licensor includes a plain-text
|
|
87
|
+
line beginning with `Licensor Line of Business:` with the
|
|
88
|
+
software that mentions that line of business. For example:
|
|
89
|
+
|
|
90
|
+
> Licensor Line of Business: YoyodyneCMS Content Management
|
|
91
|
+
System (http://example.com/cms)
|
|
92
|
+
|
|
93
|
+
## Sales of Business
|
|
94
|
+
|
|
95
|
+
If the licensor or any of its affiliates sells a line of
|
|
96
|
+
business developing the software or using the software
|
|
97
|
+
to provide a product, the buyer can also enforce
|
|
98
|
+
[Noncompete](#noncompete) for that product.
|
|
99
|
+
|
|
100
|
+
## Fair Use
|
|
101
|
+
|
|
102
|
+
You may have "fair use" rights for the software under the
|
|
103
|
+
law. These terms do not limit them.
|
|
104
|
+
|
|
105
|
+
## No Other Rights
|
|
106
|
+
|
|
107
|
+
These terms do not allow you to sublicense or transfer any of
|
|
108
|
+
your licenses to anyone else, or prevent the licensor from
|
|
109
|
+
granting licenses to anyone else. These terms do not imply
|
|
110
|
+
any other licenses.
|
|
111
|
+
|
|
112
|
+
## Patent Defense
|
|
113
|
+
|
|
114
|
+
If you make any written claim that the software infringes or
|
|
115
|
+
contributes to infringement of any patent, your patent license
|
|
116
|
+
for the software granted under these terms ends immediately. If
|
|
117
|
+
your company makes such a claim, your patent license ends
|
|
118
|
+
immediately for work on behalf of your company.
|
|
119
|
+
|
|
120
|
+
## Violations
|
|
121
|
+
|
|
122
|
+
The first time you are notified in writing that you have
|
|
123
|
+
violated any of these terms, or done anything with the software
|
|
124
|
+
not covered by your licenses, your licenses can nonetheless
|
|
125
|
+
continue if you come into full compliance with these terms,
|
|
126
|
+
and take practical steps to correct past violations, within
|
|
127
|
+
32 days of receiving notice. Otherwise, all your licenses
|
|
128
|
+
end immediately.
|
|
129
|
+
|
|
130
|
+
## No Liability
|
|
131
|
+
|
|
132
|
+
***As far as the law allows, the software comes as is, without
|
|
133
|
+
any warranty or condition, and the licensor will not be liable
|
|
134
|
+
to you for any damages arising out of these terms or the use
|
|
135
|
+
or nature of the software, under any kind of legal claim.***
|
|
136
|
+
|
|
137
|
+
## Definitions
|
|
138
|
+
|
|
139
|
+
The **licensor** is the individual or entity offering these
|
|
140
|
+
terms, and the **software** is the software the licensor makes
|
|
141
|
+
available under these terms.
|
|
142
|
+
|
|
143
|
+
A **product** can be a good or service, or a combination
|
|
144
|
+
of them.
|
|
145
|
+
|
|
146
|
+
**You** refers to the individual or entity agreeing to these
|
|
147
|
+
terms.
|
|
148
|
+
|
|
149
|
+
**Your company** is any legal entity, sole proprietorship,
|
|
150
|
+
or other kind of organization that you work for, plus all
|
|
151
|
+
its affiliates.
|
|
152
|
+
|
|
153
|
+
**Affiliates** means the other organizations than an
|
|
154
|
+
organization has control over, is under the control of, or is
|
|
155
|
+
under common control with.
|
|
156
|
+
|
|
157
|
+
**Control** means ownership of substantially all the assets of
|
|
158
|
+
an entity, or the power to direct its management and policies
|
|
159
|
+
by vote, contract, or otherwise. Control can be direct or
|
|
160
|
+
indirect.
|
|
161
|
+
|
|
162
|
+
**Your licenses** are all the licenses granted to you for the
|
|
163
|
+
software under these terms.
|
|
164
|
+
|
|
165
|
+
**Use** means anything you do with the software requiring one
|
|
166
|
+
of your licenses.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
include release-corpus.json
|
spotultra-0.1.6/PKG-INFO
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: spotultra
|
|
3
|
+
Version: 0.1.6
|
|
4
|
+
Summary: SpotUltra CLI provides local development capabilities for your AI assistant. It uses SpotUltra MCP when Microsoft connectivity is needed.
|
|
5
|
+
Author: Joshua Pitzer
|
|
6
|
+
License-Expression: LicenseRef-PolyForm-Shield-1.0.0
|
|
7
|
+
Project-URL: Homepage, https://www.spotultra.com
|
|
8
|
+
Project-URL: Repository, https://github.com/JoshPitzer/spotultra-cli
|
|
9
|
+
Project-URL: Documentation, https://www.spotultra.com/try-now/
|
|
10
|
+
Project-URL: Issues, https://github.com/JoshPitzer/spotultra-cli/issues
|
|
11
|
+
Requires-Python: >=3.10
|
|
12
|
+
Description-Content-Type: text/markdown
|
|
13
|
+
License-File: LICENSE
|
|
14
|
+
Requires-Dist: pyyaml>=6
|
|
15
|
+
Requires-Dist: pillow>=10
|
|
16
|
+
Requires-Dist: pyarrow>=18.0.0
|
|
17
|
+
Dynamic: license-file
|
|
18
|
+
|
|
19
|
+
# SpotUltra CLI
|
|
20
|
+
|
|
21
|
+
SpotUltra CLI provides local development capabilities for your AI assistant. It uses SpotUltra MCP when Microsoft connectivity is needed.
|
|
22
|
+
|
|
23
|
+
The command is `spotultra`. Current capabilities include semantic model and interactive report development, source profiling, and local project catalogs.
|
|
24
|
+
|
|
25
|
+
## Requirements
|
|
26
|
+
|
|
27
|
+
- Python 3.10 or later.
|
|
28
|
+
- A client agent that can run shell commands and use SpotUltra MCP.
|
|
29
|
+
- SpotUltra MCP configured on the same machine for deployment and other tenant operations.
|
|
30
|
+
|
|
31
|
+
## Get started
|
|
32
|
+
|
|
33
|
+
Go to [Try SpotUltra](https://www.spotultra.com/try-now/), copy the setup request, and paste it into Codex or Claude Code.
|
|
34
|
+
|
|
35
|
+
Your AI assistant checks prerequisites, installs and configures SpotUltra MCP and CLI, guides you through your account and data-folder choices and Microsoft sign-in, and verifies the connection. You provide approvals and complete browser sign-in while the assistant performs setup.
|
|
36
|
+
|
|
37
|
+
The assistant configures the CLI to use the selected MCP data folder and initializes its catalog. The package includes the CLI's guides, help, templates, rules and defaults.
|
|
38
|
+
|
|
39
|
+
## Working with SpotUltra
|
|
40
|
+
|
|
41
|
+
Describe the development work you need in your assistant chat. Your assistant uses the available CLI capabilities for that work and connects through MCP when Microsoft operations are needed. Tenant operations use your Microsoft permissions and require your authorization for the requested work. The CLI has no separate Microsoft sign-in.
|
|
42
|
+
|
|
43
|
+
## Updates and removal
|
|
44
|
+
|
|
45
|
+
Ask your assistant to update or remove the installed packages. Use [Try SpotUltra](https://www.spotultra.com/try-now/) as the entry point for current setup instructions. The user catalog, templates and MCP data live outside the installed packages; tell your assistant whether to retain them.
|
|
46
|
+
|
|
47
|
+
## Development
|
|
48
|
+
|
|
49
|
+
See [Contributing](https://github.com/JoshPitzer/spotultra-cli/blob/main/CONTRIBUTING.md) for developer setup, tests, corpus resource ownership and package builds. The [documentation index](https://github.com/JoshPitzer/spotultra-cli/blob/main/docs/README.md) covers the catalog, commands, configuration and internals. Release changes are recorded in the [changelog](https://github.com/JoshPitzer/spotultra-cli/blob/main/CHANGELOG.md).
|
|
50
|
+
|
|
51
|
+
## License
|
|
52
|
+
|
|
53
|
+
Copyright 2026 Joshua Pitzer. Distributed under the PolyForm Shield License 1.0.0. The complete license and required notice are included in the package's `LICENSE` file.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# SpotUltra CLI
|
|
2
|
+
|
|
3
|
+
SpotUltra CLI provides local development capabilities for your AI assistant. It uses SpotUltra MCP when Microsoft connectivity is needed.
|
|
4
|
+
|
|
5
|
+
The command is `spotultra`. Current capabilities include semantic model and interactive report development, source profiling, and local project catalogs.
|
|
6
|
+
|
|
7
|
+
## Requirements
|
|
8
|
+
|
|
9
|
+
- Python 3.10 or later.
|
|
10
|
+
- A client agent that can run shell commands and use SpotUltra MCP.
|
|
11
|
+
- SpotUltra MCP configured on the same machine for deployment and other tenant operations.
|
|
12
|
+
|
|
13
|
+
## Get started
|
|
14
|
+
|
|
15
|
+
Go to [Try SpotUltra](https://www.spotultra.com/try-now/), copy the setup request, and paste it into Codex or Claude Code.
|
|
16
|
+
|
|
17
|
+
Your AI assistant checks prerequisites, installs and configures SpotUltra MCP and CLI, guides you through your account and data-folder choices and Microsoft sign-in, and verifies the connection. You provide approvals and complete browser sign-in while the assistant performs setup.
|
|
18
|
+
|
|
19
|
+
The assistant configures the CLI to use the selected MCP data folder and initializes its catalog. The package includes the CLI's guides, help, templates, rules and defaults.
|
|
20
|
+
|
|
21
|
+
## Working with SpotUltra
|
|
22
|
+
|
|
23
|
+
Describe the development work you need in your assistant chat. Your assistant uses the available CLI capabilities for that work and connects through MCP when Microsoft operations are needed. Tenant operations use your Microsoft permissions and require your authorization for the requested work. The CLI has no separate Microsoft sign-in.
|
|
24
|
+
|
|
25
|
+
## Updates and removal
|
|
26
|
+
|
|
27
|
+
Ask your assistant to update or remove the installed packages. Use [Try SpotUltra](https://www.spotultra.com/try-now/) as the entry point for current setup instructions. The user catalog, templates and MCP data live outside the installed packages; tell your assistant whether to retain them.
|
|
28
|
+
|
|
29
|
+
## Development
|
|
30
|
+
|
|
31
|
+
See [Contributing](https://github.com/JoshPitzer/spotultra-cli/blob/main/CONTRIBUTING.md) for developer setup, tests, corpus resource ownership and package builds. The [documentation index](https://github.com/JoshPitzer/spotultra-cli/blob/main/docs/README.md) covers the catalog, commands, configuration and internals. Release changes are recorded in the [changelog](https://github.com/JoshPitzer/spotultra-cli/blob/main/CHANGELOG.md).
|
|
32
|
+
|
|
33
|
+
## License
|
|
34
|
+
|
|
35
|
+
Copyright 2026 Joshua Pitzer. Distributed under the PolyForm Shield License 1.0.0. The complete license and required notice are included in the package's `LICENSE` file.
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "spotultra"
|
|
3
|
+
version = "0.1.6"
|
|
4
|
+
description = "SpotUltra CLI provides local development capabilities for your AI assistant. It uses SpotUltra MCP when Microsoft connectivity is needed."
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
license = "LicenseRef-PolyForm-Shield-1.0.0"
|
|
7
|
+
license-files = ["LICENSE"]
|
|
8
|
+
authors = [{name = "Joshua Pitzer"}]
|
|
9
|
+
requires-python = ">=3.10"
|
|
10
|
+
dependencies = ["pyyaml>=6", "pillow>=10", "pyarrow>=18.0.0"]
|
|
11
|
+
|
|
12
|
+
[project.urls]
|
|
13
|
+
Homepage = "https://www.spotultra.com"
|
|
14
|
+
Repository = "https://github.com/JoshPitzer/spotultra-cli"
|
|
15
|
+
Documentation = "https://www.spotultra.com/try-now/"
|
|
16
|
+
Issues = "https://github.com/JoshPitzer/spotultra-cli/issues"
|
|
17
|
+
|
|
18
|
+
[project.scripts]
|
|
19
|
+
spotultra = "spotultra.cli.app:main"
|
|
20
|
+
|
|
21
|
+
[build-system]
|
|
22
|
+
requires = ["setuptools>=77.0.3"]
|
|
23
|
+
build-backend = "setuptools.build_meta"
|
|
24
|
+
|
|
25
|
+
[tool.setuptools.packages.find]
|
|
26
|
+
where = ["src"]
|
|
27
|
+
|
|
28
|
+
[tool.setuptools.package-data]
|
|
29
|
+
spotultra = ["data/*.md", "data/mcp-discovery.json", "data/check-rules.yaml", "data/capabilities/*.yaml", "data/capabilities/*/*.yaml", "data/capabilities/*/*/*.yaml", "data/config/*.yaml", "data/help/*.yaml", "data/help/commands/*.yaml", "data/library/*.yaml", "data/library/sources/*.yaml", "data/scaffold/*.md", "data/profiling/*.md", "data/profiling/shipped/*.json", "data/profiling-kit/*.yaml", "data/profiling-kit/cells/*.py", "data/profiling-kit/kit/*.json", "data/catalog/*.md", "data/catalog/*.yaml", "data/example/*.md", "data/example/*.yaml", "data/exchange/*.yaml", "data/project/*.yaml", "data/messages/*.yaml", "data/messages/core/*.yaml", "data/formats/*.yaml", "data/languages/*.yaml", "data/model/*.yaml", "data/design/*.yaml", "data/discovery/*.yaml", "data/report/*.yaml", "data/settings/*.md", "data/settings/*.yaml", "data/settings/preview/*.yaml", "data/settings/preview/assets/*", "data/settings/report-templates/_logos/*", "data/settings/visual-authoring/*.yaml", "data/settings/report-templates/*/*.yaml"]
|
|
30
|
+
|
|
31
|
+
[tool.ruff]
|
|
32
|
+
line-length = 160
|
|
33
|
+
target-version = "py310"
|
|
34
|
+
|
|
35
|
+
[tool.ruff.lint]
|
|
36
|
+
select = ["E", "F", "W", "I", "B", "UP", "SIM", "RUF"]
|
|
37
|
+
ignore = ["RUF001"]
|
|
38
|
+
|
|
39
|
+
[tool.ruff.lint.per-file-ignores]
|
|
40
|
+
"src/spotultra/data/profiling-kit/cells/*.py" = ["F821"]
|
|
41
|
+
|
|
42
|
+
[tool.pytest.ini_options]
|
|
43
|
+
testpaths = ["tests"]
|
spotultra-0.1.6/setup.py
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import json
|
|
2
|
+
from os import environ
|
|
3
|
+
from pathlib import Path
|
|
4
|
+
from shutil import copytree, ignore_patterns, rmtree
|
|
5
|
+
from tempfile import TemporaryDirectory
|
|
6
|
+
|
|
7
|
+
from setuptools import setup
|
|
8
|
+
from setuptools.command.build_py import build_py
|
|
9
|
+
from setuptools.command.sdist import sdist
|
|
10
|
+
|
|
11
|
+
ROOT = Path(__file__).resolve().parent
|
|
12
|
+
DATA = ROOT / "src" / "spotultra" / "data"
|
|
13
|
+
SETTINGS = Path("config", "settings.yaml")
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
def stage_data() -> None:
|
|
17
|
+
if (ROOT / "PKG-INFO").is_file():
|
|
18
|
+
if not (DATA / SETTINGS).is_file():
|
|
19
|
+
raise SystemExit("The SpotUltra source distribution is missing its bundled CLI data.")
|
|
20
|
+
return
|
|
21
|
+
|
|
22
|
+
corpus = Path(environ.get("SPOTULTRA_CLI_CORPUS_ROOT") or ROOT.parent / "spotultra-corpus").expanduser()
|
|
23
|
+
source = corpus / "cli"
|
|
24
|
+
if not (source / SETTINGS).is_file():
|
|
25
|
+
raise SystemExit(f"SpotUltra CLI data was not found at {source}. Set SPOTULTRA_CLI_CORPUS_ROOT to the spotultra-corpus checkout.")
|
|
26
|
+
|
|
27
|
+
with TemporaryDirectory(dir=DATA.parent) as directory:
|
|
28
|
+
staged = Path(directory) / "new"
|
|
29
|
+
previous = Path(directory) / "previous"
|
|
30
|
+
copytree(source, staged, ignore=ignore_patterns(".DS_Store", "__pycache__", ".pytest_cache", ".ruff_cache", "*.pyc"))
|
|
31
|
+
if DATA.exists():
|
|
32
|
+
DATA.rename(previous)
|
|
33
|
+
try:
|
|
34
|
+
staged.rename(DATA)
|
|
35
|
+
except OSError:
|
|
36
|
+
if previous.exists():
|
|
37
|
+
previous.rename(DATA)
|
|
38
|
+
raise
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
def stage_discovery(version: str) -> None:
|
|
42
|
+
path = DATA / "mcp-discovery.json"
|
|
43
|
+
raw = path.read_bytes()
|
|
44
|
+
if len(raw) > 4096:
|
|
45
|
+
raise SystemExit("The CLI discovery descriptor exceeds 4096 bytes.")
|
|
46
|
+
descriptor = json.loads(raw)
|
|
47
|
+
summary = descriptor.get("capability_summary") if isinstance(descriptor, dict) else None
|
|
48
|
+
if (
|
|
49
|
+
not isinstance(descriptor, dict)
|
|
50
|
+
or type(descriptor.get("schema_version")) is not int
|
|
51
|
+
or descriptor["schema_version"] != 1
|
|
52
|
+
or descriptor.get("package") != "spotultra"
|
|
53
|
+
or not isinstance(summary, str)
|
|
54
|
+
or not summary.strip()
|
|
55
|
+
or len(summary) > 160
|
|
56
|
+
or not summary.isprintable()
|
|
57
|
+
or descriptor.keys() - {"schema_version", "package", "version", "capability_summary"}
|
|
58
|
+
):
|
|
59
|
+
raise SystemExit("The CLI discovery descriptor must be schema 1 for spotultra with a single printable summary of at most 160 characters.")
|
|
60
|
+
descriptor = {"schema_version": 1, "package": "spotultra", "version": version, "capability_summary": summary}
|
|
61
|
+
encoded = (json.dumps(descriptor, ensure_ascii=False, indent=2) + "\n").encode()
|
|
62
|
+
if len(encoded) > 4096:
|
|
63
|
+
raise SystemExit("The versioned CLI discovery descriptor exceeds 4096 bytes.")
|
|
64
|
+
path.write_bytes(encoded)
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
class Sdist(sdist):
|
|
68
|
+
def run(self) -> None:
|
|
69
|
+
stage_discovery(self.distribution.get_version())
|
|
70
|
+
super().run()
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
class BuildPy(build_py):
|
|
74
|
+
def run(self) -> None:
|
|
75
|
+
stage_discovery(self.distribution.get_version())
|
|
76
|
+
bundled = Path(self.build_lib) / "spotultra" / "data"
|
|
77
|
+
if bundled.is_dir():
|
|
78
|
+
rmtree(bundled)
|
|
79
|
+
super().run()
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
stage_data()
|
|
83
|
+
setup(cmdclass={"build_py": BuildPy, "sdist": Sdist})
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.1.6"
|
|
File without changes
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import json
|
|
2
|
+
import sys
|
|
3
|
+
import time
|
|
4
|
+
from datetime import datetime, timezone
|
|
5
|
+
|
|
6
|
+
from .. import config
|
|
7
|
+
from ..commands.setup import capabilities
|
|
8
|
+
from ..commands.shared.session import command_run, run_log, vocabulary
|
|
9
|
+
from ..errors import Pause, Restart, SpotUltraError, Uncertain
|
|
10
|
+
from . import parser, reference
|
|
11
|
+
from .render import render
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def _handled(args):
|
|
15
|
+
try:
|
|
16
|
+
return args.handler(args)
|
|
17
|
+
except Restart:
|
|
18
|
+
return args.handler(args)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
def main(argv: list[str] | None = None) -> None:
|
|
22
|
+
args = parser.build().parse_args(argv)
|
|
23
|
+
if not args.command:
|
|
24
|
+
print(render(capabilities.run(), args))
|
|
25
|
+
return
|
|
26
|
+
args.reference = reference.text
|
|
27
|
+
started, clock = datetime.now(timezone.utc), time.monotonic()
|
|
28
|
+
argv_used = list(sys.argv[1:] if argv is None else argv)
|
|
29
|
+
args.argv = argv_used
|
|
30
|
+
project = getattr(args, vocabulary.dest("project"), None)
|
|
31
|
+
logged = args.logged and args.catalog_project_scope and project
|
|
32
|
+
if logged:
|
|
33
|
+
run_log.begin_run(project, args.command, argv_used, config.stamp(started))
|
|
34
|
+
names = vocabulary.exchange_names()
|
|
35
|
+
outcomes = names["run_log"]["outcomes"]
|
|
36
|
+
as_json = getattr(args, vocabulary.dest("json"))
|
|
37
|
+
result, outcome, closed = None, outcomes["failed"], False
|
|
38
|
+
try:
|
|
39
|
+
result = _handled(args)
|
|
40
|
+
closed = True
|
|
41
|
+
stopped = result.get(names["result"]["stopped"]) if isinstance(result, dict) else None
|
|
42
|
+
outcome = outcomes["stopped"].format(stopped=stopped) if stopped else outcomes["ok"]
|
|
43
|
+
print(render(result, args))
|
|
44
|
+
if stopped:
|
|
45
|
+
sys.exit(1)
|
|
46
|
+
except Pause as e:
|
|
47
|
+
outcome = e.key
|
|
48
|
+
print(json.dumps({e.key: e.content}, indent=names["output"]["json_indent"], default=str) if as_json else e.text)
|
|
49
|
+
except Uncertain as e:
|
|
50
|
+
closed = True
|
|
51
|
+
outcome = vocabulary.exchange_texts()["cli"]["error"].format(error=e)
|
|
52
|
+
print(outcome, file=sys.stderr)
|
|
53
|
+
sys.exit(names["exit_codes"]["uncertain"])
|
|
54
|
+
except SpotUltraError as e:
|
|
55
|
+
closed = True
|
|
56
|
+
result = getattr(e, "partial", None)
|
|
57
|
+
outcome = vocabulary.exchange_texts()["cli"]["error"].format(error=e)
|
|
58
|
+
if as_json and result is not None:
|
|
59
|
+
print(render(result, args))
|
|
60
|
+
print(outcome, file=sys.stderr)
|
|
61
|
+
sys.exit(names["exit_codes"]["error"])
|
|
62
|
+
finally:
|
|
63
|
+
command_run.finish_runs(complete=closed)
|
|
64
|
+
if logged:
|
|
65
|
+
ended = datetime.now(timezone.utc)
|
|
66
|
+
failure = sys.exc_info()[1]
|
|
67
|
+
partial = result if result is not None else getattr(failure, "partial", None)
|
|
68
|
+
run_log.record_run(project, args.command, argv_used, config.stamp(started), config.stamp(ended), time.monotonic() - clock, outcome, partial)
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import argparse
|
|
2
|
+
|
|
3
|
+
from .. import config, help
|
|
4
|
+
from ..commands.setup import capabilities
|
|
5
|
+
from ..commands.shared.session import vocabulary
|
|
6
|
+
from . import registry, render
|
|
7
|
+
|
|
8
|
+
EXCHANGE = ("authorized", "approved")
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class _TopLevel(argparse.Action):
|
|
12
|
+
def __call__(self, parser, namespace, values, option_string=None):
|
|
13
|
+
print(render.render(capabilities.run(), namespace))
|
|
14
|
+
parser.exit()
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
class Command:
|
|
18
|
+
def __init__(self, parser: argparse.ArgumentParser, name: str):
|
|
19
|
+
self.parser = parser
|
|
20
|
+
self.name = name
|
|
21
|
+
|
|
22
|
+
def arg(self, *flags: str, words: dict | None = None, **kwargs) -> None:
|
|
23
|
+
key = kwargs.pop("key", None) or max(flags, key=len)
|
|
24
|
+
text = help.argument(self.name, key)
|
|
25
|
+
self.parser.add_argument(*flags, help=text.format(**words) if words else text, **kwargs)
|
|
26
|
+
|
|
27
|
+
def replace(self, flag: bool = False) -> None:
|
|
28
|
+
extra = {"nargs": "?", "const": True} if flag else {}
|
|
29
|
+
self.parser.add_argument(
|
|
30
|
+
vocabulary.option("replace"),
|
|
31
|
+
action="append",
|
|
32
|
+
default=[],
|
|
33
|
+
metavar=vocabulary.exchange_texts()["metavars"]["replace"],
|
|
34
|
+
help=help.option("replace"),
|
|
35
|
+
**extra,
|
|
36
|
+
)
|
|
37
|
+
|
|
38
|
+
def defaults(self, **values) -> None:
|
|
39
|
+
self.parser.set_defaults(**values)
|
|
40
|
+
|
|
41
|
+
def describe(self, lines: list[str] | None = None) -> None:
|
|
42
|
+
texts = help.command(self.name)
|
|
43
|
+
if lines is None:
|
|
44
|
+
self.parser.description = texts["help"]
|
|
45
|
+
return
|
|
46
|
+
self.parser.formatter_class = argparse.RawDescriptionHelpFormatter
|
|
47
|
+
self.parser.description = config.listed([texts.get("description", ""), config.listed(lines)])
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
def _factory(sub, handler):
|
|
51
|
+
def command(name: str, project: bool = True, model: bool = False, logged: bool = True, renderer=None, exchange: bool = False) -> Command:
|
|
52
|
+
p = sub.add_parser(name, help=help.command(name).get("help"))
|
|
53
|
+
p.set_defaults(catalog_project_scope=project, handler=handler, logged=logged, renderer=renderer)
|
|
54
|
+
options = vocabulary.exchange_texts()["options"]
|
|
55
|
+
p.add_argument(vocabulary.option("json"), action="store_true", default=argparse.SUPPRESS, help=help.option("json"))
|
|
56
|
+
p.add_argument(*options["project"], default=".", help=help.option("project") if project else argparse.SUPPRESS)
|
|
57
|
+
if model:
|
|
58
|
+
p.add_argument(vocabulary.option("model"), help=help.option("model"))
|
|
59
|
+
if exchange:
|
|
60
|
+
for flag in EXCHANGE:
|
|
61
|
+
p.add_argument(vocabulary.option(flag), action="store_true", help=help.option(vocabulary.option(flag).lstrip("-")))
|
|
62
|
+
return Command(p, name)
|
|
63
|
+
|
|
64
|
+
return command
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
def build() -> argparse.ArgumentParser:
|
|
68
|
+
root = argparse.ArgumentParser(prog="spotultra", description=help.root().get("description"), add_help=False)
|
|
69
|
+
root.add_argument(*vocabulary.exchange_texts()["options"]["help"], action=_TopLevel, nargs=0, help=help.option("help"))
|
|
70
|
+
root.add_argument(vocabulary.option("json"), action="store_true", help=help.option("json"))
|
|
71
|
+
sub = root.add_subparsers(dest="command")
|
|
72
|
+
for modules in registry.CATEGORIES.values():
|
|
73
|
+
for module in modules:
|
|
74
|
+
module.register(_factory(sub, module.invoke))
|
|
75
|
+
return root
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import argparse
|
|
2
|
+
|
|
3
|
+
from .. import config, help
|
|
4
|
+
from ..commands.shared.session import vocabulary
|
|
5
|
+
from . import parser
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
def _subcommands(root: argparse.ArgumentParser) -> dict[str, tuple[argparse.ArgumentParser, str]]:
|
|
9
|
+
found = next(a for a in root._actions if isinstance(a, argparse._SubParsersAction))
|
|
10
|
+
helps = {c.dest: c.help for c in found._choices_actions}
|
|
11
|
+
return {name: (command, helps.get(name, "")) for name, command in found.choices.items()}
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def _usage(command: argparse.ArgumentParser) -> list[str]:
|
|
15
|
+
words = []
|
|
16
|
+
for action in command._actions:
|
|
17
|
+
if action.dest in ("help", vocabulary.dest("project"), vocabulary.dest("json")) or action.dest in {vocabulary.dest(role) for role in parser.EXCHANGE}:
|
|
18
|
+
continue
|
|
19
|
+
if not action.option_strings:
|
|
20
|
+
text = "{" + ",".join(action.choices) + "}" if action.choices else action.metavar or action.dest
|
|
21
|
+
words.append({"?": f"[{text}]", "+": f"{text}...", "*": f"[{text}...]"}.get(action.nargs, text))
|
|
22
|
+
continue
|
|
23
|
+
flag = max(action.option_strings, key=len)
|
|
24
|
+
if action.nargs != 0:
|
|
25
|
+
choices = list(action.choices or [])
|
|
26
|
+
limit = vocabulary.exchange_names()["output"]["listed_choices"]
|
|
27
|
+
metavar = " ".join(action.metavar) if isinstance(action.metavar, tuple) else action.metavar
|
|
28
|
+
flag += " " + ("|".join(choices) if choices and len(choices) <= limit else (metavar or action.dest.upper()))
|
|
29
|
+
words.append(flag if action.required else f"[{flag}]")
|
|
30
|
+
return words
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
def grouped(group: str) -> set[str]:
|
|
34
|
+
return {name for name in help.commands() if help.group(name) == group}
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
CATALOG_COMMANDS = grouped("catalog")
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
def text() -> str:
|
|
41
|
+
texts = help.root().get("reference") or {}
|
|
42
|
+
lines = [f"## {texts.get('title', '')}", "", texts.get("intro", ""), ""]
|
|
43
|
+
lines += [
|
|
44
|
+
f"- `spotultra {' '.join([name, *_usage(command)])}`: {help_text}"
|
|
45
|
+
for name, (command, help_text) in _subcommands(parser.build()).items()
|
|
46
|
+
if name not in CATALOG_COMMANDS
|
|
47
|
+
]
|
|
48
|
+
return config.listed([*lines, ""])
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
from ..commands.design.example import command as example
|
|
2
|
+
from ..commands.design.templates import command as report_template
|
|
3
|
+
from ..commands.design.visuals.visual_catalog import command as visual_catalog
|
|
4
|
+
from ..commands.develop import check, deploy, dictionary, edit, guide, model, report, ship, verify, workflow
|
|
5
|
+
from ..commands.develop.evidence import command as evidence
|
|
6
|
+
from ..commands.develop.init import command as init
|
|
7
|
+
from ..commands.operate import query, remove_model, remove_project
|
|
8
|
+
from ..commands.requirements import datasource, requirement
|
|
9
|
+
from ..commands.setup import about, capabilities, mcp_discovery
|
|
10
|
+
from ..commands.setup.catalog import command as catalog
|
|
11
|
+
from ..commands.sources import connections, discover, profile_source, sources, workspaces
|
|
12
|
+
from ..commands.sources.connection import command as connection
|
|
13
|
+
|
|
14
|
+
CATEGORIES = {
|
|
15
|
+
"setup": (about, capabilities, catalog, mcp_discovery),
|
|
16
|
+
"requirements": (requirement, datasource),
|
|
17
|
+
"sources": (connection, connections, workspaces, sources, profile_source, discover),
|
|
18
|
+
"develop": (init, guide, workflow, model, report, deploy, check, edit, ship, verify, evidence, dictionary),
|
|
19
|
+
"design": (example, report_template, visual_catalog),
|
|
20
|
+
"operate": (query, remove_model, remove_project),
|
|
21
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import json
|
|
2
|
+
|
|
3
|
+
from .. import config, datafiles
|
|
4
|
+
from ..commands.shared.session import vocabulary
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
def render(result, args) -> str:
|
|
8
|
+
if isinstance(result, str):
|
|
9
|
+
return result
|
|
10
|
+
if getattr(args, vocabulary.dest("json")):
|
|
11
|
+
return json.dumps(result, indent=vocabulary.exchange_names()["output"]["json_indent"], default=str)
|
|
12
|
+
renderer = getattr(args, "renderer", None)
|
|
13
|
+
if renderer:
|
|
14
|
+
return renderer(result, args)
|
|
15
|
+
return config.listed(_lines(result))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
def _lines(value, pad: str = "", seconds: bool = False) -> list[str]:
|
|
19
|
+
if isinstance(value, list):
|
|
20
|
+
return [line for x in value for line in _item(x, pad)]
|
|
21
|
+
marks = config.data(*datafiles.MESSAGES_CLI)["render"]
|
|
22
|
+
stages = vocabulary.exchange_names()["result"]["stages"]
|
|
23
|
+
out = []
|
|
24
|
+
for k, v in value.items():
|
|
25
|
+
if isinstance(v, (dict, list)) and v:
|
|
26
|
+
out += [marks["heading"].format(pad=pad, key=k), *_lines(v, pad + marks["indent"], k == stages)]
|
|
27
|
+
else:
|
|
28
|
+
out.append(marks["seconds"].format(pad=pad, key=k, value=v) if seconds and isinstance(v, float) else marks["line"].format(pad=pad, key=k, value=v))
|
|
29
|
+
return out
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def _item(value, pad: str) -> list[str]:
|
|
33
|
+
marks = config.data(*datafiles.MESSAGES_CLI)["render"]
|
|
34
|
+
if not isinstance(value, dict):
|
|
35
|
+
return [pad + marks["bullet"] + str(value)]
|
|
36
|
+
inner = pad + marks["indent"]
|
|
37
|
+
first, *rest = _lines(value, inner) or [inner]
|
|
38
|
+
return [pad + marks["bullet"] + first[len(inner) :], *rest]
|
|
File without changes
|
|
File without changes
|