Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

superset-engine-d1

A Superset EngineSpec for Cloudflare D1, written for Superset versions that had no D1 engine spec of their own.

PyPI License Superset docs

PyPI · Superset D1 docs · sqlalchemy-d1 · Legacy setup guide


This package is deprecated. Since version 6.1.0, Apache Superset ships its own Cloudflare D1 engine spec at superset/db_engine_specs/d1.py. Install sqlalchemy-d1 instead. The final release is 0.1.1, with the same code as 0.1.0. There will be no further changes.

What to use instead

Superset 6.1.0 and newer only need the SQLAlchemy dialect, sqlalchemy-d1. Pick the version that matches the SQLAlchemy version of your Superset:

Your Superset uses Install
SQLAlchemy 2.0 pip install "sqlalchemy-d1>=0.2.0"
SQLAlchemy 1.4 (Superset 6.1.0, for example) pip install "sqlalchemy-d1==0.1.0"

The connection string does not change:

d1://<CF_ACCOUNT_ID>:<CF_API_TOKEN>@<D1_DB_ID>

The sqlalchemy-d1 README explains the change.

Superset 6.1.0 or newer: uninstall it

Superset loads its built-in engine specs first and uses the first one that matches d1://. The built-in spec always wins, so this package is never used there.

pip uninstall superset-engine-d1

This also frees your environment from the exact marshmallow version this package pins.

Existing installs

  • Versions 0.1.0 and 0.1.1 stay on PyPI. They have the same code.
  • Superset 6.0.0 and older have no built-in D1 engine spec. This package is the only one there, so keep it, together with sqlalchemy-d1 0.1.0 and dbapi-d1 0.1.0.
  • All engine spec work now happens in Superset itself.

License

This package is licensed under the Apache License 2.0. See LICENSE.

Metadata

Release files for superset-engine-d1 0.1.1

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

Source distribution (sdist)

Source distribution for superset-engine-d1 0.1.1
File Size Uploaded
superset_engine_d1-0.1.1.tar.gz 8.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for superset-engine-d1 0.1.1
File Interpreter ABI Platform
superset_engine_d1-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 17.4 kB

Release files / superset_engine_d1-0.1.1.tar.gz

Download URL superset_engine_d1-0.1.1.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
79aa7a82ba5fe7c3ea863cb5e415fd5e2e9d935f0ea0c7f2c76c5aba3e7aec10
BLAKE2b-256 checksum
How to use checksums
b3f8ef4f1e1058bae7556740f01ea9bbc4dbcca7292389f65e89e045477cd643
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / superset_engine_d1-0.1.1-py3-none-any.whl

Download URL superset_engine_d1-0.1.1-py3-none-any.whl
Size 9.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
afd3c168bc615f3b47efdac3d20d3d9b9ba27be41bbe0cf5fe98b74294ad6403
BLAKE2b-256 checksum
How to use checksums
70e152e7b30a43aec88ae0a2bf24136a5f6c624d4a5121189bc081b8f4a967b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

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