uplot-python 1.0.0__tar.gz → 1.1.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.
Files changed (40) hide show
  1. uplot_python-1.1.1/.gitattributes +1 -0
  2. uplot_python-1.1.1/.woodpecker/changelog.yml +11 -0
  3. uplot_python-1.1.1/.woodpecker/coverage.yml +8 -0
  4. uplot_python-1.1.1/.woodpecker/lint.yml +8 -0
  5. uplot_python-1.1.1/.woodpecker/pypi.yml +9 -0
  6. uplot_python-1.1.1/.woodpecker/test.yml +14 -0
  7. uplot_python-1.1.1/CHANGELOG.md +42 -0
  8. uplot_python-1.1.1/NOTICE +5 -0
  9. {uplot_python-1.0.0 → uplot_python-1.1.1}/PKG-INFO +15 -11
  10. {uplot_python-1.0.0 → uplot_python-1.1.1}/README.md +6 -1
  11. {uplot_python-1.0.0 → uplot_python-1.1.1}/examples/left_right_axes.py +0 -1
  12. {uplot_python-1.0.0 → uplot_python-1.1.1}/examples/simple_plot.py +0 -1
  13. {uplot_python-1.0.0 → uplot_python-1.1.1}/examples/simple_plot2.py +0 -1
  14. uplot_python-1.1.1/pixi.lock +3451 -0
  15. uplot_python-1.1.1/pyproject.toml +107 -0
  16. uplot_python-1.1.1/tests/__init__.py +6 -0
  17. uplot_python-1.1.1/tests/test_color_picker.py +47 -0
  18. uplot_python-1.1.1/tests/test_exceptions.py +17 -0
  19. uplot_python-1.1.1/tests/test_generate_html.py +39 -0
  20. uplot_python-1.1.1/tests/test_plot.py +29 -0
  21. uplot_python-1.1.1/tests/test_plot2.py +61 -0
  22. uplot_python-1.1.1/tests/test_utils.py +26 -0
  23. uplot_python-1.1.1/tests/test_write_html_tempfile.py +25 -0
  24. {uplot_python-1.0.0 → uplot_python-1.1.1}/uplot/__init__.py +1 -3
  25. {uplot_python-1.0.0 → uplot_python-1.1.1}/uplot/color_picker.py +1 -3
  26. {uplot_python-1.0.0 → uplot_python-1.1.1}/uplot/exceptions.py +0 -2
  27. {uplot_python-1.0.0 → uplot_python-1.1.1}/uplot/generate_html.py +1 -2
  28. {uplot_python-1.0.0 → uplot_python-1.1.1}/uplot/plot.py +4 -3
  29. {uplot_python-1.0.0 → uplot_python-1.1.1}/uplot/plot2.py +39 -2
  30. {uplot_python-1.0.0 → uplot_python-1.1.1}/uplot/utils.py +9 -8
  31. {uplot_python-1.0.0 → uplot_python-1.1.1}/uplot/write_html_tempfile.py +0 -2
  32. uplot_python-1.0.0/CHANGELOG.md +0 -16
  33. uplot_python-1.0.0/pyproject.toml +0 -71
  34. {uplot_python-1.0.0 → uplot_python-1.1.1}/.gitignore +0 -0
  35. {uplot_python-1.0.0 → uplot_python-1.1.1}/LICENSE +0 -0
  36. {uplot_python-1.0.0 → uplot_python-1.1.1}/MANIFEST.in +0 -0
  37. {uplot_python-1.0.0 → uplot_python-1.1.1}/uplot/static/__init__.py +0 -0
  38. {uplot_python-1.0.0 → uplot_python-1.1.1}/uplot/static/uPlot.iife.js +0 -0
  39. {uplot_python-1.0.0 → uplot_python-1.1.1}/uplot/static/uPlot.min.css +0 -0
  40. {uplot_python-1.0.0 → uplot_python-1.1.1}/uplot/static/uPlot.mousewheel.js +0 -0
