uplot-python 1.0.0__tar.gz → 1.1.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 (39) hide show
  1. uplot_python-1.1.0/.woodpecker/changelog.yml +10 -0
  2. uplot_python-1.1.0/.woodpecker/coverage.yml +8 -0
  3. uplot_python-1.1.0/.woodpecker/lint.yml +8 -0
  4. uplot_python-1.1.0/.woodpecker/pypi.yml +9 -0
  5. uplot_python-1.1.0/.woodpecker/test.yml +14 -0
  6. uplot_python-1.1.0/CHANGELOG.md +30 -0
  7. uplot_python-1.1.0/NOTICE +4 -0
  8. {uplot_python-1.0.0 → uplot_python-1.1.0}/PKG-INFO +14 -11
  9. {uplot_python-1.0.0 → uplot_python-1.1.0}/README.md +5 -1
  10. {uplot_python-1.0.0 → uplot_python-1.1.0}/examples/left_right_axes.py +0 -1
  11. {uplot_python-1.0.0 → uplot_python-1.1.0}/examples/simple_plot.py +0 -1
  12. {uplot_python-1.0.0 → uplot_python-1.1.0}/examples/simple_plot2.py +0 -1
  13. uplot_python-1.1.0/pixi.lock +3434 -0
  14. uplot_python-1.1.0/pyproject.toml +107 -0
  15. uplot_python-1.1.0/tests/__init__.py +6 -0
  16. uplot_python-1.1.0/tests/test_color_picker.py +26 -0
  17. uplot_python-1.1.0/tests/test_exceptions.py +17 -0
  18. uplot_python-1.1.0/tests/test_generate_html.py +39 -0
  19. uplot_python-1.1.0/tests/test_plot.py +29 -0
  20. uplot_python-1.1.0/tests/test_plot2.py +61 -0
  21. uplot_python-1.1.0/tests/test_utils.py +26 -0
  22. uplot_python-1.1.0/tests/test_write_html_tempfile.py +25 -0
  23. {uplot_python-1.0.0 → uplot_python-1.1.0}/uplot/__init__.py +1 -3
  24. {uplot_python-1.0.0 → uplot_python-1.1.0}/uplot/color_picker.py +0 -2
  25. {uplot_python-1.0.0 → uplot_python-1.1.0}/uplot/exceptions.py +0 -2
  26. {uplot_python-1.0.0 → uplot_python-1.1.0}/uplot/generate_html.py +1 -2
  27. {uplot_python-1.0.0 → uplot_python-1.1.0}/uplot/plot.py +4 -3
  28. {uplot_python-1.0.0 → uplot_python-1.1.0}/uplot/plot2.py +6 -1
  29. {uplot_python-1.0.0 → uplot_python-1.1.0}/uplot/utils.py +9 -8
  30. {uplot_python-1.0.0 → uplot_python-1.1.0}/uplot/write_html_tempfile.py +0 -2
  31. uplot_python-1.0.0/CHANGELOG.md +0 -16
  32. uplot_python-1.0.0/pyproject.toml +0 -71
  33. {uplot_python-1.0.0 → uplot_python-1.1.0}/.gitignore +0 -0
  34. {uplot_python-1.0.0 → uplot_python-1.1.0}/LICENSE +0 -0
  35. {uplot_python-1.0.0 → uplot_python-1.1.0}/MANIFEST.in +0 -0
  36. {uplot_python-1.0.0 → uplot_python-1.1.0}/uplot/static/__init__.py +0 -0
  37. {uplot_python-1.0.0 → uplot_python-1.1.0}/uplot/static/uPlot.iife.js +0 -0
  38. {uplot_python-1.0.0 → uplot_python-1.1.0}/uplot/static/uPlot.min.css +0 -0
  39. {uplot_python-1.0.0 → uplot_python-1.1.0}/uplot/static/uPlot.mousewheel.js +0 -0
@@ -0,0 +1,10 @@
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 diff --name-only origin/${CI_COMMIT_TARGET_BRANCH}...HEAD | 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,30 @@
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.0] - 2026-05-28
11
+
12
+ ### Added
13
+
14
+ - CICD: CI workflow
15
+ - CICD: Changelog workflow
16
+ - Performance: faster serialization of large NumPy arrays to JavaScript
17
+
18
+ ### Changed
19
+
20
+ - Bump minimum Python version to 3.10 as 3.8 and 3.9 have reached end-of-life
21
+ - Migrate the project from GitHub to Codeberg
22
+
23
+ ## [1.0.0] - 2024-10-29
24
+
25
+ - Extract this project from [foxplot](https://codeberg.org/stephane-caron/foxplot)
26
+ - Start this changelog
27
+
28
+ [unreleased]: https://codeberg.org/stephane-caron/uplot-python/compare/v1.1.0...HEAD
29
+ [1.1.0]: https://codeberg.org/stephane-caron/uplot-python/releases/tag/v1.1.0
30
+ [1.0.0]: https://codeberg.org/stephane-caron/uplot-python/releases/tag/v1.0.0
@@ -0,0 +1,4 @@
1
+ This project includes contributions made under the following copyrights:
2
+
3
+ - Copyright 2022 Stéphane Caron
4
+ - Copyright 2023-2024 Inria
@@ -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.0
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/blob/master/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
@@ -76,5 +79,5 @@ uplot.plot2(
76
79
 
77
80
  - [µPlot](https://github.com/leeoniya/uPlot): A small (~45 KB min), fast chart for time series, lines, areas, ohlc & bars.
78
81
  - [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.
82
+ - [matplotlive](https://codeberg.org/stephane-caron/matplotlive): Stream live plots to a Matplotlib figure.
80
83
 
@@ -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
@@ -49,4 +53,4 @@ uplot.plot2(
49
53
 
50
54
  - [µPlot](https://github.com/leeoniya/uPlot): A small (~45 KB min), fast chart for time series, lines, areas, ohlc & bars.
51
55
  - [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.
56
+ - [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