Skip to main content

apache-superset-extensions-cli

PyPI version License Python 3.10+

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

Metadata

Release files for apache-superset-extensions-cli 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for apache-superset-extensions-cli 0.1.0
File Size Uploaded Provenance Actions
apache_superset_extensions_cli-0.1.0.tar.gz 35.2 kB Without provenance Details for apache_superset_extensions_cli-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for apache-superset-extensions-cli 0.1.0
File Interpreter ABI Platform Actions
apache_superset_extensions_cli-0.1.0-py3-none-any.whl Python 3 none any Details for apache_superset_extensions_cli-0.1.0-py3-none-any.whl

Total release size: 59.4 kB

Release files / apache_superset_extensions_cli-0.1.0.tar.gz

Download URL apache_superset_extensions_cli-0.1.0.tar.gz
Size 35.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a75ef1d8f4e674e47639b30e9a23f0c58ea893b906777877aff408ec411a9010
BLAKE2b-256 checksum
How to use checksums
cbe77cd7a92f13afd59269505d01fd3484d60647d281c636b02682bdb8d367c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.19

Release files / apache_superset_extensions_cli-0.1.0-py3-none-any.whl

Download URL apache_superset_extensions_cli-0.1.0-py3-none-any.whl
Size 24.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
78de413437df95670a4c84f494595248f6d746eccf1d8d29aa16a38bb5c72054
BLAKE2b-256 checksum
How to use checksums
baab1d3abf543bab58339f536540f370f7db309efc8d2799d09ba37a38dd01c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.19

Security for apache-superset-extensions-cli 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page