Extensions to Django for use with MySQL/MariaDB
Project description
MySQL and its fork MariaDB have a number of features which are not available in vanilla Django - this package helps you get at them.
Featuring
Here’s a short list of what’s inside:
User locks - easy locking between your distributed servers
Easy access to server status variables
approx_count on QuerySet for quick estimates of the number of objects - and a quicker admin
‘Smart’ iteration methods on QuerySet for efficient iteration over large sets of objects slice-by-slice
All are documented at http://django-mysql.readthedocs.org/en/latest/ .
Requirements
Tested with:
Python: 2.7, 3.3, 3.4
Django: 1.7
MySQL: 5.5, 5.6 / MariaDB: 5.5, 10.0, 10.1
mysqlclient: 1.3.5 (Python 3 compatible version of MySQL-python)
Any combination of these should be good.
History
0.1.2 (2015-03-01)
Added get_many to GlobalStatus
Added wait_until_load_low to GlobalStatus which allows you to wait for any high load on your database server to dissipate.
Added smart iteration classes and methods for QuerySets that allow efficient iteration over very large sets of objects slice-by-slice.
0.1.1 (2015-02-23)
Added Model and QuerySet subclasses which add the approx_count method
0.1.0 (2015-02-12)
First release on PyPI
Locks
GlobalStatus and SessionStatus
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django-mysql-0.1.2.tar.gz.
File metadata
- Download URL: django-mysql-0.1.2.tar.gz
- Upload date:
- Size: 30.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9174ba93a134e73eef26ad29cf73c731ad289fb3d83d4ec89b9dab3bf005b843
|
|
| MD5 |
e77b1710048856f5b33737ff0f23d9f6
|
|
| BLAKE2b-256 |
8da333d9577cb689807573f8d415d9c57647dcb91bdc7070ee8fd606fb94f0f4
|
File details
Details for the file django_mysql-0.1.2-py2.py3-none-any.whl.
File metadata
- Download URL: django_mysql-0.1.2-py2.py3-none-any.whl
- Upload date:
- Size: 11.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c8705221ed70a14439a6a75ffb87ae5d040d3683bf9e4fcdc4eddef004445fab
|
|
| MD5 |
04c16529ec64d3508d4aa58b3e7a422b
|
|
| BLAKE2b-256 |
e6953b56ee0582f8dbf24cd397ff4ed972465b85c716f724807efddd03657b23
|