@@ -0,0 +1 @@
1
+ pixi.lock merge=binary linguist-language=YAML linguist-generated=true -diff
@@ -0,0 +1,11 @@
1
+ when:
2
+ - event: pull_request
3
+
4
+ steps:
5
+ - name: changelog
6
+ image: alpine/git
7
+ commands:
8
+ - git fetch --unshallow origin 2>/dev/null || true
9
+ - git fetch origin ${CI_COMMIT_TARGET_BRANCH}
10
+ - git fetch origin ${CI_COMMIT_SOURCE_BRANCH}
11
+ - git diff --name-only origin/${CI_COMMIT_TARGET_BRANCH}...origin/${CI_COMMIT_SOURCE_BRANCH} | grep -q "^CHANGELOG.md$" || (echo "CHANGELOG.md was not updated" && exit 1)
@@ -0,0 +1,8 @@
1
+ when:
2
+ - event: [push, pull_request]
3
+
4
+ steps:
5
+ - name: coverage
6
+ image: ghcr.io/prefix-dev/pixi:latest
7
+ commands:
8
+ - pixi run -e coverage coverage
@@ -0,0 +1,8 @@
1
+ when:
2
+ - event: [push, pull_request]
3
+
4
+ steps:
5
+ - name: lint
6
+ image: ghcr.io/prefix-dev/pixi:latest
7
+ commands:
8
+ - pixi run -e lint lint
@@ -0,0 +1,9 @@
1
+ when:
2
+ - event: tag
3
+
4
+ steps:
5
+ - name: pypi
6
+ image: python:3.10
7
+ commands:
8
+ - pip install uplot-python
9
+ - python -c "import uplot"
@@ -0,0 +1,14 @@
1
+ when:
2
+ - event: [push, pull_request]
3
+
4
+ matrix:
5
+ include:
6
+ - PIXI_ENV: test-py310
7
+ - PIXI_ENV: test-py311
8
+ - PIXI_ENV: test-py312
9
+
10
+ steps:
11
+ - name: test
12
+ image: ghcr.io/prefix-dev/pixi:latest
13
+ commands:
14
+ - pixi run -e ${PIXI_ENV} test
@@ -0,0 +1,42 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [Unreleased]
9
+
10
+ ## [1.1.1] - 2026-06-08
11
+
12
+ ### Added
13
+
14
+ - CICD: Set up pixi
15
+ - CICD: Start unit testing with a fixture for the color picker
16
+
17
+ ### Fixed
18
+
19
+ - Fix `ColorPicker` index error when requesting more colors than available (now wraps around)
20
+
21
+ ## [1.1.0] - 2026-05-28
22
+
23
+ ### Added
24
+
25
+ - CICD: CI workflow
26
+ - CICD: Changelog workflow
27
+ - Performance: faster serialization of large NumPy arrays to JavaScript
28
+
29
+ ### Changed
30
+
31
+ - Bump minimum Python version to 3.10 as 3.8 and 3.9 have reached end-of-life
32
+ - Migrate the project from GitHub to Codeberg
33
+
34
+ ## [1.0.0] - 2024-10-29
35
+
36
+ - Extract this project from [foxplot](https://codeberg.org/stephane-caron/foxplot)
37
+ - Start this changelog
38
+
39
+ [unreleased]: https://codeberg.org/stephane-caron/uplot-python/compare/v1.1.1...HEAD
40
+ [1.1.1]: https://codeberg.org/stephane-caron/uplot-python/releases/tag/v1.1.1
41
+ [1.1.0]: https://codeberg.org/stephane-caron/uplot-python/releases/tag/v1.1.0
42
+ [1.0.0]: https://codeberg.org/stephane-caron/uplot-python/releases/tag/v1.0.0
@@ -0,0 +1,5 @@
1
+ This project includes contributions made under the following copyrights:
2
+
3
+ - Copyright 2022 Stéphane Caron
4
+ - Copyright 2023-2024 Inria
5
+ - Copyright 2026 CNRS
@@ -1,32 +1,35 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: uplot-python
3
- Version: 1.0.0
3
+ Version: 1.1.1
4
4
  Summary: Python wrapper for μPlot time series.
5
5
  Keywords: json,time,series,plot
6
6
  Author-email: Stéphane Caron <stephane.caron@normalesup.org>
7
7
  Maintainer-email: Stéphane Caron <stephane.caron@normalesup.org>
8
- Requires-Python: >=3.8
8
+ Requires-Python: >=3.10
9
9
  Description-Content-Type: text/markdown
10
- Classifier: Development Status :: 4 - Beta
10
+ Classifier: Development Status :: 5 - Production/Stable
11
11
  Classifier: Intended Audience :: Developers
12
12
  Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
13
13
  Classifier: Operating System :: OS Independent
14
- Classifier: Programming Language :: Python :: 3.8
15
- Classifier: Programming Language :: Python :: 3.9
16
14
  Classifier: Programming Language :: Python :: 3.10
17
15
  Classifier: Programming Language :: Python :: 3.11
18
16
  Classifier: Programming Language :: Python :: 3.12
19
17
  Classifier: Topic :: Scientific/Engineering :: Mathematics
18
+ License-File: LICENSE
20
19
  Requires-Dist: ipython >=8.0.1
21
20
  Requires-Dist: msgpack >=1.0.4
22
21
  Requires-Dist: numpy >=1.15.4
23
- Project-URL: Changelog, https://github.com/stephane-caron/uplot-python/blob/master/CHANGELOG.md
24
- Project-URL: Homepage, https://github.com/stephane-caron/uplot-python
25
- Project-URL: Source, https://github.com/stephane-caron/uplot-python
26
- Project-URL: Tracker, https://github.com/stephane-caron/uplot-python/issues
22
+ Project-URL: Changelog, https://codeberg.org/stephane-caron/uplot-python/src/branch/main/CHANGELOG.md
23
+ Project-URL: Homepage, https://codeberg.org/stephane-caron/uplot-python
24
+ Project-URL: Source, https://codeberg.org/stephane-caron/uplot-python
25
+ Project-URL: Tracker, https://codeberg.org/stephane-caron/uplot-python/issues
27
26
 
28
27
  # uplot-python
29
28
 
29
+ [![CI](https://ci.codeberg.org/api/badges/17009/status.svg)](https://ci.codeberg.org/repos/17009)
30
+ [![Conda version](https://img.shields.io/conda/vn/conda-forge/uplot-python.svg)](https://anaconda.org/conda-forge/uplot-python)
31
+ [![PyPI version](https://img.shields.io/pypi/v/uplot-python)](https://pypi.org/project/uplot-python/)
32
+
30
33
  Python wrapper for [μPlot](https://github.com/leeoniya/uPlot) 📈
31
34
 
32
35
  ## Installation
@@ -75,6 +78,7 @@ uplot.plot2(
75
78
  ## See also
76
79
 
77
80
  - [µPlot](https://github.com/leeoniya/uPlot): A small (~45 KB min), fast chart for time series, lines, areas, ohlc & bars.
81
+ - [foxplot](https://codeberg.org/stephane-caron/foxplot): Plot time series from MessagePack or line-delimited JSON.
78
82
  - [Matplotlib](https://matplotlib.org/stable/): Comprehensive library for creating static, animated, and interactive visualizations.
79
- - [matplotlive](https://github.com/stephane-caron/matplotlive): Stream live plots to a Matplotlib figure.
83
+ - [matplotlive](https://codeberg.org/stephane-caron/matplotlive): Stream live plots to a Matplotlib figure.
80
84
 
@@ -1,5 +1,9 @@
1
1
  # uplot-python
2
2
 
3
+ [![CI](https://ci.codeberg.org/api/badges/17009/status.svg)](https://ci.codeberg.org/repos/17009)
4
+ [![Conda version](https://img.shields.io/conda/vn/conda-forge/uplot-python.svg)](https://anaconda.org/conda-forge/uplot-python)
5
+ [![PyPI version](https://img.shields.io/pypi/v/uplot-python)](https://pypi.org/project/uplot-python/)
6
+
3
7
  Python wrapper for [μPlot](https://github.com/leeoniya/uPlot) 📈
4
8
 
5
9
  ## Installation
@@ -48,5 +52,6 @@ uplot.plot2(
48
52
  ## See also
49
53
 
50
54
  - [µPlot](https://github.com/leeoniya/uPlot): A small (~45 KB min), fast chart for time series, lines, areas, ohlc & bars.
55
+ - [foxplot](https://codeberg.org/stephane-caron/foxplot): Plot time series from MessagePack or line-delimited JSON.
51
56
  - [Matplotlib](https://matplotlib.org/stable/): Comprehensive library for creating static, animated, and interactive visualizations.
52
- - [matplotlive](https://github.com/stephane-caron/matplotlive): Stream live plots to a Matplotlib figure.
57
+ - [matplotlive](https://codeberg.org/stephane-caron/matplotlive): Stream live plots to a Matplotlib figure.
@@ -2,7 +2,6 @@
2
2
  # -*- coding: utf-8 -*-
3
3
  #
4
4
  # SPDX-License-Identifier: Apache-2.0
5
- # Copyright 2024 Inria
6
5
 
7
6
  import numpy as np
8
7
 
@@ -2,7 +2,6 @@
2
2
  # -*- coding: utf-8 -*-
3
3
  #
4
4
  # SPDX-License-Identifier: Apache-2.0
5
- # Copyright 2024 Inria
6
5
 
7
6
  import numpy as np
8
7
 
@@ -2,7 +2,6 @@
2
2
  # -*- coding: utf-8 -*-
3
3
  #
4
4
  # SPDX-License-Identifier: Apache-2.0
5
- # Copyright 2024 Inria
6
5
 
7
6
  import numpy as np
8
7