Extension Fdt Sqlalchemy


Extension Basics

Title
Fdt Sqlalchemy
Name
ckanext-fdt-sqlalchemy
Type
Public extension
Description
The `fdt-sqlalchemy` extension for CKAN integrates the SQLAlchemy panel from Flask Debug Toolbar. T
CKAN versions
Download-Url (zip)
Last commit
a year ago (2024-10-17 14:42:14)
Url to repo
Category
Specialized Tools


Background Infos

Description (long)
Show details

Tests

ckanext-fdt-sqlalchemy

Enable Flask-DebugToolbar’s SQLAlchemy pane.

SQLAlchemy panel

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:

  1. Install the plugin and flask-sqlalchemy~=2.5.0:

    pip install 'ckanext-fdt-sqlalchemy[deps]'
    
  2. Add fdt_sqlalchemy to the ckan.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

AGPL

Version
Version release date
(not set)
Contact name
(not set)
Contakt email
(not set)
Contact Url
(not set)


Installation Guide

Configuration hints

To install ckanext-fdt-sqlalchemy:

  1. Install the plugin and flask-sqlalchemy~=2.5.0:

    pip install 'ckanext-fdt-sqlalchemy[deps]'
    
  2. Add fdt_sqlalchemy to the ckan.plugins setting in your CKAN config file.

Plugins to configure (ckan.ini)
fdt_sqlalchemy
CKAN Settings (ckan.ini)
DB migration to be executed
(not set)
<< back to Extensions