hiplot-mm 0.0.3rc0__py3-none-any.whl → 0.0.3rc2__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.3rc2
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,64 @@ 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
 
81
+ ## Quick Start
82
+
83
+ ```bash
84
+ # Render a CSV to interactive HTML (no install needed)
85
+ uvx hiplot-mm data.csv > output.html
86
+
87
+ # Or start an interactive server
88
+ uvx --from 'hiplot-mm[server]' hiplot --port 8765
89
+ ```
90
+
91
+ ## Installation
79
92
 
80
93
  ```bash
81
- pip install -U hiplot # Or for conda users: conda install -c conda-forge hiplot
94
+ # Core package (HTML export, CLI rendering)
95
+ pip install hiplot-mm
96
+
97
+ # With Jupyter notebook support
98
+ pip install hiplot-mm[notebook]
99
+
100
+ # With web server support (hiplot command)
101
+ pip install hiplot-mm[server]
102
+
103
+ # With Streamlit support
104
+ pip install hiplot-mm[streamlit]
105
+
106
+ # Everything
107
+ pip install hiplot-mm[all]
82
108
  ```
83
109
 
84
- If you have a jupyter notebook, you can get started with something as simple as:
110
+ If you have a Jupyter notebook, you can get started with something as simple as:
85
111
 
86
112
  ```python
87
113
  import hiplot as hip
@@ -91,17 +117,46 @@ data = [{'dropout':0.1, 'lr': 0.001, 'loss': 10.0, 'optimizer': 'SGD'},
91
117
  hip.Experiment.from_iterable(data).display()
92
118
  ```
93
119
 
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)
120
+ ### [See the live result](https://mindthemath.github.io/hiplot/_static/demo/demo_basic_usage.html)
121
+ ![Result](https://raw.githubusercontent.com/mindthemath/hiplot/main/assets/notebook.png)
96
122
 
97
123
  ## Links
98
124
 
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
125
+ * Repository: https://github.com/mindthemath/hiplot
126
+ * Documentation: https://mindthemath.github.io/hiplot/
127
+ * PyPI package: https://pypi.org/project/hiplot-mm/
128
+ * Examples: https://github.com/mindthemath/hiplot/tree/main/examples
129
+ * Original blog post: https://ai.facebook.com/blog/hiplot-high-dimensional-interactive-plots-made-easy/
130
+
131
+
132
+ ## Development
133
+
134
+ To build from source:
135
+
136
+ ```bash
137
+ # Install dependencies
138
+ bun install
139
+ uv sync --all-extras
140
+
141
+ # Build JavaScript bundles
142
+ bun run build
143
+
144
+ # Build Python package
145
+ uv build
146
+
147
+ # Or use the all-in-one build script
148
+ ./build.sh
149
+ ```
150
+
151
+ **Output directories:**
152
+ - `npm-dist/` - NPM package artifacts
153
+ - `dist/` - Python wheel and sdist
154
+ - `hiplot/static/built/` - JS bundle included in Python package
155
+
156
+ **Run the dev server:**
157
+ ```bash
158
+ uv run --extra server hiplot --port 8765
159
+ ```
105
160
 
106
161
 
107
162
  ## 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=QPdoDSODRGpy39OYwTEJYX_tWV4iFI_NX3VU1K5OZSU,1579843
24
+ hiplot/static/built/streamlit_component/hiplot_streamlit.bundle.js,sha256=fT7B_j0Y2Q_W3xf7V5-V5TIVrS9JRG6t_DsCGls-LvA,1562716
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.3rc2.dist-info/licenses/LICENSE,sha256=UkEte8fOQVfqYou6rLiCngqcs8WPV_mRdhJryM8r_IU,1086
28
+ hiplot_mm-0.0.3rc2.dist-info/licenses/NOTICE,sha256=BgJexxrr6wJp6w2Sh51mRAiLn1ymNC5o6F5KrnUV8Do,11609
29
+ hiplot_mm-0.0.3rc2.dist-info/METADATA,sha256=iX4FcaOd04nqp5QM3kUBKNMhD2ejTtnS6XurtOd5M5o,7176
30
+ hiplot_mm-0.0.3rc2.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
31
+ hiplot_mm-0.0.3rc2.dist-info/entry_points.txt,sha256=0jW-wCisYUaBQntq-5xMEPhoJHNpq74wuGTBZQJi_CY,151
32
+ hiplot_mm-0.0.3rc2.dist-info/top_level.txt,sha256=J1kKpj7DXS676kMWcep6U8rHfAHrL1YQWAwhjcHMpMU,7
33
+ hiplot_mm-0.0.3rc2.dist-info/RECORD,,
@@ -1,3 +1,4 @@
1
1
  [console_scripts]
2
2
  hiplot = hiplot.server:run_server_main
3
+ hiplot-mm = hiplot.render:hiplot_render_main
3
4
  hiplot-render = hiplot.render:hiplot_render_main