Skip to main content

django-pyturso

django-pyturso banner

django-pyturso is a Django database backend for the embedded Turso database engine exposed by pyturso. It will let a Django project use its ordinary ORM, migrations, forms, admin, and transaction APIs against a local Turso database file.

This repository is deliberately scoped to embedded, local Turso. It does not provide Turso Cloud access, libSQL-over-HTTP support, replication, sync, or a project-specific compatibility layer.

Status

The pre-release backend is implemented and covered by focused tests for ORM, migrations, transactions, Django integration, driver behavior, and package installation. Publication remains a separate, explicitly authorized action.

The v1 contract intentionally excludes writing non-NULL Django BinaryField values because the stable pyturso 0.7 line does not expose the required PEP 249 Binary() constructor. The backend deliberately does not patch or wrap the real turso module. See the compatibility document before evaluating the package.

Quickstart

Install Perfect Doc and put it on PATH before running the repository checks.

pdm install --group dev
pdm run check

Configure a Django database with no external service:

DATABASES = {
    "default": {
        "ENGINE": "django_pyturso",
        "NAME": BASE_DIR / "db.sqlite3",
    }
}

The package requires CPython 3.14 or later, Django 6.1.2 or later, and embedded local Turso through pyturso. Cloud transports, remote sync, SQLite fallbacks, compatibility shims, and other experimental engine features are excluded. MVCC concurrent transactions are available through explicit configuration for one process per database.

Navigation

Metadata

Release files for django-pyturso 0.3.0

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-pyturso 0.3.0
File Size Uploaded Provenance
django_pyturso-0.3.0.tar.gz 108.0 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for django-pyturso 0.3.0
File Interpreter ABI Platform
django_pyturso-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 140.6 kB

Release files / django_pyturso-0.3.0.tar.gz

Download URL django_pyturso-0.3.0.tar.gz
Size 108.0 kB
Tags Source
SHA-256 checksum
How to use checksums
7e21fec6e83df646712cc63e608f77b3c49b5c2e3bac7aa328163ad4bfbf795b
BLAKE2b-256 checksum
How to use checksums
3fa2d0236a7e115c5bda79f1e5b2dd8b61a679d18ff8937894c2750143ba58e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 17, 2026.

Transparency log

Release files / django_pyturso-0.3.0-py3-none-any.whl

Download URL django_pyturso-0.3.0-py3-none-any.whl
Size 32.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ce7fd086fcd04da194fa3c9e1e1b6f49a2d4d359ffecf9f85d5dbc2812297179
BLAKE2b-256 checksum
How to use checksums
67cee171f0bf1e6bed5947bbe0414b7ec2833d547c6fce05abc307d69aad829d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 17, 2026.

Transparency log

Security for django-pyturso 0.3.0

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for django_pyturso-0.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 17, 2026.

Transparency log

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