hiplot-mm 0.0.3rc0__py3-none-any.whl → 0.0.3rc1__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.
hiplot/test_render.py CHANGED
@@ -17,8 +17,8 @@ def test_demos_ipython() -> None:
17
17
  v().display()
18
18
 
19
19
 
20
- @unittest.mock.patch('streamlit._is_running_with_streamlit', new=True, create=True)
21
- def test_demos_streamlit() -> None:
20
+ @unittest.mock.patch('streamlit.runtime.exists', return_value=True)
21
+ def test_demos_streamlit(_mock: unittest.mock.MagicMock) -> None:
22
22
  for k, v in README_DEMOS.items():
23
23
  print(k)
24
24
  v().display_st(key=f'hiplot{k}a')
@@ -1,12 +1,12 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hiplot-mm
3
- Version: 0.0.3rc0
3
+ Version: 0.0.3rc1
4
4
  Summary: High dimensional Interactive Plotting tool
5
5
  Author: Facebook AI Research, mathematicalmichael @ Mind the Math, LLC
6
6
  License-Expression: MIT
7
- Project-URL: Homepage, https://github.com/facebookresearch/hiplot
7
+ Project-URL: Homepage, https://github.com/mindthemath/hiplot
8
8
  Project-URL: Documentation, https://facebookresearch.github.io/hiplot/
9
- Project-URL: Repository, https://github.com/facebookresearch/hiplot
9
+ Project-URL: Repository, https://github.com/mindthemath/hiplot
10
10
  Classifier: Development Status :: 4 - Beta
11
11
  Classifier: Intended Audience :: Developers
12
12
  Classifier: Intended Audience :: Science/Research
@@ -38,10 +38,9 @@ Provides-Extra: all
38
38
  Requires-Dist: hiplot-mm[notebook,server,streamlit]; extra == "all"
39
39
  Provides-Extra: dev
40
40
  Requires-Dist: pytest; extra == "dev"
41
- Requires-Dist: mypy; extra == "dev"
41
+ Requires-Dist: ty; extra == "dev"
42
42
  Requires-Dist: ipykernel; extra == "dev"
43
43
  Requires-Dist: wheel; extra == "dev"
44
- Requires-Dist: selenium; extra == "dev"
45
44
  Requires-Dist: mistune==0.8.4; extra == "dev"
46
45
  Requires-Dist: twine; extra == "dev"
47
46
  Requires-Dist: pre-commit; extra == "dev"
@@ -51,37 +50,53 @@ Requires-Dist: beautifulsoup4; extra == "dev"
51
50
  Requires-Dist: optuna; extra == "dev"
52
51
  Requires-Dist: sphinx==5.2.0; extra == "dev"
53
52
  Requires-Dist: guzzle_sphinx_theme==0.7.11; extra == "dev"
54
- Requires-Dist: m2r2==0.3.3; extra == "dev"
53
+ Requires-Dist: m2r2>=0.3.4; extra == "dev"
55
54
  Requires-Dist: flask; extra == "dev"
56
55
  Requires-Dist: flask-compress; extra == "dev"
57
56
  Requires-Dist: ipython>=7.0.1; extra == "dev"
58
57
  Dynamic: license-file
59
58
 
60
- # HiPlot - High dimensional Interactive Plotting [![CircleCI](https://circleci.com/gh/facebookresearch/hiplot/tree/main.svg?style=svg&circle-token=c89b6825078e174cf35bdc18e4ad4a16e28876f9)](https://circleci.com/gh/facebookresearch/hiplot/tree/main)
59
+ # HiPlot - High dimensional Interactive Plotting
61
60
 
