reflex-components-recharts 0.9.0__tar.gz
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.
- reflex_components_recharts-0.9.0/.gitignore +24 -0
- reflex_components_recharts-0.9.0/PKG-INFO +12 -0
- reflex_components_recharts-0.9.0/README.md +3 -0
- reflex_components_recharts-0.9.0/pyproject.toml +27 -0
- reflex_components_recharts-0.9.0/src/reflex_components_recharts/__init__.py +122 -0
- reflex_components_recharts-0.9.0/src/reflex_components_recharts/__init__.pyi +216 -0
- reflex_components_recharts-0.9.0/src/reflex_components_recharts/cartesian.py +1034 -0
- reflex_components_recharts-0.9.0/src/reflex_components_recharts/cartesian.pyi +2314 -0
- reflex_components_recharts-0.9.0/src/reflex_components_recharts/charts.py +601 -0
- reflex_components_recharts-0.9.0/src/reflex_components_recharts/charts.pyi +1007 -0
- reflex_components_recharts-0.9.0/src/reflex_components_recharts/general.py +307 -0
- reflex_components_recharts-0.9.0/src/reflex_components_recharts/general.pyi +622 -0
- reflex_components_recharts-0.9.0/src/reflex_components_recharts/polar.py +483 -0
- reflex_components_recharts-0.9.0/src/reflex_components_recharts/polar.pyi +631 -0
- reflex_components_recharts-0.9.0/src/reflex_components_recharts/recharts.py +130 -0
- reflex_components_recharts-0.9.0/src/reflex_components_recharts/recharts.pyi +250 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
**/.DS_Store
|
|
2
|
+
**/*.pyc
|
|
3
|
+
assets/external/*
|
|
4
|
+
dist/*
|
|
5
|
+
examples/
|
|
6
|
+
.web
|
|
7
|
+
.states
|
|
8
|
+
.idea
|
|
9
|
+
.vscode
|
|
10
|
+
.coverage
|
|
11
|
+
.coverage.*
|
|
12
|
+
.venv
|
|
13
|
+
venv
|
|
14
|
+
requirements.txt
|
|
15
|
+
.pyi_generator_last_run
|
|
16
|
+
.pyi_generator_diff
|
|
17
|
+
reflex.db
|
|
18
|
+
.codspeed
|
|
19
|
+
.env
|
|
20
|
+
.env.*
|
|
21
|
+
node_modules
|
|
22
|
+
package-lock.json
|
|
23
|
+
*.pyi
|
|
24
|
+
.pre-commit-config.yaml
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: reflex-components-recharts
|
|
3
|
+
Version: 0.9.0
|
|
4
|
+
Summary: Reflex recharts components.
|
|
5
|
+
Author-email: Khaleel Al-Adhami <khaleel@reflex.dev>
|
|
6
|
+
Maintainer-email: Khaleel Al-Adhami <khaleel@reflex.dev>
|
|
7
|
+
Requires-Python: >=3.10
|
|
8
|
+
Description-Content-Type: text/markdown
|
|
9
|
+
|
|
10
|
+
# reflex-components-recharts
|
|
11
|
+
|
|
12
|
+
Reflex recharts components.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "reflex-components-recharts"
|
|
3
|
+
dynamic = ["version"]
|
|
4
|
+
description = "Reflex recharts components."
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
authors = [{ name = "Khaleel Al-Adhami", email = "khaleel@reflex.dev" }]
|
|
7
|
+
maintainers = [{ name = "Khaleel Al-Adhami", email = "khaleel@reflex.dev" }]
|
|
8
|
+
requires-python = ">=3.10"
|
|
9
|
+
dependencies = []
|
|
10
|
+
|
|
11
|
+
[tool.hatch.version]
|
|
12
|
+
source = "uv-dynamic-versioning"
|
|
13
|
+
|
|
14
|
+
[tool.uv-dynamic-versioning]
|
|
15
|
+
pattern-prefix = "reflex-components-recharts-"
|
|
16
|
+
fallback-version = "0.0.0dev0"
|
|
17
|
+
|
|
18
|
+
[tool.hatch.build]
|
|
19
|
+
targets.sdist.artifacts = ["*.pyi"]
|
|
20
|
+
targets.wheel.artifacts = ["*.pyi"]
|
|
21
|
+
|
|
22
|
+
[tool.hatch.build.hooks.reflex-pyi]
|
|
23
|
+
dependencies = ["ruff", "reflex-base"]
|
|
24
|
+
|
|
25
|
+
[build-system]
|
|
26
|
+
requires = ["hatchling", "uv-dynamic-versioning", "hatch-reflex-pyi"]
|
|
27
|
+
build-backend = "hatchling.build"
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
"""Recharts components."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from reflex_base.utils import lazy_loader
|
|
6
|
+
|
|
7
|
+
_SUBMOD_ATTRS: dict = {
|
|
8
|
+
"cartesian": [
|
|
9
|
+
"area",
|
|
10
|
+
"Area",
|
|
11
|
+
"bar",
|
|
12
|
+
"Bar",
|
|
13
|
+
"line",
|
|
14
|
+
"Line",
|
|
15
|
+
"scatter",
|
|
16
|
+
"Scatter",
|
|
17
|
+
"x_axis",
|
|
18
|
+
"XAxis",
|
|
19
|
+
"y_axis",
|
|
20
|
+
"YAxis",
|
|
21
|
+
"z_axis",
|
|
22
|
+
"ZAxis",
|
|
23
|
+
"brush",
|
|
24
|
+
"Brush",
|
|
25
|
+
"cartesian_axis",
|
|
26
|
+
"CartesianAxis",
|
|
27
|
+
"cartesian_grid",
|
|
28
|
+
"CartesianGrid",
|
|
29
|
+
"reference_line",
|
|
30
|
+
"ReferenceLine",
|
|
31
|
+
"reference_dot",
|
|
32
|
+
"ReferenceDot",
|
|
33
|
+
"reference_area",
|
|
34
|
+
"ReferenceArea",
|
|
35
|
+
"error_bar",
|
|
36
|
+
"ErrorBar",
|
|
37
|
+
"funnel",
|
|
38
|
+
"Funnel",
|
|
39
|
+
],
|
|
40
|
+
"charts": [
|
|
41
|
+
"area_chart",
|
|
42
|
+
"AreaChart",
|
|
43
|
+
"bar_chart",
|
|
44
|
+
"BarChart",
|
|
45
|
+
"line_chart",
|
|
46
|
+
"LineChart",
|
|
47
|
+
"composed_chart",
|
|
48
|
+
"ComposedChart",
|
|
49
|
+
"pie_chart",
|
|
50
|
+
"PieChart",
|
|
51
|
+
"radar_chart",
|
|
52
|
+
"RadarChart",
|
|
53
|
+
"radial_bar_chart",
|
|
54
|
+
"RadialBarChart",
|
|
55
|
+
"scatter_chart",
|
|
56
|
+
"ScatterChart",
|
|
57
|
+
"funnel_chart",
|
|
58
|
+
"FunnelChart",
|
|
59
|
+
"treemap",
|
|
60
|
+
"Treemap",
|
|
61
|
+
],
|
|
62
|
+
"general": [
|
|
63
|
+
"responsive_container",
|
|
64
|
+
"ResponsiveContainer",
|
|
65
|
+
"legend",
|
|
66
|
+
"Legend",
|
|
67
|
+
"tooltip",
|
|
68
|
+
"graphing_tooltip",
|
|
69
|
+
"GraphingTooltip",
|
|
70
|
+
"label",
|
|
71
|
+
"Label",
|
|
72
|
+
"label_list",
|
|
73
|
+
"LabelList",
|
|
74
|
+
"cell",
|
|
75
|
+
"Cell",
|
|
76
|
+
],
|
|
77
|
+
"polar": [
|
|
78
|
+
"pie",
|
|
79
|
+
"Pie",
|
|
80
|
+
"radar",
|
|
81
|
+
"Radar",
|
|
82
|
+
"radial_bar",
|
|
83
|
+
"RadialBar",
|
|
84
|
+
"polar_angle_axis",
|
|
85
|
+
"PolarAngleAxis",
|
|
86
|
+
"polar_grid",
|
|
87
|
+
"PolarGrid",
|
|
88
|
+
"polar_radius_axis",
|
|
89
|
+
"PolarRadiusAxis",
|
|
90
|
+
],
|
|
91
|
+
"recharts": [
|
|
92
|
+
"LiteralAnimationEasing",
|
|
93
|
+
"LiteralAxisType",
|
|
94
|
+
"LiteralBarChartStackOffset",
|
|
95
|
+
"LiteralComposedChartBaseValue",
|
|
96
|
+
"LiteralCurveType",
|
|
97
|
+
"LiteralDirection",
|
|
98
|
+
"LiteralGridType",
|
|
99
|
+
"LiteralIconType",
|
|
100
|
+
"LiteralIfOverflow",
|
|
101
|
+
"LiteralInterval",
|
|
102
|
+
"LiteralLayout",
|
|
103
|
+
"LiteralLegendAlign",
|
|
104
|
+
"LiteralLegendType",
|
|
105
|
+
"LiteralLineType",
|
|
106
|
+
"LiteralOrientation",
|
|
107
|
+
"LiteralOrientationLeftRightMiddle",
|
|
108
|
+
"LiteralOrientationTopBottom",
|
|
109
|
+
"LiteralOrientationTopBottomLeftRight",
|
|
110
|
+
"LiteralPolarRadiusType",
|
|
111
|
+
"LiteralScale",
|
|
112
|
+
"LiteralShape",
|
|
113
|
+
"LiteralStackOffset",
|
|
114
|
+
"LiteralSyncMethod",
|
|
115
|
+
"LiteralVerticalAlign",
|
|
116
|
+
],
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
__getattr__, __dir__, __all__ = lazy_loader.attach(
|
|
120
|
+
__name__,
|
|
121
|
+
submod_attrs=_SUBMOD_ATTRS,
|
|
122
|
+
)
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
"""Stub file for reflex_components_recharts/__init__.py"""
|
|
2
|
+
# ------------------- DO NOT EDIT ----------------------
|
|
3
|
+
# This file was generated by `reflex/utils/pyi_generator.py`!
|
|
4
|
+
# ------------------------------------------------------
|
|
5
|
+
|
|
6
|
+
from .cartesian import (
|
|
7
|
+
Area,
|
|
8
|
+
Bar,
|
|
9
|
+
Brush,
|
|
10
|
+
CartesianAxis,
|
|
11
|
+
CartesianGrid,
|
|
12
|
+
ErrorBar,
|
|
13
|
+
Funnel,
|
|
14
|
+
Line,
|
|
15
|
+
ReferenceArea,
|
|
16
|
+
ReferenceDot,
|
|
17
|
+
ReferenceLine,
|
|
18
|
+
Scatter,
|
|
19
|
+
XAxis,
|
|
20
|
+
YAxis,
|
|
21
|
+
ZAxis,
|
|
22
|
+
area,
|
|
23
|
+
bar,
|
|
24
|
+
brush,
|
|
25
|
+
cartesian_axis,
|
|
26
|
+
cartesian_grid,
|
|
27
|
+
error_bar,
|
|
28
|
+
funnel,
|
|
29
|
+
line,
|
|
30
|
+
reference_area,
|
|
31
|
+
reference_dot,
|
|
32
|
+
reference_line,
|
|
33
|
+
scatter,
|
|
34
|
+
x_axis,
|
|
35
|
+
y_axis,
|
|
36
|
+
z_axis,
|
|
37
|
+
)
|
|
38
|
+
from .charts import (
|
|
39
|
+
AreaChart,
|
|
40
|
+
BarChart,
|
|
41
|
+
ComposedChart,
|
|
42
|
+
FunnelChart,
|
|
43
|
+
LineChart,
|
|
44
|
+
PieChart,
|
|
45
|
+
RadarChart,
|
|
46
|
+
RadialBarChart,
|
|
47
|
+
ScatterChart,
|
|
48
|
+
Treemap,
|
|
49
|
+
area_chart,
|
|
50
|
+
bar_chart,
|
|
51
|
+
composed_chart,
|
|
52
|
+
funnel_chart,
|
|
53
|
+
line_chart,
|
|
54
|
+
pie_chart,
|
|
55
|
+
radar_chart,
|
|
56
|
+
radial_bar_chart,
|
|
57
|
+
scatter_chart,
|
|
58
|
+
treemap,
|
|
59
|
+
)
|
|
60
|
+
from .general import (
|
|
61
|
+
Cell,
|
|
62
|
+
GraphingTooltip,
|
|
63
|
+
Label,
|
|
64
|
+
LabelList,
|
|
65
|
+
Legend,
|
|
66
|
+
ResponsiveContainer,
|
|
67
|
+
cell,
|
|
68
|
+
graphing_tooltip,
|
|
69
|
+
label,
|
|
70
|
+
label_list,
|
|
71
|
+
legend,
|
|
72
|
+
responsive_container,
|
|
73
|
+
tooltip,
|
|
74
|
+
)
|
|
75
|
+
from .polar import (
|
|
76
|
+
Pie,
|
|
77
|
+
PolarAngleAxis,
|
|
78
|
+
PolarGrid,
|
|
79
|
+
PolarRadiusAxis,
|
|
80
|
+
Radar,
|
|
81
|
+
RadialBar,
|
|
82
|
+
pie,
|
|
83
|
+
polar_angle_axis,
|
|
84
|
+
polar_grid,
|
|
85
|
+
polar_radius_axis,
|
|
86
|
+
radar,
|
|
87
|
+
radial_bar,
|
|
88
|
+
)
|
|
89
|
+
from .recharts import (
|
|
90
|
+
LiteralAnimationEasing,
|
|
91
|
+
LiteralAxisType,
|
|
92
|
+
LiteralBarChartStackOffset,
|
|
93
|
+
LiteralComposedChartBaseValue,
|
|
94
|
+
LiteralCurveType,
|
|
95
|
+
LiteralDirection,
|
|
96
|
+
LiteralGridType,
|
|
97
|
+
LiteralIconType,
|
|
98
|
+
LiteralIfOverflow,
|
|
99
|
+
LiteralInterval,
|
|
100
|
+
LiteralLayout,
|
|
101
|
+
LiteralLegendAlign,
|
|
102
|
+
LiteralLegendType,
|
|
103
|
+
LiteralLineType,
|
|
104
|
+
LiteralOrientation,
|
|
105
|
+
LiteralOrientationLeftRightMiddle,
|
|
106
|
+
LiteralOrientationTopBottom,
|
|
107
|
+
LiteralOrientationTopBottomLeftRight,
|
|
108
|
+
LiteralPolarRadiusType,
|
|
109
|
+
LiteralScale,
|
|
110
|
+
LiteralShape,
|
|
111
|
+
LiteralStackOffset,
|
|
112
|
+
LiteralSyncMethod,
|
|
113
|
+
LiteralVerticalAlign,
|
|
114
|
+
)
|
|
115
|
+
|
|
116
|
+
__all__ = [
|
|
117
|
+
"Area",
|
|
118
|
+
"AreaChart",
|
|
119
|
+
"Bar",
|
|
120
|
+
"BarChart",
|
|
121
|
+
"Brush",
|
|
122
|
+
"CartesianAxis",
|
|
123
|
+
"CartesianGrid",
|
|
124
|
+
"Cell",
|
|
125
|
+
"ComposedChart",
|
|
126
|
+
"ErrorBar",
|
|
127
|
+
"Funnel",
|
|
128
|
+
"FunnelChart",
|
|
129
|
+
"GraphingTooltip",
|
|
130
|
+
"Label",
|
|
131
|
+
"LabelList",
|
|
132
|
+
"Legend",
|
|
133
|
+
"Line",
|
|
134
|
+
"LineChart",
|
|
135
|
+
"LiteralAnimationEasing",
|
|
136
|
+
"LiteralAxisType",
|
|
137
|
+
"LiteralBarChartStackOffset",
|
|
138
|
+
"LiteralComposedChartBaseValue",
|
|
139
|
+
"LiteralCurveType",
|
|
140
|
+
"LiteralDirection",
|
|
141
|
+
"LiteralGridType",
|
|
142
|
+
"LiteralIconType",
|
|
143
|
+
"LiteralIfOverflow",
|
|
144
|
+
"LiteralInterval",
|
|
145
|
+
"LiteralLayout",
|
|
146
|
+
"LiteralLegendAlign",
|
|
147
|
+
"LiteralLegendType",
|
|
148
|
+
"LiteralLineType",
|
|
149
|
+
"LiteralOrientation",
|
|
150
|
+
"LiteralOrientationLeftRightMiddle",
|
|
151
|
+
"LiteralOrientationTopBottom",
|
|
152
|
+
"LiteralOrientationTopBottomLeftRight",
|
|
153
|
+
"LiteralPolarRadiusType",
|
|
154
|
+
"LiteralScale",
|
|
155
|
+
"LiteralShape",
|
|
156
|
+
"LiteralStackOffset",
|
|
157
|
+
"LiteralSyncMethod",
|
|
158
|
+
"LiteralVerticalAlign",
|
|
159
|
+
"Pie",
|
|
160
|
+
"PieChart",
|
|
161
|
+
"PolarAngleAxis",
|
|
162
|
+
"PolarGrid",
|
|
163
|
+
"PolarRadiusAxis",
|
|
164
|
+
"Radar",
|
|
165
|
+
"RadarChart",
|
|
166
|
+
"RadialBar",
|
|
167
|
+
"RadialBarChart",
|
|
168
|
+
"ReferenceArea",
|
|
169
|
+
"ReferenceDot",
|
|
170
|
+
"ReferenceLine",
|
|
171
|
+
"ResponsiveContainer",
|
|
172
|
+
"Scatter",
|
|
173
|
+
"ScatterChart",
|
|
174
|
+
"Treemap",
|
|
175
|
+
"XAxis",
|
|
176
|
+
"YAxis",
|
|
177
|
+
"ZAxis",
|
|
178
|
+
"area",
|
|
179
|
+
"area_chart",
|
|
180
|
+
"bar",
|
|
181
|
+
"bar_chart",
|
|
182
|
+
"brush",
|
|
183
|
+
"cartesian_axis",
|
|
184
|
+
"cartesian_grid",
|
|
185
|
+
"cell",
|
|
186
|
+
"composed_chart",
|
|
187
|
+
"error_bar",
|
|
188
|
+
"funnel",
|
|
189
|
+
"funnel_chart",
|
|
190
|
+
"graphing_tooltip",
|
|
191
|
+
"label",
|
|
192
|
+
"label_list",
|
|
193
|
+
"legend",
|
|
194
|
+
"line",
|
|
195
|
+
"line_chart",
|
|
196
|
+
"pie",
|
|
197
|
+
"pie_chart",
|
|
198
|
+
"polar_angle_axis",
|
|
199
|
+
"polar_grid",
|
|
200
|
+
"polar_radius_axis",
|
|
201
|
+
"radar",
|
|
202
|
+
"radar_chart",
|
|
203
|
+
"radial_bar",
|
|
204
|
+
"radial_bar_chart",
|
|
205
|
+
"reference_area",
|
|
206
|
+
"reference_dot",
|
|
207
|
+
"reference_line",
|
|
208
|
+
"responsive_container",
|
|
209
|
+
"scatter",
|
|
210
|
+
"scatter_chart",
|
|
211
|
+
"tooltip",
|
|
212
|
+
"treemap",
|
|
213
|
+
"x_axis",
|
|
214
|
+
"y_axis",
|
|
215
|
+
"z_axis",
|
|
216
|
+
]
|