figpack 0.2.40__tar.gz → 0.3.0__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.
Files changed (76) hide show
  1. {figpack-0.2.40/figpack.egg-info → figpack-0.3.0}/PKG-INFO +2 -2
  2. {figpack-0.2.40 → figpack-0.3.0}/README.md +1 -1
  3. {figpack-0.2.40 → figpack-0.3.0}/figpack/__init__.py +1 -1
  4. {figpack-0.2.40 → figpack-0.3.0}/figpack/core/_upload_bundle.py +5 -6
  5. {figpack-0.2.40 → figpack-0.3.0}/figpack/core/config.py +1 -1
  6. {figpack-0.2.40 → figpack-0.3.0/figpack.egg-info}/PKG-INFO +2 -2
  7. {figpack-0.2.40 → figpack-0.3.0}/pyproject.toml +1 -1
  8. {figpack-0.2.40 → figpack-0.3.0}/LICENSE +0 -0
  9. {figpack-0.2.40 → figpack-0.3.0}/MANIFEST.in +0 -0
  10. {figpack-0.2.40 → figpack-0.3.0}/figpack/cli.py +0 -0
  11. {figpack-0.2.40 → figpack-0.3.0}/figpack/core/__init__.py +0 -0
  12. {figpack-0.2.40 → figpack-0.3.0}/figpack/core/_bundle_utils.py +0 -0
  13. {figpack-0.2.40 → figpack-0.3.0}/figpack/core/_file_handler.py +0 -0
  14. {figpack-0.2.40 → figpack-0.3.0}/figpack/core/_save_figure.py +0 -0
  15. {figpack-0.2.40 → figpack-0.3.0}/figpack/core/_server_manager.py +0 -0
  16. {figpack-0.2.40 → figpack-0.3.0}/figpack/core/_show_view.py +0 -0
  17. {figpack-0.2.40 → figpack-0.3.0}/figpack/core/_view_figure.py +0 -0
  18. {figpack-0.2.40 → figpack-0.3.0}/figpack/core/_zarr_consolidate.py +0 -0
  19. {figpack-0.2.40 → figpack-0.3.0}/figpack/core/extension_view.py +0 -0
  20. {figpack-0.2.40 → figpack-0.3.0}/figpack/core/figpack_extension.py +0 -0
  21. {figpack-0.2.40 → figpack-0.3.0}/figpack/core/figpack_view.py +0 -0
  22. {figpack-0.2.40 → figpack-0.3.0}/figpack/core/zarr.py +0 -0
  23. {figpack-0.2.40 → figpack-0.3.0}/figpack/extensions.py +0 -0
  24. {figpack-0.2.40 → figpack-0.3.0}/figpack/figpack-figure-dist/assets/index-ST_DU17U.js +0 -0
  25. {figpack-0.2.40 → figpack-0.3.0}/figpack/figpack-figure-dist/assets/index-V5m_wCvw.css +0 -0
  26. {figpack-0.2.40 → figpack-0.3.0}/figpack/figpack-figure-dist/assets/neurosift-logo-CLsuwLMO.png +0 -0
  27. {figpack-0.2.40 → figpack-0.3.0}/figpack/figpack-figure-dist/index.html +0 -0
  28. {figpack-0.2.40 → figpack-0.3.0}/figpack/views/Box.py +0 -0
  29. {figpack-0.2.40 → figpack-0.3.0}/figpack/views/CaptionedView.py +0 -0
  30. {figpack-0.2.40 → figpack-0.3.0}/figpack/views/DataFrame.py +0 -0
  31. {figpack-0.2.40 → figpack-0.3.0}/figpack/views/Gallery.py +0 -0
  32. {figpack-0.2.40 → figpack-0.3.0}/figpack/views/GalleryItem.py +0 -0
  33. {figpack-0.2.40 → figpack-0.3.0}/figpack/views/Iframe.py +0 -0
  34. {figpack-0.2.40 → figpack-0.3.0}/figpack/views/Image.py +0 -0
  35. {figpack-0.2.40 → figpack-0.3.0}/figpack/views/LayoutItem.py +0 -0
  36. {figpack-0.2.40 → figpack-0.3.0}/figpack/views/Markdown.py +0 -0
  37. {figpack-0.2.40 → figpack-0.3.0}/figpack/views/MatplotlibFigure.py +0 -0
  38. {figpack-0.2.40 → figpack-0.3.0}/figpack/views/MountainLayout.py +0 -0
  39. {figpack-0.2.40 → figpack-0.3.0}/figpack/views/MountainLayoutItem.py +0 -0
  40. {figpack-0.2.40 → figpack-0.3.0}/figpack/views/MultiChannelTimeseries.py +0 -0
  41. {figpack-0.2.40 → figpack-0.3.0}/figpack/views/PlotlyExtension/PlotlyExtension.py +0 -0
  42. {figpack-0.2.40 → figpack-0.3.0}/figpack/views/PlotlyExtension/__init__.py +0 -0
  43. {figpack-0.2.40 → figpack-0.3.0}/figpack/views/PlotlyExtension/_plotly_extension.py +0 -0
  44. {figpack-0.2.40 → figpack-0.3.0}/figpack/views/PlotlyExtension/plotly_view.js +0 -0
  45. {figpack-0.2.40 → figpack-0.3.0}/figpack/views/Spectrogram.py +0 -0
  46. {figpack-0.2.40 → figpack-0.3.0}/figpack/views/Splitter.py +0 -0
  47. {figpack-0.2.40 → figpack-0.3.0}/figpack/views/TabLayout.py +0 -0
  48. {figpack-0.2.40 → figpack-0.3.0}/figpack/views/TabLayoutItem.py +0 -0
  49. {figpack-0.2.40 → figpack-0.3.0}/figpack/views/TimeseriesGraph.py +0 -0
  50. {figpack-0.2.40 → figpack-0.3.0}/figpack/views/__init__.py +0 -0
  51. {figpack-0.2.40 → figpack-0.3.0}/figpack.egg-info/SOURCES.txt +0 -0
  52. {figpack-0.2.40 → figpack-0.3.0}/figpack.egg-info/dependency_links.txt +0 -0
  53. {figpack-0.2.40 → figpack-0.3.0}/figpack.egg-info/entry_points.txt +0 -0
  54. {figpack-0.2.40 → figpack-0.3.0}/figpack.egg-info/requires.txt +0 -0
  55. {figpack-0.2.40 → figpack-0.3.0}/figpack.egg-info/top_level.txt +0 -0
  56. {figpack-0.2.40 → figpack-0.3.0}/setup.cfg +0 -0
  57. {figpack-0.2.40 → figpack-0.3.0}/tests/test_box.py +0 -0
  58. {figpack-0.2.40 → figpack-0.3.0}/tests/test_cli.py +0 -0
  59. {figpack-0.2.40 → figpack-0.3.0}/tests/test_core.py +0 -0
  60. {figpack-0.2.40 → figpack-0.3.0}/tests/test_dataframe.py +0 -0
  61. {figpack-0.2.40 → figpack-0.3.0}/tests/test_extension_system.py +0 -0
  62. {figpack-0.2.40 → figpack-0.3.0}/tests/test_figpack_view.py +0 -0
  63. {figpack-0.2.40 → figpack-0.3.0}/tests/test_file_handler.py +0 -0
  64. {figpack-0.2.40 → figpack-0.3.0}/tests/test_gallery.py +0 -0
  65. {figpack-0.2.40 → figpack-0.3.0}/tests/test_image.py +0 -0
  66. {figpack-0.2.40 → figpack-0.3.0}/tests/test_markdown.py +0 -0
  67. {figpack-0.2.40 → figpack-0.3.0}/tests/test_matplotlib_figure.py +0 -0
  68. {figpack-0.2.40 → figpack-0.3.0}/tests/test_multichannel_timeseries.py +0 -0
  69. {figpack-0.2.40 → figpack-0.3.0}/tests/test_plotly_figure.py +0 -0
  70. {figpack-0.2.40 → figpack-0.3.0}/tests/test_server_manager.py +0 -0
  71. {figpack-0.2.40 → figpack-0.3.0}/tests/test_spectrogram.py +0 -0
  72. {figpack-0.2.40 → figpack-0.3.0}/tests/test_splitter.py +0 -0
  73. {figpack-0.2.40 → figpack-0.3.0}/tests/test_tablayout.py +0 -0
  74. {figpack-0.2.40 → figpack-0.3.0}/tests/test_timeseries_graph.py +0 -0
  75. {figpack-0.2.40 → figpack-0.3.0}/tests/test_upload_bundle.py +0 -0
  76. {figpack-0.2.40 → figpack-0.3.0}/tests/test_view_figure.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: figpack
