django-mysql


Namedjango-mysql JSON
Version 4.15.0 PyPI version JSON
download
home_pageNone
SummaryDjango-MySQL extends Django's built-in MySQL and MariaDB support their specific features not available on other databases.
upload_time2024-10-29 10:24:04
maintainerNone
docs_urlhttps://pythonhosted.org/django-mysql/
authorNone
requires_python>=3.9
licenseNone
keywords django mariadb mysql
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ============
Django-MySQL
============

.. image:: https://img.shields.io/readthedocs/django-mysql?style=for-the-badge
   :target: https://django-mysql.readthedocs.io/en/latest/

.. image:: https://img.shields.io/github/actions/workflow/status/adamchainz/django-mysql/main.yml.svg?branch=main&style=for-the-badge
   :target: https://github.com/adamchainz/django-mysql/actions?workflow=CI

.. image:: https://img.shields.io/badge/Coverage-100%25-success?style=for-the-badge
   :target: https://github.com/adamchainz/django-mysql/actions?workflow=CI

.. image:: https://img.shields.io/pypi/v/django-mysql.svg?style=for-the-badge
   :target: https://pypi.org/project/django-mysql/

.. image:: https://img.shields.io/badge/code%20style-black-000000.svg?style=for-the-badge
   :target: https://github.com/psf/black

.. image:: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white&style=for-the-badge
   :target: https://github.com/pre-commit/pre-commit
   :alt: pre-commit

.. figure:: https://raw.githubusercontent.com/adamchainz/django-mysql/main/docs/images/dolphin-pony.png
   :alt: 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,
    ``BooleanField``\s 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 <https://django-mysql.readthedocs.io/en/latest/>`_.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "django-mysql",
    "maintainer": null,
    "docs_url": "https://pythonhosted.org/django-mysql/",
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "Django, MariaDB, MySQL",
    "author": null,
    "author_email": "Adam Johnson <me@adamj.eu>",
    "download_url": "https://files.pythonhosted.org/packages/8d/ae/095cfdfbcdd403c1b544efaf6659c0f526a04ada6f0f6f34c7718a2502a9/django_mysql-4.15.0.tar.gz",
    "platform": null,
    "description": "============\nDjango-MySQL\n============\n\n.. image:: https://img.shields.io/readthedocs/django-mysql?style=for-the-badge\n   :target: https://django-mysql.readthedocs.io/en/latest/\n\n.. image:: https://img.shields.io/github/actions/workflow/status/adamchainz/django-mysql/main.yml.svg?branch=main&style=for-the-badge\n   :target: https://github.com/adamchainz/django-mysql/actions?workflow=CI\n\n.. image:: https://img.shields.io/badge/Coverage-100%25-success?style=for-the-badge\n   :target: https://github.com/adamchainz/django-mysql/actions?workflow=CI\n\n.. image:: https://img.shields.io/pypi/v/django-mysql.svg?style=for-the-badge\n   :target: https://pypi.org/project/django-mysql/\n\n.. image:: https://img.shields.io/badge/code%20style-black-000000.svg?style=for-the-badge\n   :target: https://github.com/psf/black\n\n.. image:: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white&style=for-the-badge\n   :target: https://github.com/pre-commit/pre-commit\n   :alt: pre-commit\n\n.. figure:: https://raw.githubusercontent.com/adamchainz/django-mysql/main/docs/images/dolphin-pony.png\n   :alt: The dolphin-pony - proof that cute + cute = double cute.\n\n..\n\n    | The dolphin-pony - proof that cute + cute = double cute.\n\n\nDjango-MySQL extends Django's built-in MySQL and MariaDB support their specific\nfeatures not available on other databases.\n\n\nWhat kind of features?\n----------------------\n\nIncludes:\n\n* ``QuerySet`` extensions:\n\n  * 'Smart' iteration - chunked pagination across a large queryset\n  * ``approx_count`` for quick estimates of ``count()``\n  * Query hints\n  * Quick ``pt-visual-explain`` of the underlying query\n\n* Model fields:\n\n  * MariaDB Dynamic Columns for storing dictionaries\n  * Comma-separated fields for storing lists and sets\n  * 'Missing' fields: differently sized ``BinaryField``/``TextField`` classes,\n    ``BooleanField``\\s represented by BIT(1)\n\n* ORM expressions for over 20 MySQL-specific functions\n* A new cache backend that makes use of MySQL's upsert statement and does\n  compression\n* Status variable inspection and utility methods\n* Named locks for easy locking of e.g. external resources\n* Table lock manager for hard to pull off data migrations\n\nTo see them all, check out the exposition at\nhttps://django-mysql.readthedocs.io/en/latest/exposition.html .\n\nRequirements and Installation\n-----------------------------\n\nPlease see\nhttps://django-mysql.readthedocs.io/en/latest/installation.html .\n\nDocumentation\n-------------\n\nEvery detail documented on\n`Read The Docs <https://django-mysql.readthedocs.io/en/latest/>`_.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Django-MySQL extends Django's built-in MySQL and MariaDB support their specific features not available on other databases.",
    "version": "4.15.0",
    "project_urls": {
        "Changelog": "https://django-mysql.readthedocs.io/en/latest/changelog.html",
        "Documentation": "https://django-mysql.readthedocs.io/",
        "Funding": "https://adamj.eu/books/",
        "Repository": "https://github.com/adamchainz/django-mysql"
    },
    "split_keywords": [
        "django",
        " mariadb",
        " mysql"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "095a424a6706915e3098c42e5b59b6c779bc631e545b61bdb4f549fc04a16354",
                "md5": "c9ca09a10551bd4edfa950a2e7df3073",
                "sha256": "1ad136900a7eb528893f575c5733af176cea2649841f7686a91b7f315777e8f3"
            },
            "downloads": -1,
            "filename": "django_mysql-4.15.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c9ca09a10551bd4edfa950a2e7df3073",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 54720,
            "upload_time": "2024-10-29T10:24:03",
            "upload_time_iso_8601": "2024-10-29T10:24:03.348220Z",
            "url": "https://files.pythonhosted.org/packages/09/5a/424a6706915e3098c42e5b59b6c779bc631e545b61bdb4f549fc04a16354/django_mysql-4.15.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8dae095cfdfbcdd403c1b544efaf6659c0f526a04ada6f0f6f34c7718a2502a9",
                "md5": "e92c2e3b4d6545dd4e4d8e0f63da43fa",
                "sha256": "72dd1b468a3697efcede8f8b2659669a5e1f139123fd897452f4ac7f8cdcae00"
            },
            "downloads": -1,
            "filename": "django_mysql-4.15.0.tar.gz",
            "has_sig": false,
            "md5_digest": "e92c2e3b4d6545dd4e4d8e0f63da43fa",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 42415,
            "upload_time": "2024-10-29T10:24:04",
            "upload_time_iso_8601": "2024-10-29T10:24:04.433302Z",
            "url": "https://files.pythonhosted.org/packages/8d/ae/095cfdfbcdd403c1b544efaf6659c0f526a04ada6f0f6f34c7718a2502a9/django_mysql-4.15.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-29 10:24:04",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "adamchainz",
    "github_project": "django-mysql",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "django-mysql"
}
        
Elapsed time: 4.83300s