Enable SQLAlchemy pane of Flask-DebugToolbar
Project description
ckanext-fdt-sqlalchemy
Enable Flask-DebugToolbar's SQLAlchemy pane.
Requirements
Compatibility with core CKAN versions:
CKAN version | Compatible? |
---|---|
2.9 | yes |
2.10 | yes |
This plugin requires flask-sqlalchemy~=2.5.0
.
The latest version(v3.0) of flask-sqlalchemy
only partially supported. While
it shows all the queries, SELECT
and EXPLAIN
links for individual queries
do not work.
Installation
To install ckanext-fdt-sqlalchemy:
-
Install the plugin and
flask-sqlalchemy~=2.5.0
:pip install 'ckanext-fdt-sqlalchemy[deps]'
-
Add
fdt_sqlalchemy
to theckan.plugins
setting in your CKAN config file.
Developer installation
To install ckanext-fdt-sqlalchemy for development, activate your CKAN virtualenv and do:
git clone https://github.com/ckan/ckanext-fdt-sqlalchemy.git
cd ckanext-fdt-sqlalchemy
python setup.py develop
Tests
To run the tests, do:
pytest --ckan-ini=test.ini
License
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
File details
Details for the file ckanext-fdt-sqlalchemy-0.0.2.tar.gz
.
File metadata
- Download URL: ckanext-fdt-sqlalchemy-0.0.2.tar.gz
- Upload date:
- Size: 18.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | de6baa06bf73d3a95771643c12070cbf2c06e778a2c79955d873c67e6b45ffef |
|
MD5 | 214277e3be006fe8b095eb69d051a8f2 |
|
BLAKE2b-256 | 0bb8239c1994e5efb63b0a5bb0c1e2d0f08d0a53439b0aa45dd4a24904b6801e |
File details
Details for the file ckanext_fdt_sqlalchemy-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: ckanext_fdt_sqlalchemy-0.0.2-py3-none-any.whl
- Upload date:
- Size: 17.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3be6a062809da383f265dc05184baa89dbea8d983557a720678d524823b89910 |
|
MD5 | 1c422f816b08680f205b50aacae17f4d |
|
BLAKE2b-256 | a1a1a478dbbf059213cbde0fb7c973a11f0b7c2c37240bea2b41896ae045b957 |