Gramex 1.55 release notes

FormHandler summarizes data

To get totals for any dataset, add ?by= to the URL. For example, this link summarizes the flags data

FormHandler summary

Instead of sum, you can use average, count, min, or max for each columns. For example, ?_by=&_c=c1|avg&_c=c2|count averages c1 and counts c2.

FormHandler summary aggregations

You can also apply aggregations for subsets of data. For example, ?_by=&continent=Europe shows the totals only for continent=Europe.

FormHandler summary filters

UI component upgrades

g1 is upgraded from 0.16.1 to 0.17.0, which introduces $().template() subtemplates, and fixes a minor bug in $.formhandler time zone handling.

Bootstrap-select has been updated to 0.13.10. This fixes bug #138.

Other UI components have also been updated to the latest patch versions.

Other enhancements

Bug fixes

Statistics

The Gramex code base has:

How to upgrade

To upgrade Gramex, run:

pip install --upgrade gramex
pip install --upgrade gramexenterprise    # If you use DBAuth, LDAPAuth, etc.
gramex setup --all