Simple and extensible admin interface framework for Flask
86
Quality
Pending
Does it follow best practices?
Impact
86%
1.30xAverage score across 10 eval scenarios
Build a custom analytics dashboard for an admin interface that displays statistics and charts. The dashboard should have multiple pages accessible through different routes.
Create a custom admin view that provides analytics functionality with the following pages:
Overview Page (default/index route):
Statistics Page (route: /stats):
Reports Page (route: /reports):
/analytics@generates
class AnalyticsView:
"""Custom admin view for analytics dashboard."""
def index(self):
"""Overview page showing dashboard welcome and timestamp."""
pass
def stats(self):
"""Statistics page displaying mock analytics data."""
pass
def reports(self):
"""Reports page listing available reports."""
pass/admin/analytics @test/admin/analytics/stats and displays correct data @test/admin/analytics/reports and lists all three reports @testProvides the admin interface framework and view system with routing capabilities.
Install with Tessl CLI
npx tessl i tessl/pypi-flask-admindocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10