Skip to main content

django-d1

Cloudflare D1 backend engine for Django

This package is still in tests, and issues will probably appear! Please report any issues you find in the Issues tab.

Installation

pip install django-d1db

Usage

DATABASES = {
    'default': {
        'ENGINE': 'django_d1',
        'CLOUDFLARE_DATABASE_ID': '<database_id>',
        'CLOUDFLARE_ACCOUNT_ID': '<account_id>',
        'CLOUDFLARE_TOKEN': '<token>',
    }
}

The Cloudflare token requires D1 Edit permissions.

A simple tutorial is available here for you to read.

Limitations

Due to the remote nature of D1, queries can take some time to execute.

Read all Django limitations for SQLite databases here.

Metadata

Release files for django-d1db 0.0.10

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

Source distribution (sdist)

Source distribution for django-d1db 0.0.10
File Size Uploaded
django_d1db-0.0.10.tar.gz 10.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-d1db 0.0.10
File Interpreter ABI Platform
django_d1db-0.0.10-py3-none-any.whl Python 3 none any Details

Total release size: 24.2 kB

Release files / django_d1db-0.0.10.tar.gz

Download URL django_d1db-0.0.10.tar.gz
Size 10.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d30d0b76679b5d84d29c817547c15000cddb70d9065ee61e96c41ab01520b23b
BLAKE2b-256 checksum
How to use checksums
d60900743430e1397baa201df82511158e65c845ba3fb0183b6f6ae0c3a7db72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release files / django_d1db-0.0.10-py3-none-any.whl

Download URL django_d1db-0.0.10-py3-none-any.whl
Size 13.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3951d198e19c29a159302343b2120127b74f0c4d5b129b0c0f3ba218a15b24b8
BLAKE2b-256 checksum
How to use checksums
0745a8184729619bda4636df8314e0754e85e9e6f8c30e6ed8fc59234d4ca63d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release history Release notifications | RSS feed

This release

0.0.10 This release

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.4

2 release files

0.0.3

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