Skip to main content

mysqlclient-collate

NOTE: These features have been merged upstream into mysqlclient 2.2.0. This package is now archived. Please switch to mysqlclient>=2.2 instead.


Fork of mysqlclient which adds support for setting collation via connection options.

Setting collation is necessary for servers that do not use the default, and for Django queries using CAST statements, which are prevalent in Wagtail 4. For more background, see the following discussions:

Usage

Make sure you have MySQL or MariaDB C connector, and a C compiler installed.

IMPORTANT: If you already have mysqlclient installed, uninstall it before installing this fork. Both projects use the same module name and cannot be installed at the same time.

pip uninstall mysqlclient
pip install mysqlclient-collate

For use in a Django project, set your database connection as so:

DATABASES = {
    "default": {
        "ENGINE": "django.db.backends.mysql",
        "HOST": "",
        "NAME": "",
        "USER": "",
        "PASSWORD": "",
        "OPTIONS": {
            "charset": "utf8mb4",
            "collation": "utf8mb4_unicode_ci",
        },
    }
}

Metadata

Release files for mysqlclient-collate 2.1.1.post2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mysqlclient-collate 2.1.1.post2
File Size Uploaded Provenance Actions
mysqlclient-collate-2.1.1.post2.tar.gz 87.2 kB Without provenance Details for mysqlclient-collate-2.1.1.post2.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for mysqlclient-collate 2.1.1.post2
File Actions
mysqlclient_collate-2.1.1.post2-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for mysqlclient_collate-2.1.1.post2-cp311-cp311-win_amd64.whl
mysqlclient_collate-2.1.1.post2-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for mysqlclient_collate-2.1.1.post2-cp310-cp310-win_amd64.whl
mysqlclient_collate-2.1.1.post2-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details for mysqlclient_collate-2.1.1.post2-cp39-cp39-win_amd64.whl
mysqlclient_collate-2.1.1.post2-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details for mysqlclient_collate-2.1.1.post2-cp38-cp38-win_amd64.whl
mysqlclient_collate-2.1.1.post2-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details for mysqlclient_collate-2.1.1.post2-cp37-cp37m-win_amd64.whl

Total release size: 957.4 kB

Release files / mysqlclient-collate-2.1.1.post2.tar.gz

Download URL mysqlclient-collate-2.1.1.post2.tar.gz
Size 87.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6c98e4e2cb8863898ce4c2b590d8ed44e8b33165f12d77556c34f8bb6a14aab4
BLAKE2b-256 checksum
How to use checksums
8c6fae76ffe0dc52ec56697bbdec0879befc57e7d8c69a8201c7ac276c755c11
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / mysqlclient_collate-2.1.1.post2-cp311-cp311-win_amd64.whl

Download URL mysqlclient_collate-2.1.1.post2-cp311-cp311-win_amd64.whl
Size 173.6 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
d67d1eed148a5ae7e955f2fc1b6167f6dc385d8b812078b9cebc5863adc9a9ff
BLAKE2b-256 checksum
How to use checksums
c7fa954f2bd46dc9ab3526bdaf59ae4c9dfb5bb89524dfe75cdc23283bb3ed76
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / mysqlclient_collate-2.1.1.post2-cp310-cp310-win_amd64.whl

Download URL mysqlclient_collate-2.1.1.post2-cp310-cp310-win_amd64.whl
Size 173.5 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
7884c06f23d731676916d2a36d021a5669d374f99f8888c91ef47c4a949d6bfc
BLAKE2b-256 checksum
How to use checksums
d09a147bce3c8ffa72da6b1ec067c478bf191b0cc6c3c79af4adaa4fa77919f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / mysqlclient_collate-2.1.1.post2-cp39-cp39-win_amd64.whl

Download URL mysqlclient_collate-2.1.1.post2-cp39-cp39-win_amd64.whl
Size 174.5 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
faa37c715858d0b486448a1236b1ad5ff008b5f8a2a0b383e0b72d4f353f6718
BLAKE2b-256 checksum
How to use checksums
ed5a24a051d68fb23b4a02a21301e3845772239a038d9357a159d311993ade2a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / mysqlclient_collate-2.1.1.post2-cp38-cp38-win_amd64.whl

Download URL mysqlclient_collate-2.1.1.post2-cp38-cp38-win_amd64.whl
Size 174.5 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
2429c9915ae10e5fb16a9d8c7f9de9d542c70c4c35861f403121d4beb5a83c01
BLAKE2b-256 checksum
How to use checksums
0aacb2cfbefbb08835d019a3c187e976f6ae834afb4bb1d09db27183aa708a36
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / mysqlclient_collate-2.1.1.post2-cp37-cp37m-win_amd64.whl

Download URL mysqlclient_collate-2.1.1.post2-cp37-cp37m-win_amd64.whl
Size 174.1 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
e071c70aff80181989fe4d0f6c09c57530b4f42bdb13be43387b42bb2d730bc3
BLAKE2b-256 checksum
How to use checksums
b50e0bbbf04ca2340e8d49d74868fa68bde58d5cf09540f8f27970d230724763
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Security for mysqlclient-collate 2.1.1.post2

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.

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