Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dbapi-d1

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.


What to use instead

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.


Existing installs

  • Version 0.1.0 stays on PyPI.
  • sqlalchemy-d1 0.1.0 still depends on it. Keep both if you are on SQLAlchemy 1.4.
  • sqlalchemy-d1 0.2.0 and newer do not use it. After you upgrade, you can remove it.
pip uninstall dbapi-d1

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages