finterion-charts 0.2.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,57 @@
1
+ """Python binding for Finterion Charts.
2
+
3
+ This package mirrors the JSON `ChartSpec` contract from `@finterion/charts-spec`.
4
+ It does not render charts — it produces JSON that the browser-side engine
5
+ (`@finterion/charts-core`) consumes.
6
+ """
7
+
8
+ from .builder import (
9
+ ChartSpec,
10
+ Display,
11
+ HBar,
12
+ Heatmap,
13
+ Histogram,
14
+ Indicator,
15
+ LineStyle,
16
+ LineStyleName,
17
+ Marker,
18
+ Price,
19
+ Scatter,
20
+ SeriesType,
21
+ SeriesTypeName,
22
+ Theme,
23
+ ThemeName,
24
+ )
25
+ from .capabilities import ChartCapabilities, get_chart_capabilities
26
+ from .codec import decode_spec, encode_spec
27
+ from .schema import CHART_SPEC_SCHEMA, SPEC_VERSION
28
+ from .validator import ValidationResult, validate_schema, validate_spec
29
+
30
+ __all__ = [
31
+ "CHART_SPEC_SCHEMA",
32
+ "ChartCapabilities",
33
+ "ChartSpec",
34
+ "Display",
35
+ "HBar",
36
+ "Heatmap",
37
+ "Histogram",
38
+ "Indicator",
39
+ "LineStyle",
40
+ "LineStyleName",
41
+ "Marker",
42
+ "Price",
43
+ "Scatter",
44
+ "SeriesType",
45
+ "SeriesTypeName",
46
+ "SPEC_VERSION",
47
+ "Theme",
48
+ "ThemeName",
49
+ "ValidationResult",
50
+ "decode_spec",
51
+ "encode_spec",
52
+ "get_chart_capabilities",
53
+ "validate_schema",
54
+ "validate_spec",
55
+ ]
56
+
57
+ __version__ = "0.1.0"