django-pyodbc-lb
Database engine based on django-pyodbc-azure that overrides database connection. If OPTIONS dictionary contains load_balancer it must be an object with choose method which returnds list of hosts.
Example configuration:
DATABASES = {
'default': {
'ENGINE': 'sql_server_lb',
'NAME': 'database',
'USER': 'user',
'PASSWORD': 'password'
'HOST': 'host', # Not used
'PORT': 1433,
'COMMAND_TIMEOUT': 360,
'CONN_MAX_AGE': 3600, # Persistent connection limited to an hour
'OPTIONS': {
'load_balancer': LoadBalancer('database'),
'driver': 'FreeTDS',
'host_is_server': True,
'extra_params': 'TDS_Version=7.3',
}
},
}
Metadata
Release files for django-pyodbc-lb 1.11.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-pyodbc-lb-1.11.0.1.tar.gz | 4.2 kB | Without provenance | Details for django-pyodbc-lb-1.11.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_pyodbc_lb-1.11.0.1-py2-none-any.whl | Python 2 | none | any | Details for django_pyodbc_lb-1.11.0.1-py2-none-any.whl |
Total release size: 9.4 kB
Release files / django-pyodbc-lb-1.11.0.1.tar.gz
| Download URL | django-pyodbc-lb-1.11.0.1.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
20fb257b047ecc5ee07771b473837ddf69f1b5f5c3ce8ad8cf25ddaad225f756
|
|
BLAKE2b-256 checksum How to use checksums |
58c61008fc3768473bc00188c21ba082c7324b1f400b876b79339d11558ce8e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / django_pyodbc_lb-1.11.0.1-py2-none-any.whl
| Download URL | django_pyodbc_lb-1.11.0.1-py2-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
4822581383f226a074068dc416b71b33caef76edcd293a96e4c6d9eb555e3f7c
|
|
BLAKE2b-256 checksum How to use checksums |
8573cf3baba7469391845a496dc875642571f9f7d1671c8154c4ac37a70e5605
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-pyodbc-lb 1.11.0.1
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.