Coverage for src/jointview/__init__.py: 100%
5 statements
« prev ^ index » next coverage.py v7.15.4, created at 2026-08-17 06:44 +0000
« prev ^ index » next coverage.py v7.15.4, created at 2026-08-17 06:44 +0000
1"""Compare two price or NAV series of a Polars DataFrame side by side."""
3from jointview.columns import PERIOD, aligned, date_column, default_pair, series_columns
4from jointview.data import demo_frame, load_frame
5from jointview.plot import line_chart, line_frame
6from jointview.stats import drawdown, metrics, returns, summary, summary_markdown
8__all__ = [
9 # The name `aligned` writes the x-axis under and the statistics read it back out
10 # of. Exported because `aligned` is: a caller who has the frame but not the name
11 # has to spell "period" by hand, which is the literal `columns` exists to hold.
12 "PERIOD",
13 "aligned",
14 "date_column",
15 "default_pair",
16 "demo_frame",
17 "drawdown",
18 "line_chart",
19 "line_frame",
20 "load_frame",
21 "metrics",
22 "returns",
23 "series_columns",
24 "summary",
25 "summary_markdown",
26]