61
+ ![Logo](https://raw.githubusercontent.com/mindthemath/hiplot/main/hiplot/static/logo.png)
62
62
 
63
- ![Logo](https://raw.githubusercontent.com/facebookresearch/hiplot/main/hiplot/static/logo.png)
64
-
65
- [![Support Ukraine](https://img.shields.io/badge/Support-Ukraine-FFD500?style=flat&labelColor=005BBB)](https://opensource.fb.com/support-ukraine)
63
+ [![CI](https://github.com/mindthemath/hiplot/actions/workflows/ci.yml/badge.svg)](https://github.com/mindthemath/hiplot/actions/workflows/ci.yml)
64
+ [![Release](https://github.com/mindthemath/hiplot/actions/workflows/release.yml/badge.svg)](https://github.com/mindthemath/hiplot/actions/workflows/release.yml)
66
65
  [![License: MIT](https://img.shields.io/badge/License-MIT-brightgreen.svg)](https://opensource.org/licenses/MIT)
67
- [![PyPI download month](https://img.shields.io/pypi/dm/hiplot.svg)](https://pypi.python.org/pypi/hiplot/) [![PyPI version](https://img.shields.io/pypi/v/hiplot.svg)](https://pypi.python.org/pypi/hiplot/) [![docs](https://img.shields.io/badge/docs-passing-brightgreen.svg)](https://facebookresearch.github.io/hiplot/index.html) [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/facebookresearch/hiplot/blob/main/examples/HiPlotColabExample.ipynb)
66
+ [![PyPI version](https://img.shields.io/pypi/v/hiplot-mm.svg)](https://pypi.python.org/pypi/hiplot-mm/)
67
+ [![PyPI downloads](https://img.shields.io/pypi/dm/hiplot-mm.svg)](https://pypi.python.org/pypi/hiplot-mm/)
68
+ [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/mindthemath/hiplot/blob/main/examples/HiPlotColabExample.ipynb)
68
69
 
70
+ > **Community-maintained fork**: This is a community-maintained fork of [Facebook Research's HiPlot](https://github.com/facebookresearch/hiplot), which has been archived. We aim to keep the project alive with bug fixes, security updates, and new features.
69
71
 
70
72
  HiPlot is a lightweight interactive visualization tool to help AI researchers discover correlations and patterns in high-dimensional data using parallel plots and other graphical ways to represent information.
71
73
 
72
- ### [Try a demo now with sweep data](https://facebookresearch.github.io/hiplot/_static/demo/ml1.csv.html) or [upload your CSV](https://facebookresearch.github.io/hiplot/_static/hiplot_upload.html) or [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/facebookresearch/hiplot/blob/main/examples/HiPlotColabExample.ipynb)
74
+ ### [Try a demo now with sweep data](https://mindthemath.github.io/hiplot/_static/demo/ml1.csv.html) or [upload your CSV](https://mindthemath.github.io/hiplot/_static/hiplot_upload.html) or [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/mindthemath/hiplot/blob/main/examples/HiPlotColabExample.ipynb)
73
75
 
74
76
  There are several modes to HiPlot:
75
77
  - As a web-server (if your data is a CSV for instance)
76
- - In a jupyter notebook (to visualize python data), or in [Streamlit apps](https://facebookresearch.github.io/hiplot/tuto_streamlit.html)
78
+ - In a jupyter notebook (to visualize python data), or in [Streamlit apps](https://mindthemath.github.io/hiplot/tuto_streamlit.html)
77
79
  - In CLI to render standalone HTML
78
80
 
79
81
 
80
82
  ```bash
81
- pip install -U hiplot # Or for conda users: conda install -c conda-forge hiplot
83
+ # Core package (HTML export only)
84
+ pip install hiplot-mm
85
+
86
+ # With Jupyter notebook support
87
+ pip install hiplot-mm[notebook]
88
+
89
+ # With web server support (hiplot CLI command)
90
+ pip install hiplot-mm[server]
91
+
92
+ # With Streamlit support
93
+ pip install hiplot-mm[streamlit]
94
+
95
+ # Everything
96
+ pip install hiplot-mm[all]
82
97
  ```
83
98
 
84
- If you have a jupyter notebook, you can get started with something as simple as:
99
+ If you have a Jupyter notebook, you can get started with something as simple as:
85
100
 
86
101
  ```python
87
102
  import hiplot as hip
@@ -91,17 +106,46 @@ data = [{'dropout':0.1, 'lr': 0.001, 'loss': 10.0, 'optimizer': 'SGD'},
91
106
  hip.Experiment.from_iterable(data).display()
92
107
  ```
93
108
 
94
- ### [See the live result](https://facebookresearch.github.io/hiplot/_static/demo/demo_basic_usage.html)
95
- ![Result](https://raw.githubusercontent.com/facebookresearch/hiplot/main/assets/notebook.png)
109
+ ### [See the live result](https://mindthemath.github.io/hiplot/_static/demo/demo_basic_usage.html)
110
+ ![Result](https://raw.githubusercontent.com/mindthemath/hiplot/main/assets/notebook.png)
96
111
 
97
112
  ## Links
98
113
 
99
- * Blog post: https://ai.facebook.com/blog/hiplot-high-dimensional-interactive-plots-made-easy/
100
- * Documentation: https://facebookresearch.github.io/hiplot/index.html
101
- * Pypi package: https://pypi.org/project/hiplot/
102
- * Conda package: https://anaconda.org/conda-forge/hiplot
103
- * NPM package: https://www.npmjs.com/package/hiplot
104
- * Examples: https://github.com/facebookresearch/hiplot/tree/main/examples
114
+ * Repository: https://github.com/mindthemath/hiplot
115
+ * Documentation: https://mindthemath.github.io/hiplot/
116
+ * PyPI package: https://pypi.org/project/hiplot-mm/
117
+ * Examples: https://github.com/mindthemath/hiplot/tree/main/examples
118
+ * Original blog post: https://ai.facebook.com/blog/hiplot-high-dimensional-interactive-plots-made-easy/
119
+
120
+
121
+ ## Development
122
+
123
+ To build from source:
124
+
125
+ ```bash
126
+ # Install dependencies
127
+ bun install
128
+ uv sync --all-extras
129
+
130
+ # Build JavaScript bundles
131
+ bun run build
132
+
133
+ # Build Python package
134
+ uv build
135
+
136
+ # Or use the all-in-one build script
137
+ ./build.sh
138
+ ```
139
+
140
+ **Output directories:**
141
+ - `npm-dist/` - NPM package artifacts
142
+ - `dist/` - Python wheel and sdist
143
+ - `hiplot/static/built/` - JS bundle included in Python package
144
+
145
+ **Run the dev server:**
146
+ ```bash
147
+ uv run hiplot --port 8765
148
+ ```
105
149
 
106
150
 
107
151
  ## Citing
@@ -1,18 +1,18 @@
1
- hiplot/__init__.py,sha256=ZioLWYAwqgLk99RZ1-CqLnxZ35HEytcBHMOARShZNrg,893
1
+ hiplot/__init__.py,sha256=e8cvytHcwf-Ywycv1wBoldEC0Pbmik4bjSmBzZfa_PE,882
2
2
  hiplot/__main__.py,sha256=iTsr-pqySeHZ1_Uk-F0O5BOsVJjWslG7z2YZm2KkFpE,283
3
3
  hiplot/compress.py,sha256=9J2rLJVtZX-EHjdySsGekA0LeOxpmwaB8SnsLA1esco,964
4
4
  hiplot/experiment.py,sha256=d00uvhw-yrMES9IZ0sk9yFL9FwNV_KTPrq11cIyEVA4,24652
5
- hiplot/fetchers.py,sha256=yWrjxZxizlHbJyTEmbQpJPUVuSXwRH0PNj4Leq7HZ38,11570
6
- hiplot/fetchers_demo.py,sha256=CCEgZlBzknEGWJSsZGraZEOs5mI437tC4n-5nzBL91I,13014
7
- hiplot/ipython.py,sha256=KkKWjD1iRnKz_5AF1N3Z8idRakyP1rd8gKG1XBDYhJE,7766
8
- hiplot/pkginfo.py,sha256=J_F1jsYaW85WDcVIIZMjWoqgGdTRaG38Sf1o1TgocrQ,785
5
+ hiplot/fetchers.py,sha256=7CASSHVIak7uz6Fh4t9IShTLwJs5uRgtYeBpYNvdZho,11554
6
+ hiplot/fetchers_demo.py,sha256=YoS8WPKrpP2DufiYQfjsLzOkRIN4qbVYN65d2cVErTw,12982
7
+ hiplot/ipython.py,sha256=xYLaaawSme_QNZpkic2Io3J1F4Kh1u2qZtu5hn4aWpk,7734
8
+ hiplot/pkginfo.py,sha256=FAFdJSUb-YTXawWUKcjbUNxgA8ps29QnxQVcNnrHBnU,562
9
9
  hiplot/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
- hiplot/render.py,sha256=l5idAf75n6LRupcRhwXwTYpNbgUM-eK6JMTb0_Wjr50,3723
11
- hiplot/server.py,sha256=JXEKt2UD8SEJOcG2kcdgDpb_XaQhgYmrwG9pA2_p85w,2429
10
+ hiplot/render.py,sha256=k30ZBYsqSCGlvmqprTYex72CYJ__siyQUGDtWSwwkE4,3733
11
+ hiplot/server.py,sha256=lGTFGlY7vfn_9i7YoviPqjsCWD1FTVvKu_FOuJJtqsk,2433
12
12
  hiplot/streamlit_helpers.py,sha256=ZClfgbafgHWFQi0E16CgzdfKz8-AACRIe2DqryDM0fM,5214
13
13
  hiplot/test_experiment.py,sha256=dOFpq6qEjexvRRGOkpNjWzrDpcVw8ckCOktCGJFdUr0,6748
14
14
  hiplot/test_fetchers.py,sha256=zXMN15E22_yNUU_YPcKWx9L4XAyZi1I1yr30cBlmkB0,2208
15
- hiplot/test_render.py,sha256=-HUJqFoiSuWAyHG4TE9VwPzfYa2Khf6qMnBTo93cjsM,2141
15
+ hiplot/test_render.py,sha256=d8nNA9ptuXakSTkFzITpQXT7J9R4UCyVAeIXvHrIdC8,2155
16
16
  hiplot/static/icon-w.svg,sha256=0hfr9tMtWZPOS_GXVOE3s03I4JZ9WFBn7RyyOW9GN0w,1160
17
17
  hiplot/static/icon.png,sha256=hSllX0zW4r-6Cn8nqfiG9WbkGFU0HE3fTQyjBLg0dXE,21466
18
18
  hiplot/static/icon.svg,sha256=MDyI5uC4n5FAmMKKqNBmUUhigmxDnjmEeB6FtuSTBGI,1151
@@ -20,14 +20,14 @@ hiplot/static/logo-w.svg,sha256=Ptvs98gsgr0Qk12LnbglQKx2lSfs6Hc4TUTx6Mk9hF0,2274
20
20
  hiplot/static/logo.png,sha256=Rd7cq4aMlvQmSrL5OKrOWcucDngQgkt5ZUUKO2i4uRE,15653
21
21
  hiplot/static/logo.svg,sha256=vzVSSRpfkuCMuW3RhmrwRk9JkKb2YtHeQIO9f_LFW1k,2265
22
22
  hiplot/static/thumbnail.png,sha256=SX3sY85PxZ5y0LbPWzoSWGXHvU-fgBBZgW7zxMT_3hk,45290
23
- hiplot/static/built/hiplot.bundle.js,sha256=JLmV-e0dko-pLDXB9G5P5Q_xFi1eZTXqDS1PHaYOvyc,1575408
24
- hiplot/static/built/streamlit_component/hiplot_streamlit.bundle.js,sha256=CGjKr29mzzoLyqK5QhmDgJFKvaLjiFwBmgpvppRXK2A,1558281
23
+ hiplot/static/built/hiplot.bundle.js,sha256=f5mg5lWzfyTP7WPsr5BVk7HaLOSH4RJ3sVAHXwzBvc0,1578564
24
+ hiplot/static/built/streamlit_component/hiplot_streamlit.bundle.js,sha256=6lO4Xjt0-eovn0U5TGTcfUhO8oxc7JuJFlu4YaT8aOg,1561437
25
25
  hiplot/static/built/streamlit_component/index.html,sha256=9zbuZu0iE1vFr2cy0ulrP3l34i8W_3-Mkl_JCPVq-tc,512
26
26
  hiplot/templates/index.html,sha256=cwt7fGGdz3UHxHZAh3EMnudmwMauGV7Jp8YOUxtSFPE,1281
27
- hiplot_mm-0.0.3rc0.dist-info/licenses/LICENSE,sha256=UkEte8fOQVfqYou6rLiCngqcs8WPV_mRdhJryM8r_IU,1086
28
- hiplot_mm-0.0.3rc0.dist-info/licenses/NOTICE,sha256=BgJexxrr6wJp6w2Sh51mRAiLn1ymNC5o6F5KrnUV8Do,11609
29
- hiplot_mm-0.0.3rc0.dist-info/METADATA,sha256=50tuPJEBfhKnwF34ceYfhRiNrbU5OcYlcOD4friNwVg,6316
30
- hiplot_mm-0.0.3rc0.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
31
- hiplot_mm-0.0.3rc0.dist-info/entry_points.txt,sha256=KQKYaXRcaURkOHNj3XwTQrejNQT5f23CstllSqN34_c,106
32
- hiplot_mm-0.0.3rc0.dist-info/top_level.txt,sha256=J1kKpj7DXS676kMWcep6U8rHfAHrL1YQWAwhjcHMpMU,7
33
- hiplot_mm-0.0.3rc0.dist-info/RECORD,,
27
+ hiplot_mm-0.0.3rc1.dist-info/licenses/LICENSE,sha256=UkEte8fOQVfqYou6rLiCngqcs8WPV_mRdhJryM8r_IU,1086
28
+ hiplot_mm-0.0.3rc1.dist-info/licenses/NOTICE,sha256=BgJexxrr6wJp6w2Sh51mRAiLn1ymNC5o6F5KrnUV8Do,11609
29
+ hiplot_mm-0.0.3rc1.dist-info/METADATA,sha256=zrA48TTxVTMySV35qm4CYR3cZ1KoQUqqewQ2Nf_VQmw,6934
30
+ hiplot_mm-0.0.3rc1.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
31
+ hiplot_mm-0.0.3rc1.dist-info/entry_points.txt,sha256=4hfapToNypT55b9ZlFt9T3slAQbb8XzapVL3mpZvou8,109
32
+ hiplot_mm-0.0.3rc1.dist-info/top_level.txt,sha256=J1kKpj7DXS676kMWcep6U8rHfAHrL1YQWAwhjcHMpMU,7
33
+ hiplot_mm-0.0.3rc1.dist-info/RECORD,,
@@ -1,3 +1,3 @@
1
1
  [console_scripts]
2
- hiplot = hiplot.server:run_server_main
2
+ hiplot-mm = hiplot.server:run_server_main
3
3
  hiplot-render = hiplot.render:hiplot_render_main