Skip to main content

Add your description here

Project description

Superset Import/Export

Convenience-wrapper around superset's REST API to download and upload snapshots of all assets.

Getting Started

  1. Install uv
  2. Install Superset IO as tool
# macOS, Linux
curl -LsSf https://astral.sh/uv/install.sh | sh

# Windows
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"


# uv tool provides global cli, creates an isolated environment
uv tool install git+https://github.com/linkFISH-Consulting/coasti_superset_io

Contribution

  1. Install the required dependencies (including dev, test dependencies and all optional dependencies)
uv sync --all-groups --all-extras
  1. Make your changes in a new branch.
git checkout -b my-feature-branch
  • Write code
  • Add or update tests as needed
  • Update documentation if your changes affect the public API
  1. Ensure code meets quality standards.
# Activate the virtual environment first
source ./.venv/bin/activate

# Check code style and formatting
ruff check . --fix
ruff format .

# Run type checking
mypy .

If this looks tedious you may alternatively install the pre-commit hooks to automatically enforce code quality standards before each commit (this runs the commands above automatically).

# Install the git hooks
pre-commit install

Once installed, every git commit will trigger automatic formatting with ruff, type checking with mypy, and linting. If you need to skip these checks (e.g., for a work-in-progress commit), use git commit --no-verify.

  1. Make sure all tests run successfully
pytest

Optionally you can make sure the integrations tests also running successfully. This needs docker compose to be installed on the system.

# Either let pytest stop start the container
pytest --integration
# Or do it manually
cd ./tests/integration
docker compose up
pytest --integration
  1. Commit your changes with clear messages.
git add .
git commit -m "Add feature X"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

coasti_superset_io-0.1.0.tar.gz (207.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

coasti_superset_io-0.1.0-py3-none-any.whl (21.6 kB view details)

Uploaded Python 3

File details

Details for the file coasti_superset_io-0.1.0.tar.gz.

File metadata

  • Download URL: coasti_superset_io-0.1.0.tar.gz
  • Upload date:
  • Size: 207.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.4

File hashes

Hashes for coasti_superset_io-0.1.0.tar.gz
Algorithm Hash digest
SHA256 34f8fab8a2613bf53b757f201d779a6e31038cfec75d3ef5bde42a74b9c94466
MD5 7487ad07c1576e7234e9e5cae0e6fa98
BLAKE2b-256 2c9ccc9d9ded069f798dc0262d6340a8e8ad17652f64f75cdf25f1d5c827a372

See more details on using hashes here.

File details

Details for the file coasti_superset_io-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for coasti_superset_io-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1ffc44cf315dc8407ef4b0732e31948d65f636447a3dbf87ca00c4864f40eee4
MD5 2782c1b12638823aeb19e49a2f471d38
BLAKE2b-256 78c66824dbc4200614cd7b49db9583177622b2b6b7878e83352413757e45fbf5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page