Official command-line interface for building, bundling, and managing Apache Superset extensions
Project description
apache-superset-extensions-cli
Official command-line interface for building, bundling, and managing Apache Superset extensions. This CLI tool provides developers with everything needed to create, develop, and package extensions for the Superset ecosystem.
๐ Features
- Extension Scaffolding - Generate initial folder structure and scaffold new extension projects
- Validation - Validate extension structure and configuration before building
- Development Server - Automatically rebuild extensions as files change during development
- Build System - Build extension assets for production deployment
- Bundle Packaging - Package extensions into distributable .supx files
๐ฆ Installation
pip install apache-superset-extensions-cli
๐ ๏ธ Quick Start
Available Commands
# Scaffold a new extension project (interactive prompts, or pass options directly)
superset-extensions init [--publisher <publisher>] [--name <name>] [--display-name <name>]
[--version <version>] [--license <license>]
[--frontend/--no-frontend] [--backend/--no-backend]
# Validate extension structure and configuration
superset-extensions validate
# Build extension assets for production (runs validate first)
superset-extensions build
# Package extension into a distributable .supx file (runs build first)
superset-extensions bundle [--output/-o <path>]
# Automatically rebuild extension as files change during development
superset-extensions dev
๐ Extension Structure
The CLI scaffolds extensions with the following structure:
{publisher}.{name}/ # e.g., my-org.dashboard-widgets/
โโโ extension.json # Extension configuration and metadata
โโโ .gitignore
โโโ frontend/ # Optional frontend code
โ โโโ src/
โ โ โโโ index.tsx # Frontend entry point
โ โโโ package.json
โ โโโ webpack.config.js
โ โโโ tsconfig.json
โโโ backend/ # Optional backend code
โโโ src/
โ โโโ {publisher}/ # e.g., my_org/
โ โโโ {name}/ # e.g., dashboard_widgets/
โ โโโ entrypoint.py
โโโ pyproject.toml
๐ License
Licensed under the Apache License, Version 2.0. See LICENSE for details.
๐ Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file apache_superset_extensions_cli-0.1.0rc2.tar.gz.
File metadata
- Download URL: apache_superset_extensions_cli-0.1.0rc2.tar.gz
- Upload date:
- Size: 37.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7df674c8100a55b4e83c8b1865457e99ef57c7f54fc480ed8354639113bf5e93
|
|
| MD5 |
be50bd544dda97dc8efdb22ffec0d458
|
|
| BLAKE2b-256 |
1357b8ce54a56575da7979a9c9ad8a19cc08b5ca925b9d8c5d90d9417f1a2311
|
File details
Details for the file apache_superset_extensions_cli-0.1.0rc2-py3-none-any.whl.
File metadata
- Download URL: apache_superset_extensions_cli-0.1.0rc2-py3-none-any.whl
- Upload date:
- Size: 25.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
85307ded1615f3ce2f65aa8d48a09837566c7f36db8b42bea66a0677907553b9
|
|
| MD5 |
c01cd2fd2ac05593a5fc60b97dea9b6a
|
|
| BLAKE2b-256 |
28e12cc7cfcb308c01dd8df226a3cd5b30b62250918c337b256002f11e59c362
|