About

Hub statistics derived from the records: the /statistics dashboard and the home card, with datasets counted by lineage and by version, distinct authors, a deduplicated registry of use (a visitor a day, no cookies, robots, owners and drafts left out) that holds the daily history carried over from uvlhub 2.12 with its public note, slots the features fill with KPIs, tables, sections and exports, and the CSV/JSON exports at uvlhub 2.12's addresses

Provides

Models
UsageDailyUsageEventUsageNoteUsageSalt
Services
DashboardService
Routes
/statistics/statistics/export.csv/statistics/export.json
Hooks filled
home.aside
Translations
es

Commands

  • $ splent feature:statistics usage-note SOURCE [NOTE] [OPTIONS]

    Set what the dashboard says next to the figures of SOURCE (legacy_v2, the use carried over from uvlhub 2.12), and until which day they go.

  • $ splent feature:statistics usage-rollup

    Roll the days of use that are over up into their daily figures, and delete their raw events and salts. The first visit of a day does it too, so this is for a hub nobody visited today.

Run them in your workspace once the feature is installed in the selected product.

Dependencies

Requires
Works better with
Listens to
dataset-downloadeddataset-viewedhubfile-downloadedhubfile-viewed

In product lines

Extension points

Templates
hooks/home_statistics.htmlstatistics/index.html
Services
DashboardService
Models
UsageDailyUsageEventUsageNoteUsageSalt
Routes
A refinement can add routes to its blueprint

Other features fill its hook slots. A refinement can override its templates and services or extend its models without forking it.

Compatibility

Python
>=3.13
SPLENT framework
>=1.30.0