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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django_d1db-0.0.10.tar.gz | 10.9 kB | Without provenance | Details for django_d1db-0.0.10.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_d1db-0.0.10-py3-none-any.whl | Python 3 | none | any | Details for django_d1db-0.0.10-py3-none-any.whl |
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
|
Security for django-d1db 0.0.10
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.