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_sqlalchemyto theckan.pluginssetting 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
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 ckanext_fdt_sqlalchemy-0.0.2.post1.tar.gz.
File metadata
- Download URL: ckanext_fdt_sqlalchemy-0.0.2.post1.tar.gz
- Upload date:
- Size: 18.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f0f78524f3ded64ca1a26b74b829d85806ae8fd8ea1df1fe2eadb6abf2bcd22
|
|
| MD5 |
fde10f8047f78353918371457353e042
|
|
| BLAKE2b-256 |
b69962c17205823260e4f44bacb3cd760f725cd4a39ce1066d73cf0ae63785d3
|
File details
Details for the file ckanext_fdt_sqlalchemy-0.0.2.post1-py3-none-any.whl.
File metadata
- Download URL: ckanext_fdt_sqlalchemy-0.0.2.post1-py3-none-any.whl
- Upload date:
- Size: 17.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72685132ad62a6bba9baf525d48ad7663b26bb567bdc1e6649ec19eef3d936da
|
|
| MD5 |
2826856fae9a9c4e150be82e4096e030
|
|
| BLAKE2b-256 |
40415461db7136b76c35012c2636aa2d15ba750401980d0f64c4f7f256e49849
|