reflex-perspective 0.1.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,70 @@
1
+ """Reflex custom component for Perspective (https://perspective-dev.github.io).
2
+
3
+ Quick start::
4
+
5
+ import reflex_perspective as rp
6
+
7
+ rp.perspective_viewer(data=State.rows, plugin="Y Bar", group_by=["Region"])
8
+
9
+ Server-hosted tables live in :mod:`reflex_perspective.server` (optional
10
+ ``server`` extra, imported lazily so the client-only component has no
11
+ dependency on ``perspective-python``).
12
+ """
13
+
14
+ from . import viewer as actions
15
+ from .viewer import (
16
+ AGGREGATES,
17
+ EXPORT_METHODS,
18
+ PERSPECTIVE_VERSION,
19
+ PLUGINS,
20
+ THEMES,
21
+ PerspectiveViewer,
22
+ add_panel,
23
+ clear,
24
+ copy,
25
+ download,
26
+ export,
27
+ perspective_viewer,
28
+ remove,
29
+ replace,
30
+ reset,
31
+ resize,
32
+ restore,
33
+ restore_workspace,
34
+ save,
35
+ save_workspace,
36
+ table_schema,
37
+ table_size,
38
+ toggle_config,
39
+ update,
40
+ )
41
+
42
+ __all__ = [
43
+ "AGGREGATES",
44
+ "EXPORT_METHODS",
45
+ "PERSPECTIVE_VERSION",
46
+ "PLUGINS",
47
+ "THEMES",
48
+ "PerspectiveViewer",
49
+ "actions",
50
+ "add_panel",
51
+ "clear",
52
+ "copy",
53
+ "download",
54
+ "export",
55
+ "perspective_viewer",
56
+ "remove",
57
+ "replace",
58
+ "reset",
59
+ "resize",
60
+ "restore",
61
+ "restore_workspace",
62
+ "save",
63
+ "save_workspace",
64
+ "table_schema",
65
+ "table_size",
66
+ "toggle_config",
67
+ "update",
68
+ ]
69
+
70
+ __version__ = "0.1.0"