A DBAPI 2.0 driver for Cloudflare D1, written for sqlalchemy-d1 0.1.0 to connect D1 to Apache Superset.
PyPI · sqlalchemy-d1 · sqlalchemy-cloudflare-d1 · Legacy setup guide
Warning
This package is deprecated. It is superseded by the DBAPI driver built into sqlalchemy-cloudflare-d1. The final release is 0.1.1, with the same code as 0.1.0. There will be no further changes.
| Package | Description |
|---|---|
| sqlalchemy-cloudflare-d1 | The community SQLAlchemy dialect for D1. It has its own DBAPI driver built in. |
| sqlalchemy-d1 | Keeps the d1:// connection string working in Superset. Since version 0.2.0 it is a thin layer over sqlalchemy-cloudflare-d1 and no longer uses this package. |
For a Superset on SQLAlchemy 2.0:
pip install "sqlalchemy-d1>=0.2.0"On SQLAlchemy 1.4 (Superset 6.1.0, for example), stay on sqlalchemy-d1 0.1.0 and keep this package. A plain pip install sqlalchemy-d1 there would upgrade SQLAlchemy and break Superset.
For anything else, install sqlalchemy-cloudflare-d1 directly.
The sqlalchemy-d1 README explains the change.
- Versions 0.1.0 and 0.1.1 stay on PyPI. They have the same code.
sqlalchemy-d10.1.0 still depends on it. Keep both if you are on SQLAlchemy 1.4.sqlalchemy-d10.2.0 and newer do not use it. After you upgrade, you can remove it.
pip uninstall dbapi-d1This package is licensed under the Apache License 2.0. See LICENSE.