Skip to main content

django-psdb-engine

PyPI - Python Version PyPI - Downloads Made for - PlanetScale

This package helps you interact with your PlanetScale databases in your Django projects in an easier way.

Usage

Install the package by running the following command.

pip install django-psdb-engine

And finally, update your DATABASES configuration and change the ENGINE field.

DATABASES = {
    'default': {
      'ENGINE': 'django_psdb_engine',
      ...
      'OPTIONS': {'ssl': {'ca': ...}}
    }
}

Note: Since Django uses the UTF-8 charset and it points to utf8mb3 in MySQL and this charset is deprecated in MySQL 8, you may need to add {"charset": "utf8mb4"} and migrate your chanegs with no problem.

- 'OPTIONS': {'ssl': {'ca': ...}}
+ 'OPTIONS': {'ssl': {'ca': ...}, 'charset': 'utf8mb4'}

Requirements

  • django >= 2.2
  • mysqlclient >= 2.1.0

License

Free software: MIT license

Metadata

Release files for django-psdb-engine 1.0.6

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

Source distribution (sdist)

Source distribution for django-psdb-engine 1.0.6
File Size Uploaded Provenance
django_psdb_engine-1.0.6.tar.gz 3.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for django-psdb-engine 1.0.6
File Interpreter ABI Platform
django_psdb_engine-1.0.6-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 7.3 kB

Release files / django_psdb_engine-1.0.6.tar.gz

Download URL django_psdb_engine-1.0.6.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
e04ff0fa110e5592883300191fa973b1f679ad001a6988b1fcd521a22a31ff33
BLAKE2b-256 checksum
How to use checksums
140503c02ca103ab8a1e082f020c80341f3f251997a8b0ff309b0bdbee56d101
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / django_psdb_engine-1.0.6-py2.py3-none-any.whl

Download URL django_psdb_engine-1.0.6-py2.py3-none-any.whl
Size 3.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
d6e60a5cda4c39525b577560ff3b379cf5eca37875408355c760ea17fbd4d5a3
BLAKE2b-256 checksum
How to use checksums
fee1e0819436e26620b7ae1982810f245f469e3ea3f053c7d2cf348f55a0cdcf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Security for django-psdb-engine 1.0.6

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