dara-core 1.16.6a2__py3-none-any.whl → 1.16.6a3__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.
- dara/core/js_tooling/js_utils.py +7 -0
- {dara_core-1.16.6a2.dist-info → dara_core-1.16.6a3.dist-info}/METADATA +10 -10
- {dara_core-1.16.6a2.dist-info → dara_core-1.16.6a3.dist-info}/RECORD +6 -6
- {dara_core-1.16.6a2.dist-info → dara_core-1.16.6a3.dist-info}/LICENSE +0 -0
- {dara_core-1.16.6a2.dist-info → dara_core-1.16.6a3.dist-info}/WHEEL +0 -0
- {dara_core-1.16.6a2.dist-info → dara_core-1.16.6a3.dist-info}/entry_points.txt +0 -0
dara/core/js_tooling/js_utils.py
CHANGED
|
@@ -402,6 +402,13 @@ def _py_version_to_js(package_name: str) -> str:
|
|
|
402
402
|
# Handle pre releases (a|b|c|rc|alpha|beta|pre|preview)
|
|
403
403
|
if parsed_version.is_prerelease and parsed_version.pre is not None:
|
|
404
404
|
pre_name, pre_version = parsed_version.pre
|
|
405
|
+
|
|
406
|
+
# js names created are full alpha/beta
|
|
407
|
+
if pre_name == 'a':
|
|
408
|
+
pre_name = 'alpha'
|
|
409
|
+
elif pre_name == 'b':
|
|
410
|
+
pre_name = 'beta'
|
|
411
|
+
|
|
405
412
|
return f'{parsed_version.base_version}-{pre_name}.{pre_version}'
|
|
406
413
|
|
|
407
414
|
# Handle dev releases (dev)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: dara-core
|
|
3
|
-
Version: 1.16.
|
|
3
|
+
Version: 1.16.6a3
|
|
4
4
|
Summary: Dara Framework Core
|
|
5
5
|
Home-page: https://dara.causalens.com/
|
|
6
6
|
License: Apache-2.0
|
|
@@ -20,10 +20,10 @@ Requires-Dist: async-asgi-testclient (>=1.4.11,<2.0.0)
|
|
|
20
20
|
Requires-Dist: certifi (>=2024.7.4)
|
|
21
21
|
Requires-Dist: click (==8.1.3)
|
|
22
22
|
Requires-Dist: colorama (>=0.4.6,<0.5.0)
|
|
23
|
-
Requires-Dist: create-dara-app (==1.16.6-alpha.
|
|
23
|
+
Requires-Dist: create-dara-app (==1.16.6-alpha.3)
|
|
24
24
|
Requires-Dist: croniter (>=1.0.15,<3.0.0)
|
|
25
25
|
Requires-Dist: cryptography (>=42.0.4)
|
|
26
|
-
Requires-Dist: dara-components (==1.16.6-alpha.
|
|
26
|
+
Requires-Dist: dara-components (==1.16.6-alpha.3) ; extra == "all"
|
|
27
27
|
Requires-Dist: exceptiongroup (>=1.1.3,<2.0.0)
|
|
28
28
|
Requires-Dist: fastapi (>=0.115.0,<0.116.0)
|
|
29
29
|
Requires-Dist: fastapi_vite_dara (==0.4.0)
|
|
@@ -52,7 +52,7 @@ Description-Content-Type: text/markdown
|
|
|
52
52
|
|
|
53
53
|
# Dara Application Framework
|
|
54
54
|
|
|
55
|
-
<img src="https://github.com/causalens/dara/blob/v1.16.6-alpha.
|
|
55
|
+
<img src="https://github.com/causalens/dara/blob/v1.16.6-alpha.3/img/dara_light.svg?raw=true">
|
|
56
56
|
|
|
57
57
|

|
|
58
58
|
[](https://www.apache.org/licenses/LICENSE-2.0)
|
|
@@ -97,7 +97,7 @@ source .venv/bin/activate
|
|
|
97
97
|
dara start
|
|
98
98
|
```
|
|
99
99
|
|
|
100
|
-

|
|
101
101
|
|
|
102
102
|
Note: `pip` installation uses [PEP 660](https://peps.python.org/pep-0660/) `pyproject.toml`-based editable installs which require `pip >= 21.3` and `setuptools >= 64.0.0`. You can upgrade both with:
|
|
103
103
|
|
|
@@ -114,9 +114,9 @@ Explore some of our favorite apps - a great way of getting started and getting t
|
|
|
114
114
|
|
|
115
115
|
| Dara App | Description |
|
|
116
116
|
| -------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
117
|
-
|  | Demonstrates how to use incorporate a LLM chat box into your decision app to understand model insights |
|
|
118
|
+
|  | Demonstrates how to enable the user to interact with plots, trigger actions based on clicks, mouse movements and other interactions with `Bokeh` or `Plotly` plots |
|
|
119
|
+
|  | Demonstrates how to use the `CausalGraphViewer` component to display your graphs or networks, customising the displayed information through colors and tooltips, and updating the page based on user interaction. |
|
|
120
120
|
|
|
121
121
|
Check out our [App Gallery](https://dara.causalens.com/gallery) for more inspiration!
|
|
122
122
|
|
|
@@ -143,9 +143,9 @@ And the supporting UI packages and tools.
|
|
|
143
143
|
- `ui-utils` - miscellaneous utility functions
|
|
144
144
|
- `ui-widgets` - widget components
|
|
145
145
|
|
|
146
|
-
More information on the repository structure can be found in the [CONTRIBUTING.md](https://github.com/causalens/dara/blob/v1.16.6-alpha.
|
|
146
|
+
More information on the repository structure can be found in the [CONTRIBUTING.md](https://github.com/causalens/dara/blob/v1.16.6-alpha.3/CONTRIBUTING.md) file.
|
|
147
147
|
|
|
148
148
|
## License
|
|
149
149
|
|
|
150
|
-
Dara is open-source and licensed under the [Apache 2.0 License](https://github.com/causalens/dara/blob/v1.16.6-alpha.
|
|
150
|
+
Dara is open-source and licensed under the [Apache 2.0 License](https://github.com/causalens/dara/blob/v1.16.6-alpha.3/LICENSE).
|
|
151
151
|
|
|
@@ -65,7 +65,7 @@ dara/core/jinja/index.html,sha256=iykqiRh3H_HkcjHJeeSRXRu45nZ2y1sZX5FLdPRhlQY,72
|
|
|
65
65
|
dara/core/jinja/index_autojs.html,sha256=MRF5J0vNfzZQm9kPEeLl23sbr08fVSRd_PAUD6Fkc_0,1253
|
|
66
66
|
dara/core/js_tooling/custom_js_scaffold/index.tsx,sha256=FEzSV5o5Nyzxw6eXvGLi7BkEBkXf3brV34_7ATLnY7o,68
|
|
67
67
|
dara/core/js_tooling/custom_js_scaffold/local-js-component.tsx,sha256=Ojsyeh9MYJnH_XJXGkSc8PAUZIqJcqcGTu_uRITo_88,709
|
|
68
|
-
dara/core/js_tooling/js_utils.py,sha256=
|
|
68
|
+
dara/core/js_tooling/js_utils.py,sha256=nNlHNL5Rk0gydFKvR1_idqkWL6s8iEZVUbUA58e8EuM,26280
|
|
69
69
|
dara/core/js_tooling/statics/favicon.ico,sha256=CJP26erMMIwQB8FFmyhoUJ-Cx1cXEopiVGxFwyxcpo0,47068
|
|
70
70
|
dara/core/js_tooling/statics/tsconfig.json,sha256=ubnFjwvPHbx2F7wVWsU2VHLDeEnnOwXkTIk7hLNY8ZM,446
|
|
71
71
|
dara/core/js_tooling/templates/.npmrc,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -104,8 +104,8 @@ dara/core/visual/themes/__init__.py,sha256=aM4mgoIYo2neBSw5FRzswsht7PUKjLthiHLmF
|
|
|
104
104
|
dara/core/visual/themes/dark.py,sha256=UQGDooOc8ric73eHs9E0ltYP4UCrwqQ3QxqN_fb4PwY,1942
|
|
105
105
|
dara/core/visual/themes/definitions.py,sha256=nS_gQvOzCt5hTmj74d0_siq_9QWuj6wNuir4VCHy0Dk,2779
|
|
106
106
|
dara/core/visual/themes/light.py,sha256=-Tviq8oEwGbdFULoDOqPuHO0UpAZGsBy8qFi0kAGolQ,1944
|
|
107
|
-
dara_core-1.16.
|
|
108
|
-
dara_core-1.16.
|
|
109
|
-
dara_core-1.16.
|
|
110
|
-
dara_core-1.16.
|
|
111
|
-
dara_core-1.16.
|
|
107
|
+
dara_core-1.16.6a3.dist-info/LICENSE,sha256=r9u1w2RvpLMV6YjuXHIKXRBKzia3fx_roPwboGcLqCc,10944
|
|
108
|
+
dara_core-1.16.6a3.dist-info/METADATA,sha256=2bOzwApjGraxIeCEpVScQVDovxJa_TO5wGlqnM-hqrA,7514
|
|
109
|
+
dara_core-1.16.6a3.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
110
|
+
dara_core-1.16.6a3.dist-info/entry_points.txt,sha256=H__D5sNIGuPIhVam0DChNL-To5k8Y7nY7TAFz9Mz6cc,139
|
|
111
|
+
dara_core-1.16.6a3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|