hilbertplot 1.0.0__tar.gz → 1.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.
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/CHANGELOG.md +13 -0
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/PKG-INFO +1 -1
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/pyproject.toml +1 -1
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/src/hilbertplot/__init__.py +1 -1
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/tests/test_robustness.py +10 -6
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/.gitignore +0 -0
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/LICENSE +0 -0
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/README.md +0 -0
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/examples/groups.py +0 -0
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/examples/plot_catalog.py +0 -0
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/examples/plot_data.py +0 -0
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/examples/readme_figures.py +0 -0
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/examples/show_curve.py +0 -0
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/examples/try_api.py +0 -0
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/scripts/build_release.sh +0 -0
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/scripts/check_release.py +0 -0
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/src/hilbertplot/_api.py +0 -0
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/src/hilbertplot/_core/__init__.py +0 -0
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/src/hilbertplot/_core/arbitrary.py +0 -0
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/src/hilbertplot/_core/catalog.py +0 -0
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/src/hilbertplot/_core/curve.py +0 -0
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/src/hilbertplot/_core/generation.py +0 -0
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/src/hilbertplot/_core/geometry.py +0 -0
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/src/hilbertplot/_core/indexing.py +0 -0
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/src/hilbertplot/_core/limits.py +0 -0
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/src/hilbertplot/_core/symmetry.py +0 -0
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/src/hilbertplot/_data/__init__.py +0 -0
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/src/hilbertplot/_data/conversion.py +0 -0
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/src/hilbertplot/_data/mapping.py +0 -0
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/src/hilbertplot/_viz/__init__.py +0 -0
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/src/hilbertplot/_viz/hilbert_plot.py +0 -0
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/src/hilbertplot/_viz/render.py +0 -0
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/src/hilbertplot/config.py +0 -0
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/src/hilbertplot/curves.py +0 -0
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/src/hilbertplot/data.py +0 -0
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/src/hilbertplot/py.typed +0 -0
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/tests/conftest.py +0 -0
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/tests/test_api.py +0 -0
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/tests/test_arbitrary.py +0 -0
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/tests/test_catalog.py +0 -0
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/tests/test_conversion.py +0 -0
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/tests/test_curve_shapes.py +0 -0
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/tests/test_data.py +0 -0
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/tests/test_geometry.py +0 -0
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/tests/test_indexing.py +0 -0
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/tests/test_performance.py +0 -0
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/tests/test_plotting.py +0 -0
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/tests/test_readme.py +0 -0
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/tests/test_symmetry.py +0 -0
- {hilbertplot-1.0.0 → hilbertplot-1.0.1}/tests/test_words.py +0 -0
|
@@ -63,6 +63,19 @@ validates `fit` instead of ignoring it.
|
|
|
63
63
|
|
|
64
64
|
<!-- version list -->
|
|
65
65
|
|
|
66
|
+
## v1.0.1 (2026-11-01)
|
|
67
|
+
|
|
68
|
+
### Bug Fixes
|
|
69
|
+
|
|
70
|
+
- Provide citation metadata for software archives
|
|
71
|
+
([`be2d92b`](https://github.com/El3ssar/hilbertplot/commit/be2d92b00b5d8ce083eec3c6c9ec5a2d9215028c))
|
|
72
|
+
|
|
73
|
+
### Testing
|
|
74
|
+
|
|
75
|
+
- Measure construction allocations without interpreter overhead
|
|
76
|
+
([`0b95704`](https://github.com/El3ssar/hilbertplot/commit/0b9570438681c47d0736415c1e74fb8522d2f04e))
|
|
77
|
+
|
|
78
|
+
|
|
66
79
|
## v1.0.0 (2026-11-01)
|
|
67
80
|
|
|
68
81
|
### Features
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: hilbertplot
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.1
|
|
4
4
|
Summary: The complete set of 40 two-dimensional Hilbert curves, and data plots on them.
|
|
5
5
|
Project-URL: Homepage, https://github.com/El3ssar/hilbertplot
|
|
6
6
|
Project-URL: Source, https://github.com/El3ssar/hilbertplot
|
|
@@ -27,7 +27,7 @@ all custom curve and plot classes are implementation details.
|
|
|
27
27
|
from . import config, curves, data
|
|
28
28
|
from ._api import gallery, plot, plot_curve
|
|
29
29
|
|
|
30
|
-
__version__ = "1.0.
|
|
30
|
+
__version__ = "1.0.1"
|
|
31
31
|
|
|
32
32
|
__all__ = ["__version__", "config", "curves", "data", "gallery", "plot", "plot_curve"]
|
|
33
33
|
|
|
@@ -542,16 +542,20 @@ def test_construction_does_not_triple_peak_memory():
|
|
|
542
542
|
import sys
|
|
543
543
|
|
|
544
544
|
script = """
|
|
545
|
-
import numpy as np,
|
|
545
|
+
import numpy as np, tracemalloc
|
|
546
546
|
from hilbertplot._viz.hilbert_plot import hilbert_plot as make_plot
|
|
547
547
|
n = 8_000_000
|
|
548
|
+
# NumPy traces its data buffers. Start after imports so interpreter overhead and
|
|
549
|
+
# inherited process high-water marks cannot masquerade as another array copy.
|
|
550
|
+
tracemalloc.start()
|
|
548
551
|
data = np.arange(n, dtype=float)
|
|
549
|
-
mib = n * 8 / 2**20
|
|
550
552
|
plot = make_plot(0, data)
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
553
|
+
current, peak = tracemalloc.get_traced_memory()
|
|
554
|
+
if current < 2 * data.nbytes:
|
|
555
|
+
raise AssertionError("NumPy data buffers were not tracked")
|
|
556
|
+
if plot.data[0] != 0.0:
|
|
557
|
+
raise AssertionError("construction changed the input")
|
|
558
|
+
print(round(peak / data.nbytes, 2))
|
|
555
559
|
"""
|
|
556
560
|
ratio = float(
|
|
557
561
|
subprocess.run(
|
|
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
|
|
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
|
|
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
|