3
- Version: 0.2.40
3
+ Version: 0.3.0
4
4
  Summary: A Python package for creating shareable, interactive visualizations in the browser
5
5
  Author-email: Jeremy Magland <jmagland@flatironinstitute.org>
6
6
  License: Apache-2.0
@@ -133,7 +133,7 @@ If you use figpack in your research, please cite it:
133
133
 
134
134
  Or in APA format:
135
135
 
136
- > Magland, J. (2025). figpack (Version 0.2.40) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.17419621
136
+ > Magland, J. (2025). figpack (Version 0.3.0) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.17419621
137
137
 
138
138
  ## Contributing
139
139
 
@@ -57,7 +57,7 @@ If you use figpack in your research, please cite it:
57
57
 
58
58
  Or in APA format:
59
59
 
60
- > Magland, J. (2025). figpack (Version 0.2.40) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.17419621
60
+ > Magland, J. (2025). figpack (Version 0.3.0) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.17419621
61
61
 
62
62
  ## Contributing
63
63
 
@@ -2,7 +2,7 @@
2
2
  figpack - A Python package for creating shareable, interactive visualizations in the browser
3
3
  """
4
4
 
5
- __version__ = "0.2.40"
5
+ __version__ = "0.3.0"
6
6
 
7
7
  from .cli import view_figure
8
8
  from .core import FigpackView, FigpackExtension, ExtensionView
@@ -39,7 +39,7 @@ def _get_batch_signed_urls(figure_url: str, files_batch: list, api_key: str) ->
39
39
  "apiKey": api_key,
40
40
  }
41
41
 
42
- response = requests.post(f"{FIGPACK_API_BASE_URL}/api/upload", json=payload)
42
+ response = requests.post(f"{FIGPACK_API_BASE_URL}/upload", json=payload)
43
43
 
44
44
  if not response.ok:
45
45
  try:
@@ -169,7 +169,8 @@ def _create_or_get_figure(
169
169
  payload["sourceUrl"] = source_url
170
170
 
171
171
  # Use the same endpoint for both regular and ephemeral figures
172
- response = requests.post(f"{FIGPACK_API_BASE_URL}/api/figures/create", json=payload)
172
+ url = f"{FIGPACK_API_BASE_URL}/figures/create"
173
+ response = requests.post(url, json=payload)
173
174
 
174
175
  if not response.ok:
175
176
  try:
@@ -200,9 +201,7 @@ def _finalize_figure(figure_url: str, api_key: str) -> dict:
200
201
  "apiKey": api_key,
201
202
  }
202
203
 
203
- response = requests.post(
204
- f"{FIGPACK_API_BASE_URL}/api/figures/finalize", json=payload
205
- )
204
+ response = requests.post(f"{FIGPACK_API_BASE_URL}/figures/finalize", json=payload)
206
205
 
207
206
  if not response.ok:
208
207
  try:
@@ -416,7 +415,7 @@ def get_figure_by_source_url(source_url: str) -> Optional[str]:
416
415
  payload = {"sourceUrl": source_url}
417
416
 
418
417
  response = requests.post(
419
- f"{FIGPACK_API_BASE_URL}/api/figures/find-by-source-url", json=payload
418
+ f"{FIGPACK_API_BASE_URL}/figures/find-by-source-url", json=payload
420
419
  )
421
420
 
422
421
  if not response.ok:
@@ -1,7 +1,7 @@
1
1
  import os
2
2
 
3
3
  FIGPACK_API_BASE_URL = os.getenv(
4
- "FIGPACK_API_BASE_URL", "https://figpack-api.vercel.app"
4
+ "FIGPACK_API_BASE_URL", "https://figpack-api.figpack.org"
5
5
  )
6
6
 
7
7
  FIGPACK_BUCKET = os.getenv("FIGPACK_BUCKET", "figpack-figures")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: figpack
3
- Version: 0.2.40
3
+ Version: 0.3.0
4
4
  Summary: A Python package for creating shareable, interactive visualizations in the browser
5
5
  Author-email: Jeremy Magland <jmagland@flatironinstitute.org>
6
6
  License: Apache-2.0
@@ -133,7 +133,7 @@ If you use figpack in your research, please cite it:
133
133
 
134
134
  Or in APA format:
135
135
 
136
- > Magland, J. (2025). figpack (Version 0.2.40) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.17419621
136
+ > Magland, J. (2025). figpack (Version 0.3.0) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.17419621
137
137
 
138
138
  ## Contributing
139
139
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "figpack"
7
- version = "0.2.40"
7
+ version = "0.3.0"
8
8
  description = "A Python package for creating shareable, interactive visualizations in the browser"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.8"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes