polars-array-algorithms 0.1.0__tar.gz → 0.1.2__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.
- {polars_array_algorithms-0.1.0 → polars_array_algorithms-0.1.2}/.github/copilot-instructions.md +1 -1
- {polars_array_algorithms-0.1.0 → polars_array_algorithms-0.1.2}/.github/workflows/publish_to_pypi.yml +39 -2
- {polars_array_algorithms-0.1.0 → polars_array_algorithms-0.1.2}/.gitignore +1 -1
- {polars_array_algorithms-0.1.0 → polars_array_algorithms-0.1.2}/Cargo.lock +355 -171
- {polars_array_algorithms-0.1.0 → polars_array_algorithms-0.1.2}/Cargo.toml +1 -1
- {polars_array_algorithms-0.1.0 → polars_array_algorithms-0.1.2}/Makefile +2 -5
- polars_array_algorithms-0.1.2/PKG-INFO +186 -0
- {polars_array_algorithms-0.1.0 → polars_array_algorithms-0.1.2}/README.md +9 -0
- {polars_array_algorithms-0.1.0 → polars_array_algorithms-0.1.2}/polars_array_algorithms/__init__.py +54 -2
- {polars_array_algorithms-0.1.0 → polars_array_algorithms-0.1.2}/polars_array_algorithms/typing.py +3 -3
- {polars_array_algorithms-0.1.0 → polars_array_algorithms-0.1.2}/pyproject.toml +5 -0
- {polars_array_algorithms-0.1.0 → polars_array_algorithms-0.1.2}/src/lib.rs +1 -0
- polars_array_algorithms-0.1.2/src/lis.rs +273 -0
- {polars_array_algorithms-0.1.0 → polars_array_algorithms-0.1.2}/src/sweep_line.rs +154 -10
- polars_array_algorithms-0.1.2/tests/test_longest_increasing_subsequence.py +197 -0
- {polars_array_algorithms-0.1.0 → polars_array_algorithms-0.1.2}/tests/test_sweep_line_assignment.py +57 -0
- polars_array_algorithms-0.1.0/PKG-INFO +0 -8
- {polars_array_algorithms-0.1.0 → polars_array_algorithms-0.1.2}/LICENSE +0 -0
- {polars_array_algorithms-0.1.0 → polars_array_algorithms-0.1.2}/polars_array_algorithms/_internal.pyi +0 -0
- {polars_array_algorithms-0.1.0 → polars_array_algorithms-0.1.2}/requirements.txt +0 -0
- {polars_array_algorithms-0.1.0 → polars_array_algorithms-0.1.2}/rust-toolchain.toml +0 -0
- {polars_array_algorithms-0.1.0 → polars_array_algorithms-0.1.2}/rustfmt.toml +0 -0
{polars_array_algorithms-0.1.0 → polars_array_algorithms-0.1.2}/.github/copilot-instructions.md
RENAMED
|
@@ -90,4 +90,4 @@ This is a Rust + Python hybrid project implementing additional array algorithms
|
|
|
90
90
|
|
|
91
91
|
## Dependencies
|
|
92
92
|
- **Rust**: pyo3 (0.26.0), pyo3-polars (0.25.0), polars (0.52.0)
|
|
93
|
-
- **Python**: polars, maturin, pytest, ruff, mypy
|
|
93
|
+
- **Python**: polars, maturin, pytest, ruff, mypy
|
|
@@ -16,7 +16,7 @@ env:
|
|
|
16
16
|
RUSTFLAGS: "-Dwarnings"
|
|
17
17
|
|
|
18
18
|
jobs:
|
|
19
|
-
build:
|
|
19
|
+
build-linux:
|
|
20
20
|
runs-on: ubuntu-latest
|
|
21
21
|
steps:
|
|
22
22
|
- uses: actions/checkout@v4
|
|
@@ -34,6 +34,43 @@ jobs:
|
|
|
34
34
|
name: wheels-linux-x86_64
|
|
35
35
|
path: dist
|
|
36
36
|
|
|
37
|
+
build-windows:
|
|
38
|
+
runs-on: windows-latest
|
|
39
|
+
steps:
|
|
40
|
+
- uses: actions/checkout@v4
|
|
41
|
+
- uses: actions/setup-python@v5
|
|
42
|
+
with:
|
|
43
|
+
python-version: 3.x
|
|
44
|
+
- uses: PyO3/maturin-action@v1
|
|
45
|
+
with:
|
|
46
|
+
target: x86_64
|
|
47
|
+
args: --release --out dist
|
|
48
|
+
sccache: "true"
|
|
49
|
+
- uses: actions/upload-artifact@v4
|
|
50
|
+
with:
|
|
51
|
+
name: wheels-windows-x86_64
|
|
52
|
+
path: dist
|
|
53
|
+
|
|
54
|
+
build-macos:
|
|
55
|
+
runs-on: macos-latest
|
|
56
|
+
strategy:
|
|
57
|
+
matrix:
|
|
58
|
+
target: [x86_64, aarch64]
|
|
59
|
+
steps:
|
|
60
|
+
- uses: actions/checkout@v4
|
|
61
|
+
- uses: actions/setup-python@v5
|
|
62
|
+
with:
|
|
63
|
+
python-version: 3.x
|
|
64
|
+
- uses: PyO3/maturin-action@v1
|
|
65
|
+
with:
|
|
66
|
+
target: ${{ matrix.target }}
|
|
67
|
+
args: --release --out dist
|
|
68
|
+
sccache: "true"
|
|
69
|
+
- uses: actions/upload-artifact@v4
|
|
70
|
+
with:
|
|
71
|
+
name: wheels-macos-${{ matrix.target }}
|
|
72
|
+
path: dist
|
|
73
|
+
|
|
37
74
|
sdist:
|
|
38
75
|
runs-on: ubuntu-latest
|
|
39
76
|
steps:
|
|
@@ -51,7 +88,7 @@ jobs:
|
|
|
51
88
|
name: Publish to PyPI
|
|
52
89
|
runs-on: ubuntu-latest
|
|
53
90
|
if: startsWith(github.ref, 'refs/tags/')
|
|
54
|
-
needs: [build, sdist]
|
|
91
|
+
needs: [build-linux, build-windows, build-macos, sdist]
|
|
55
92
|
environment: pypi
|
|
56
93
|
permissions:
|
|
57
94
|
id-token: write
|