Skip to main content

Django-MySQL

https://img.shields.io/readthedocs/django-mysql?style=for-the-badge https://img.shields.io/github/workflow/status/adamchainz/django-mysql/CI/main?style=for-the-badge https://img.shields.io/badge/Coverage-100%25-success?style=for-the-badge https://img.shields.io/pypi/v/django-mysql.svg?style=for-the-badge https://img.shields.io/badge/code%20style-black-000000.svg?style=for-the-badge pre-commit
The dolphin-pony - proof that cute + cute = double cute.
The dolphin-pony - proof that cute + cute = double cute.

Django-MySQL extends Django’s built-in MySQL and MariaDB support their specific features not available on other databases.

What kind of features?

Includes:

  • QuerySet extensions:

    • ‘Smart’ iteration - chunked pagination across a large queryset

    • approx_count for quick estimates of count()

    • Query hints

    • Quick pt-visual-explain of the underlying query

  • Model fields:

    • MariaDB Dynamic Columns for storing dictionaries

    • Comma-separated fields for storing lists and sets

    • ‘Missing’ fields: differently sized BinaryField/TextField classes, BooleanFields represented by BIT(1)

  • ORM expressions for over 20 MySQL-specific functions

  • A new cache backend that makes use of MySQL’s upsert statement and does compression

  • Status variable inspection and utility methods

  • Named locks for easy locking of e.g. external resources

  • Table lock manager for hard to pull off data migrations

To see them all, check out the exposition at https://django-mysql.readthedocs.io/en/latest/exposition.html .

Requirements and Installation

Please see https://django-mysql.readthedocs.io/en/latest/installation.html .

Documentation

Every detail documented on Read The Docs.

Metadata

Release files for django-mysql 4.7.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 django-mysql 4.7.1
File Size Uploaded Provenance Actions
django-mysql-4.7.1.tar.gz 49.9 kB Without provenance Details for django-mysql-4.7.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-mysql 4.7.1
File Interpreter ABI Platform Actions
django_mysql-4.7.1-py3-none-any.whl Python 3 none any Details for django_mysql-4.7.1-py3-none-any.whl

Total release size: 105.4 kB

Release files / django-mysql-4.7.1.tar.gz

Download URL django-mysql-4.7.1.tar.gz
Size 49.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f66b02fabd48f858b9fd70e57f4d66f1c6c807047a2eec8b7dce2b0aa1dcd4c1
BLAKE2b-256 checksum
How to use checksums
3545a6e5e2a3d1e0854fe091afb1f74c7319e9f47ae1b858b79bd43fd4bfbb9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.6

Release files / django_mysql-4.7.1-py3-none-any.whl

Download URL django_mysql-4.7.1-py3-none-any.whl
Size 55.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ec809868113c652930874c055dd59baf93b3ba8c6d7e90bd891e28db15a4c840
BLAKE2b-256 checksum
How to use checksums
49dc47a9c0984bbe04f23ed457d63ae95b862d8f3c4f0eecb6bfdbb77c2a3205
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.6

Security for django-mysql 4.7.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.

Release history Release notifications | RSS feed

This release

4.7.1 This release

2 release files No provenance

0.2.4

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