Warning
This package is deprecated. It is superseded by the DBAPI driver built into sqlalchemy-cloudflare-d1. The last release is 0.1.0. There will be no further changes.
dbapi-d1 is a DBAPI 2.0 driver for Cloudflare D1. It was written for sqlalchemy-d1 0.1.0, to connect D1 to Apache Superset.
| 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.
- Version 0.1.0 stays on PyPI.
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-d1