vizro-dash-components 0.0.1__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.
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: vizro-dash-components
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Vizro Dash Components are used by the Vizro framework but can be used in a pure Dash app
|
|
5
|
+
Project-URL: Source, https://github.com/mckinsey/vizro
|
|
6
|
+
Author: Vizro Team
|
|
7
|
+
Classifier: Framework :: Dash
|
|
8
|
+
Classifier: Programming Language :: Python
|
|
9
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
10
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
14
|
+
Requires-Python: >=3.10
|
|
15
|
+
Requires-Dist: dash-mantine-components>=2.0.0
|
|
16
|
+
Requires-Dist: dash<5,>=4
|
|
17
|
+
Description-Content-Type: text/markdown
|
|
18
|
+
|
|
19
|
+
# Vizro Dash Components
|
|
20
|
+
|
|
21
|
+
Vizro Dash Components are used by the Vizro framework but can be used in a pure Dash app.
|
|
22
|
+
|
|
23
|
+
## Installation
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
pip install vizro-dash-components
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Usage
|
|
30
|
+
|
|
31
|
+
The `Markdown` component requires a `dmc.MantineProvider` wrapper for proper styling of code blocks.
|
|
32
|
+
|
|
33
|
+
```python
|
|
34
|
+
import dash_mantine_components as dmc
|
|
35
|
+
import vizro_dash_components as vdc
|
|
36
|
+
from dash import Dash
|
|
37
|
+
|
|
38
|
+
app = Dash(__name__)
|
|
39
|
+
|
|
40
|
+
app.layout = dmc.MantineProvider(
|
|
41
|
+
vdc.Markdown(
|
|
42
|
+
id="my-markdown",
|
|
43
|
+
children="""
|
|
44
|
+
# Hello World
|
|
45
|
+
|
|
46
|
+
```python
|
|
47
|
+
print("Hello, World!")
|
|
48
|
+
```
|
|
49
|
+
""",
|
|
50
|
+
)
|
|
51
|
+
)
|
|
52
|
+
|
|
53
|
+
if __name__ == "__main__":
|
|
54
|
+
app.run(debug=True)
|
|
55
|
+
```
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# Vizro Dash Components
|
|
2
|
+
|
|
3
|
+
Vizro Dash Components are used by the Vizro framework but can be used in a pure Dash app.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
pip install vizro-dash-components
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
The `Markdown` component requires a `dmc.MantineProvider` wrapper for proper styling of code blocks.
|
|
14
|
+
|
|
15
|
+
```python
|
|
16
|
+
import dash_mantine_components as dmc
|
|
17
|
+
import vizro_dash_components as vdc
|
|
18
|
+
from dash import Dash
|
|
19
|
+
|
|
20
|
+
app = Dash(__name__)
|
|
21
|
+
|
|
22
|
+
app.layout = dmc.MantineProvider(
|
|
23
|
+
vdc.Markdown(
|
|
24
|
+
id="my-markdown",
|
|
25
|
+
children="""
|
|
26
|
+
# Hello World
|
|
27
|
+
|
|
28
|
+
```python
|
|
29
|
+
print("Hello, World!")
|
|
30
|
+
```
|
|
31
|
+
""",
|
|
32
|
+
)
|
|
33
|
+
)
|
|
34
|
+
|
|
35
|
+
if __name__ == "__main__":
|
|
36
|
+
app.run(debug=True)
|
|
37
|
+
```
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
build-backend = "hatchling.build"
|
|
3
|
+
requires = ["hatchling"]
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
authors = [
|
|
7
|
+
{name = "Vizro Team"}
|
|
8
|
+
]
|
|
9
|
+
classifiers = [
|
|
10
|
+
"Framework :: Dash",
|
|
11
|
+
"Programming Language :: Python",
|
|
12
|
+
"Programming Language :: Python :: 3.10",
|
|
13
|
+
"Programming Language :: Python :: 3.11",
|
|
14
|
+
"Programming Language :: Python :: 3.12",
|
|
15
|
+
"Programming Language :: Python :: 3.13",
|
|
16
|
+
"Programming Language :: Python :: 3.14"
|
|
17
|
+
]
|
|
18
|
+
dependencies = [
|
|
19
|
+
"dash>=4,<5",
|
|
20
|
+
"dash-mantine-components>=2.0.0"
|
|
21
|
+
]
|
|
22
|
+
description = "Vizro Dash Components are used by the Vizro framework but can be used in a pure Dash app"
|
|
23
|
+
version = "0.0.1"
|
|
24
|
+
name = "vizro-dash-components"
|
|
25
|
+
readme = "README.md"
|
|
26
|
+
requires-python = ">=3.10"
|
|
27
|
+
|
|
28
|
+
[project.urls]
|
|
29
|
+
Source = "https://github.com/mckinsey/vizro"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Vizro Dash Components are used by the Vizro framework but can be used in a pure Dash app."""
|