# -*- coding: utf-8 -*- import os, sys, time import apsw connection=apsw.Connection(":memory:") cursor=connection.cursor() ### ### Virtual tables ### # data = [ [1, 'test1', 'categoryA'], [2, 'test2', 'categoryA'], [3, 'test3', 'categoryA'], [4, 'test4', 'categoryB'], [5, 'test5', 'categoryB'], [6, 'test6', 'categoryB'], [7, 'test7', 'categoryB'], [8, 'test8', 'categoryC'], [9, 'test9', 'categoryC
{{#tags}}- {{label}}
{{/tags}}