Skip to main content
Archived

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

dbapi-d1

A DBAPI 2.0 driver for Cloudflare D1, written for sqlalchemy-d1 0.1.0 to connect D1 to Apache Superset.

PyPI License

PyPI · sqlalchemy-d1 · sqlalchemy-cloudflare-d1 · Legacy setup guide


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.

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

  • Versions 0.1.0 and 0.1.1 stay on PyPI. They have the same code.
  • 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

License

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

Metadata

Release files for dbapi-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 dbapi-d1 0.1.1
File Size Uploaded Provenance Actions
dbapi_d1-0.1.1.tar.gz 7.3 kB Without provenance Details for dbapi_d1-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dbapi-d1 0.1.1
File Interpreter ABI Platform Actions
dbapi_d1-0.1.1-py3-none-any.whl Python 3 none any Details for dbapi_d1-0.1.1-py3-none-any.whl

Total release size: 16.0 kB

Release files / dbapi_d1-0.1.1.tar.gz

Download URL dbapi_d1-0.1.1.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
bad129ec76b6debc4615679d6b3b10c56837aa8283c61ae5eb8aa8aa98b33276
BLAKE2b-256 checksum
How to use checksums
449088fd1962c3e25a64068b3a1a91f611633e6f2eb70e34af481be199e1976d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

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

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

Security for dbapi-d1 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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