{"id":13448784,"url":"https://github.com/adamchainz/django-mysql","last_synced_at":"2025-05-13T23:10:29.690Z","repository":{"id":26917575,"uuid":"30379674","full_name":"adamchainz/django-mysql","owner":"adamchainz","description":":dolphin: :horse: Extensions to Django for use with MySQL/MariaDB","archived":false,"fork":false,"pushed_at":"2025-04-07T18:09:29.000Z","size":3815,"stargazers_count":579,"open_issues_count":27,"forks_count":111,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-04-10T01:05:10.067Z","etag":null,"topics":["django","mariadb","mysql","python"],"latest_commit_sha":null,"homepage":"https://django-mysql.readthedocs.io/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adamchainz.png","metadata":{"files":{"readme":"README.rst","changelog":"HISTORY.rst","contributing":"CONTRIBUTING.rst","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"custom":["https://adamj.eu/books/"]}},"created_at":"2015-02-05T21:35:40.000Z","updated_at":"2025-04-02T09:53:56.000Z","dependencies_parsed_at":"2023-10-14T06:36:30.579Z","dependency_job_id":"21b22624-4ab9-48ec-a457-91b5b3f08582","html_url":"https://github.com/adamchainz/django-mysql","commit_stats":{"total_commits":1290,"total_committers":33,"mean_commits":39.09090909090909,"dds":0.5193798449612403,"last_synced_commit":"1ba0471c06bf7e3b47a1ee2c544fc3738020611e"},"previous_names":[],"tags_count":126,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamchainz%2Fdjango-mysql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamchainz%2Fdjango-mysql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamchainz%2Fdjango-mysql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamchainz%2Fdjango-mysql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adamchainz","download_url":"https://codeload.github.com/adamchainz/django-mysql/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248137889,"owners_count":21053775,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["django","mariadb","mysql","python"],"created_at":"2024-07-31T06:00:21.029Z","updated_at":"2025-04-10T01:05:15.623Z","avatar_url":"https://github.com/adamchainz.png","language":"Python","funding_links":["https://adamj.eu/books/"],"categories":["Database","Python"],"sub_categories":[],"readme":"============\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\u0026style=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\u0026logoColor=white\u0026style=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 \u003chttps://django-mysql.readthedocs.io/en/latest/\u003e`_.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamchainz%2Fdjango-mysql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadamchainz%2Fdjango-mysql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamchainz%2Fdjango-mysql/lists"}