django-mysql


Namedjango-mysql JSON
Version 4.11.0 PyPI version JSON
download
home_pagehttps://github.com/adamchainz/django-mysql
SummaryDjango-MySQL extends Django's built-in MySQL and MariaDB support their specific features not available on other databases.
upload_time2023-07-10 09:15:16
maintainer
docs_urlhttps://pythonhosted.org/django-mysql/
authorAdam Johnson
requires_python>=3.8
licenseMIT
keywords django mysql mariadb
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?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": "https://github.com/adamchainz/django-mysql",
    "name": "django-mysql",
    "maintainer": "",
    "docs_url": "https://pythonhosted.org/django-mysql/",
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "Django,MySQL,MariaDB",
    "author": "Adam Johnson",
    "author_email": "me@adamj.eu",
    "download_url": "https://files.pythonhosted.org/packages/b2/d1/30efaf8a362f4ebbdfe6a138a9f8235387d5a94b67e1fece53936cef5b92/django_mysql-4.11.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?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": "MIT",
    "summary": "Django-MySQL extends Django's built-in MySQL and MariaDB support their specific features not available on other databases.",
    "version": "4.11.0",
    "project_urls": {
        "Changelog": "https://django-mysql.readthedocs.io/en/latest/changelog.html",
        "Documentation": "https://django-mysql.readthedocs.io/",
        "Homepage": "https://github.com/adamchainz/django-mysql",
        "Mastodon": "https://fosstodon.org/@adamchainz",
        "Twitter": "https://twitter.com/adamchainz"
    },
    "split_keywords": [
        "django",
        "mysql",
        "mariadb"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a5ca5e0be00b387864ffa6354dcb063f55f784cdca6b8895a7295f9ef7decfb7",
                "md5": "6c1c9a87195122a2b4d366fdcac6dbe7",
                "sha256": "d4b2e9894465c37f40c1ea15c828c3cc4468c4d3ee6baed9a55775c297bd006e"
            },
            "downloads": -1,
            "filename": "django_mysql-4.11.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6c1c9a87195122a2b4d366fdcac6dbe7",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 55210,
            "upload_time": "2023-07-10T09:15:13",
            "upload_time_iso_8601": "2023-07-10T09:15:13.582768Z",
            "url": "https://files.pythonhosted.org/packages/a5/ca/5e0be00b387864ffa6354dcb063f55f784cdca6b8895a7295f9ef7decfb7/django_mysql-4.11.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b2d130efaf8a362f4ebbdfe6a138a9f8235387d5a94b67e1fece53936cef5b92",
                "md5": "d65cfee8499d9ba128e27c72519ac9bd",
                "sha256": "16606debec965f8619413545d855dc2e5b3997ef6bc6cc2664cf8485a1016b69"
            },
            "downloads": -1,
            "filename": "django_mysql-4.11.0.tar.gz",
            "has_sig": false,
            "md5_digest": "d65cfee8499d9ba128e27c72519ac9bd",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 43364,
            "upload_time": "2023-07-10T09:15:16",
            "upload_time_iso_8601": "2023-07-10T09:15:16.072910Z",
            "url": "https://files.pythonhosted.org/packages/b2/d1/30efaf8a362f4ebbdfe6a138a9f8235387d5a94b67e1fece53936cef5b92/django_mysql-4.11.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-10 09:15:16",
    "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: 0.08658s