mirror of
https://github.com/Cian-H/read_aconity_layers.git
synced 2026-08-09 15:03:22 +01:00
Compare commits
54
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9471ca427a | ||
|
|
3c991f9315 | ||
|
|
a12927e511 | ||
|
|
3a9285be56 | ||
|
|
5f098185dc | ||
|
|
c3ba06ceba | ||
|
|
706513ece9 | ||
|
|
f626f64750 | ||
|
|
a8979da292 | ||
|
|
ea80b0a544 | ||
|
|
ab0d54d369 | ||
|
|
5305429dc5 | ||
|
|
63ffe2c77d | ||
|
|
18c1a1a8e0 | ||
|
|
837071ab3c | ||
|
|
f8af49cb25 | ||
|
|
ea8349484f | ||
|
|
9e257c8d46 | ||
|
|
b60d1a76e2 | ||
|
|
d8f5ea56e4 | ||
|
|
b4a8e5c80c | ||
|
|
9cbd1776e3 | ||
|
|
f806abf3ac | ||
|
|
e1024eb042 | ||
|
|
5908b58422 | ||
|
|
c18bc34adc | ||
|
|
c7770d25a4 | ||
|
|
0c6f46e352 | ||
|
|
aac57bfba2 | ||
|
|
8713378197 | ||
|
|
3ea7fc1840 | ||
|
|
fb9c40ac66 | ||
|
|
a952000f89 | ||
|
|
8ed1ec8baf | ||
|
|
1d60b7c76b | ||
|
|
dcca2a2133 | ||
|
|
de68418e30 | ||
|
|
2ffd3c6293 | ||
|
|
94d670cca1 | ||
|
|
0785625a6a | ||
|
|
203b25591a | ||
|
|
d8e877634b | ||
|
|
47a060d5f8 | ||
|
|
d4e62ac908 | ||
|
|
58b9bb36b7 | ||
|
|
aaab60122b | ||
|
|
247def7e4f | ||
|
|
9fff7197ac | ||
|
|
a73adb1a9a | ||
|
|
777b8df8dd | ||
|
|
378fe38f36 | ||
|
|
f5d386b046 | ||
|
|
0c6a28c63c | ||
|
|
7ccb11609a |
@@ -0,0 +1,11 @@
|
|||||||
|
[target.x86_64-apple-darwin]
|
||||||
|
rustflags = [
|
||||||
|
"-C", "link-arg=-undefined",
|
||||||
|
"-C", "link-arg=dynamic_lookup",
|
||||||
|
]
|
||||||
|
|
||||||
|
[target.aarch64-apple-darwin]
|
||||||
|
rustflags = [
|
||||||
|
"-C", "link-arg=-undefined",
|
||||||
|
"-C", "link-arg=dynamic_lookup",
|
||||||
|
]
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
*.npz filter=lfs diff=lfs merge=lfs -text
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
* @Cian-H
|
||||||
+12
-4
@@ -2,6 +2,10 @@ version: 2
|
|||||||
updates:
|
updates:
|
||||||
- package-ecosystem: "cargo"
|
- package-ecosystem: "cargo"
|
||||||
directory: "/"
|
directory: "/"
|
||||||
|
groups:
|
||||||
|
rust-dependencies:
|
||||||
|
patterns:
|
||||||
|
- "*"
|
||||||
schedule:
|
schedule:
|
||||||
interval: "weekly"
|
interval: "weekly"
|
||||||
day: "monday"
|
day: "monday"
|
||||||
@@ -9,8 +13,6 @@ updates:
|
|||||||
open-pull-requests-limit: 10
|
open-pull-requests-limit: 10
|
||||||
allow:
|
allow:
|
||||||
- dependency-type: "all"
|
- dependency-type: "all"
|
||||||
reviewers:
|
|
||||||
- "Cian-H"
|
|
||||||
assignees:
|
assignees:
|
||||||
- "Cian-H"
|
- "Cian-H"
|
||||||
commit-message:
|
commit-message:
|
||||||
@@ -19,6 +21,10 @@ updates:
|
|||||||
|
|
||||||
- package-ecosystem: "pip"
|
- package-ecosystem: "pip"
|
||||||
directory: "/"
|
directory: "/"
|
||||||
|
groups:
|
||||||
|
python-dependencies:
|
||||||
|
patterns:
|
||||||
|
- "*"
|
||||||
schedule:
|
schedule:
|
||||||
interval: "weekly"
|
interval: "weekly"
|
||||||
day: "monday"
|
day: "monday"
|
||||||
@@ -26,8 +32,6 @@ updates:
|
|||||||
open-pull-requests-limit: 10
|
open-pull-requests-limit: 10
|
||||||
allow:
|
allow:
|
||||||
- dependency-type: "all"
|
- dependency-type: "all"
|
||||||
reviewers:
|
|
||||||
- "Cian-H"
|
|
||||||
assignees:
|
assignees:
|
||||||
- "Cian-H"
|
- "Cian-H"
|
||||||
commit-message:
|
commit-message:
|
||||||
@@ -36,6 +40,10 @@ updates:
|
|||||||
include: "scope"
|
include: "scope"
|
||||||
|
|
||||||
- package-ecosystem: "github-actions"
|
- package-ecosystem: "github-actions"
|
||||||
|
groups:
|
||||||
|
action-dependencies:
|
||||||
|
patterns:
|
||||||
|
- "*"
|
||||||
directory: "/"
|
directory: "/"
|
||||||
schedule:
|
schedule:
|
||||||
interval: "weekly"
|
interval: "weekly"
|
||||||
|
|||||||
+21
-19
@@ -11,7 +11,7 @@ on:
|
|||||||
- main
|
- main
|
||||||
- master
|
- master
|
||||||
tags:
|
tags:
|
||||||
- '*'
|
- "*"
|
||||||
pull_request:
|
pull_request:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
@@ -37,8 +37,8 @@ jobs:
|
|||||||
- runner: ubuntu-22.04
|
- runner: ubuntu-22.04
|
||||||
target: ppc64le
|
target: ppc64le
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v5
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v6
|
||||||
with:
|
with:
|
||||||
python-version: 3.x
|
python-version: 3.x
|
||||||
- name: Build wheels
|
- name: Build wheels
|
||||||
@@ -52,7 +52,7 @@ jobs:
|
|||||||
uses: PyO3/maturin-action@v1
|
uses: PyO3/maturin-action@v1
|
||||||
with:
|
with:
|
||||||
target: ${{ matrix.platform.target }}
|
target: ${{ matrix.platform.target }}
|
||||||
args: --release --out dist -i python3.13t
|
args: --release --out dist -i python3.14t
|
||||||
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
||||||
manylinux: auto
|
manylinux: auto
|
||||||
- name: Upload wheels
|
- name: Upload wheels
|
||||||
@@ -75,8 +75,8 @@ jobs:
|
|||||||
- runner: ubuntu-22.04
|
- runner: ubuntu-22.04
|
||||||
target: armv7
|
target: armv7
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v5
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v6
|
||||||
with:
|
with:
|
||||||
python-version: 3.x
|
python-version: 3.x
|
||||||
- name: Build wheels
|
- name: Build wheels
|
||||||
@@ -90,7 +90,7 @@ jobs:
|
|||||||
uses: PyO3/maturin-action@v1
|
uses: PyO3/maturin-action@v1
|
||||||
with:
|
with:
|
||||||
target: ${{ matrix.platform.target }}
|
target: ${{ matrix.platform.target }}
|
||||||
args: --release --out dist -i python3.13t
|
args: --release --out dist -i python3.14t
|
||||||
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
||||||
manylinux: musllinux_1_2
|
manylinux: musllinux_1_2
|
||||||
- name: Upload wheels
|
- name: Upload wheels
|
||||||
@@ -109,8 +109,8 @@ jobs:
|
|||||||
- runner: windows-latest
|
- runner: windows-latest
|
||||||
target: x86
|
target: x86
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v5
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v6
|
||||||
with:
|
with:
|
||||||
python-version: 3.x
|
python-version: 3.x
|
||||||
architecture: ${{ matrix.platform.target }}
|
architecture: ${{ matrix.platform.target }}
|
||||||
@@ -125,7 +125,7 @@ jobs:
|
|||||||
# uses: PyO3/maturin-action@v1
|
# uses: PyO3/maturin-action@v1
|
||||||
# with:
|
# with:
|
||||||
# target: ${{ matrix.platform.target }}
|
# target: ${{ matrix.platform.target }}
|
||||||
# args: --release --out dist -i python3.13t
|
# args: --release --out dist -i python3.14t
|
||||||
# sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
# sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
||||||
- name: Upload wheels
|
- name: Upload wheels
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
@@ -138,13 +138,15 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
platform:
|
platform:
|
||||||
- runner: macos-13
|
|
||||||
target: x86_64
|
|
||||||
- runner: macos-14
|
- runner: macos-14
|
||||||
target: aarch64
|
target: aarch64
|
||||||
|
- runner: macos-15
|
||||||
|
target: aarch64
|
||||||
|
- runner: macos-15-intel
|
||||||
|
target: aarch64
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v5
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v6
|
||||||
with:
|
with:
|
||||||
python-version: 3.x
|
python-version: 3.x
|
||||||
- name: Build wheels
|
- name: Build wheels
|
||||||
@@ -157,7 +159,7 @@ jobs:
|
|||||||
uses: PyO3/maturin-action@v1
|
uses: PyO3/maturin-action@v1
|
||||||
with:
|
with:
|
||||||
target: ${{ matrix.platform.target }}
|
target: ${{ matrix.platform.target }}
|
||||||
args: --release --out dist -i python3.13t
|
args: --release --out dist -i python3.14t
|
||||||
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
||||||
- name: Upload wheels
|
- name: Upload wheels
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
@@ -168,7 +170,7 @@ jobs:
|
|||||||
sdist:
|
sdist:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v5
|
||||||
- name: Build sdist
|
- name: Build sdist
|
||||||
uses: PyO3/maturin-action@v1
|
uses: PyO3/maturin-action@v1
|
||||||
with:
|
with:
|
||||||
@@ -193,11 +195,11 @@ jobs:
|
|||||||
# Used to generate artifact attestation
|
# Used to generate artifact attestation
|
||||||
attestations: write
|
attestations: write
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v5
|
||||||
- name: Generate artifact attestation
|
- name: Generate artifact attestation
|
||||||
uses: actions/attest-build-provenance@v2
|
uses: actions/attest-build-provenance@v3
|
||||||
with:
|
with:
|
||||||
subject-path: 'wheels-*/*'
|
subject-path: "wheels-*/*"
|
||||||
- name: Publish to PyPI
|
- name: Publish to PyPI
|
||||||
if: ${{ startsWith(github.ref, 'refs/tags/') }}
|
if: ${{ startsWith(github.ref, 'refs/tags/') }}
|
||||||
uses: PyO3/maturin-action@v1
|
uses: PyO3/maturin-action@v1
|
||||||
|
|||||||
@@ -9,44 +9,40 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build-python:
|
build-python:
|
||||||
|
|
||||||
name: Build python package for ${{ matrix.os }} with Python ${{ matrix.python-version }} via Poetry ${{ matrix.poetry-version }}
|
name: Build python package for ${{ matrix.os }} with Python ${{ matrix.python-version }} via uv
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
python-version: ["3.11", "3.12", "3.13"]
|
python-version: ["3.11", "3.12", "3.13", "3.14"]
|
||||||
os: [ubuntu-latest, windows-latest]
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||||
poetry-version: ["latest"]
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v5
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v6
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
- name: Set up uv
|
||||||
|
uses: astral-sh/setup-uv@v5
|
||||||
|
with:
|
||||||
|
enable-cache: true
|
||||||
- name: Install Act dependencies
|
- name: Install Act dependencies
|
||||||
if: ${{ env.ACT }}
|
if: ${{ env.ACT }}
|
||||||
run: |
|
run: |
|
||||||
apt-get update && apt-get install sudo -y cargo
|
apt-get update && apt-get install sudo -y cargo
|
||||||
- name: Run poetry image
|
|
||||||
uses: abatilo/actions-poetry@v4
|
|
||||||
with:
|
|
||||||
poetry-version: ${{ matrix.poetry-version }}
|
|
||||||
- name: Ensure lockfile is updated
|
|
||||||
run: |
|
|
||||||
poetry lock
|
|
||||||
- name: Install python dependencies
|
- name: Install python dependencies
|
||||||
run: |
|
run: |
|
||||||
poetry install
|
uv sync --group dev
|
||||||
- name: Build rust package
|
- name: Build rust package
|
||||||
run: |
|
run: |
|
||||||
poetry run maturin develop
|
uv run maturin develop
|
||||||
- name: Test with pytest
|
- name: Test with pytest
|
||||||
env:
|
env:
|
||||||
PYTEST_ADDOPTS: "--cov read_aconity_layers --cov-report=lcov"
|
PYTEST_ADDOPTS: "--cov read_aconity_layers --cov-report=lcov"
|
||||||
run: |
|
run: |
|
||||||
poetry run pytest
|
uv run pytest
|
||||||
|
|
||||||
- name: Upload coverage to Coveralls
|
- name: Upload coverage to Coveralls
|
||||||
uses: coverallsapp/github-action@master
|
uses: coverallsapp/github-action@master
|
||||||
|
|||||||
@@ -17,14 +17,14 @@ jobs:
|
|||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, windows-latest]
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v5
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v6
|
||||||
with:
|
with:
|
||||||
python-version: "3.12"
|
python-version: "3.14"
|
||||||
- name: Install Act dependencies
|
- name: Install Act dependencies
|
||||||
if: ${{ env.ACT }}
|
if: ${{ env.ACT }}
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v5
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
@@ -33,20 +33,20 @@ jobs:
|
|||||||
echo "TAG_EXISTS=true" >> $GITHUB_ENV
|
echo "TAG_EXISTS=true" >> $GITHUB_ENV
|
||||||
else
|
else
|
||||||
echo "TAG_EXISTS=false" >> $GITHUB_ENV
|
echo "TAG_EXISTS=false" >> $GITHUB_ENV
|
||||||
|
echo "VERSION=$VERSION" >> $GITHUB_ENV
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Create and Push Git Tag
|
- name: Create and Push Git Tag
|
||||||
if: env.TAG_EXISTS == 'false'
|
if: env.TAG_EXISTS == 'false'
|
||||||
run: |
|
run: |
|
||||||
VERSION=${{ fromJson(steps.info.outputs.object).package.version }}
|
|
||||||
git config --global user.name "github-actions[bot]"
|
git config --global user.name "github-actions[bot]"
|
||||||
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
git tag "$VERSION"
|
git tag "${{ env.VERSION }}"
|
||||||
git push origin "$VERSION"
|
git push origin "${{ env.VERSION }}"
|
||||||
|
|
||||||
- name: Trigger Release Workflow
|
- name: Trigger Release Workflow
|
||||||
if: env.TAG_EXISTS == 'false'
|
if: env.TAG_EXISTS == 'false'
|
||||||
uses: actions/github-script@v7
|
uses: actions/github-script@v8
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
script: |
|
script: |
|
||||||
@@ -54,5 +54,5 @@ jobs:
|
|||||||
owner: context.repo.owner,
|
owner: context.repo.owner,
|
||||||
repo: context.repo.repo,
|
repo: context.repo.repo,
|
||||||
workflow_id: 'CI.yml',
|
workflow_id: 'CI.yml',
|
||||||
ref: 'main'
|
ref: '${{ env.VERSION }}' // <-- This is the key change!
|
||||||
})
|
})
|
||||||
|
|||||||
+40
-51
@@ -1,67 +1,56 @@
|
|||||||
default_language_version:
|
default_language_version:
|
||||||
python: python3.12
|
python: python3.13
|
||||||
|
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
||||||
rev: v0.11.11
|
|
||||||
hooks:
|
|
||||||
- id: ruff
|
|
||||||
types: [python]
|
|
||||||
exclude: docs/
|
|
||||||
- id: ruff-format
|
|
||||||
types: [python]
|
|
||||||
|
|
||||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
||||||
rev: v1.15.0
|
|
||||||
hooks:
|
|
||||||
- id: mypy
|
|
||||||
types: [python]
|
|
||||||
exclude: docs/
|
|
||||||
|
|
||||||
- repo: https://github.com/doublify/pre-commit-rust
|
- repo: https://github.com/doublify/pre-commit-rust
|
||||||
rev: v1.0
|
rev: v1.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: fmt
|
- id: fmt
|
||||||
- id: cargo-check
|
- id: cargo-check
|
||||||
|
|
||||||
- repo: https://github.com/python-poetry/poetry
|
- repo: https://github.com/astral-sh/uv-pre-commit
|
||||||
rev: "2.1.3"
|
rev: 0.11.22
|
||||||
hooks:
|
hooks:
|
||||||
- id: poetry-check
|
- id: uv-lock
|
||||||
- id: poetry-install
|
- id: uv-export
|
||||||
- id: poetry-lock
|
|
||||||
|
|
||||||
- repo: https://github.com/python-poetry/poetry-plugin-export
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||||
rev: 1.9.0
|
rev: v0.15.18
|
||||||
hooks:
|
hooks:
|
||||||
- id: poetry-export
|
- id: ruff-check
|
||||||
args: ["-f", "requirements.txt", "-o", "./requirements.txt"]
|
exclude: docs/
|
||||||
|
- id: ruff-format
|
||||||
|
|
||||||
|
- repo: https://github.com/astral-sh/ty-pre-commit
|
||||||
|
rev: v0.0.51
|
||||||
|
hooks:
|
||||||
|
- id: ty
|
||||||
|
|
||||||
- repo: local
|
- repo: local
|
||||||
hooks:
|
hooks:
|
||||||
- id: build-readme
|
- id: build-readme
|
||||||
name: build-readme
|
name: build-readme
|
||||||
entry: |
|
entry: |
|
||||||
bash -c 'cat docs/readme_top.rst docs/readme_bottom.rst > README.rst'
|
bash -c 'cat docs/readme_top.rst docs/readme_bottom.rst > README.rst'
|
||||||
language: system
|
language: system
|
||||||
files: 'docs/readme*.rst'
|
files: "docs/readme*.rst"
|
||||||
|
|
||||||
- repo: local
|
- repo: local
|
||||||
hooks:
|
hooks:
|
||||||
- id: version-bump-check
|
- id: version-bump-check
|
||||||
name: version-bump-check
|
name: version-bump-check
|
||||||
entry: |
|
entry: |
|
||||||
bash -c '
|
bash -c '
|
||||||
current_version=$(grep "^version = " Cargo.toml | sed "s/version = \"\(.*\)\"/\1/");
|
current_version=$(grep "^version = " Cargo.toml | sed "s/version = \"\(.*\)\"/\1/");
|
||||||
git fetch origin main 2>/dev/null || true;
|
git fetch origin main 2>/dev/null || true;
|
||||||
remote_version=$(git show origin/main:Cargo.toml 2>/dev/null | grep "^version = " | sed "s/version = \"\(.*\)\"/\1/" || echo "0.0.0");
|
remote_version=$(git show origin/main:Cargo.toml 2>/dev/null | grep "^version = " | sed "s/version = \"\(.*\)\"/\1/" || echo "0.0.0");
|
||||||
if [ "$current_version" = "$remote_version" ]; then
|
if [ "$current_version" = "$remote_version" ]; then
|
||||||
echo "❌ Version must be bumped before push! Run: cargo bump patch|minor|major";
|
echo "❌ Version must be bumped before push! Run: cargo bump patch|minor|major";
|
||||||
echo "Local: $current_version, Remote: $remote_version";
|
echo "Local: $current_version, Remote: $remote_version";
|
||||||
exit 1;
|
exit 1;
|
||||||
fi;
|
fi;
|
||||||
echo "✅ Version bumped: $remote_version -> $current_version"
|
echo "✅ Version bumped: $remote_version -> $current_version"
|
||||||
'
|
'
|
||||||
language: system
|
language: system
|
||||||
files: 'Cargo\.toml$'
|
files: 'Cargo\.toml$'
|
||||||
stages: [pre-push]
|
stages: [pre-push]
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
3.14
|
||||||
+4
-4
@@ -7,13 +7,13 @@ build:
|
|||||||
rust: "1.86"
|
rust: "1.86"
|
||||||
jobs:
|
jobs:
|
||||||
pre_create_environment:
|
pre_create_environment:
|
||||||
- asdf plugin add poetry
|
- asdf plugin add uv
|
||||||
- asdf install poetry latest
|
- asdf install uv latest
|
||||||
- asdf global poetry latest
|
- asdf global uv latest
|
||||||
- asdf plugin add just
|
- asdf plugin add just
|
||||||
- asdf install just latest
|
- asdf install just latest
|
||||||
- asdf global just latest
|
- asdf global just latest
|
||||||
create_environment:
|
create_environment:
|
||||||
- poetry install --with dev,docs
|
- uv sync --group dev --group docs
|
||||||
install:
|
install:
|
||||||
- PATH="$PATH:$HOME/.asdf/installs/rust/1.86.0/bin" just docs html_out $READTHEDOCS_OUTPUT
|
- PATH="$PATH:$HOME/.asdf/installs/rust/1.86.0/bin" just docs html_out $READTHEDOCS_OUTPUT
|
||||||
|
|||||||
+3
-3
@@ -1,7 +1,7 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "read_aconity_layers"
|
name = "read_aconity_layers"
|
||||||
version = "0.4.7+2"
|
version = "0.5.0"
|
||||||
edition = "2021"
|
edition = "2024"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "read_aconity_layers"
|
name = "read_aconity_layers"
|
||||||
@@ -11,7 +11,7 @@ crate-type = ["cdylib"]
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
csv = "1.3.0"
|
csv = "1.3.0"
|
||||||
glob = "0.3.2"
|
glob = "0.3.2"
|
||||||
indicatif = "0.17.8"
|
indicatif = "0.18.0"
|
||||||
ndarray = { version = "0.16.1", features = ["rayon"] }
|
ndarray = { version = "0.16.1", features = ["rayon"] }
|
||||||
numpy = "0.25.0"
|
numpy = "0.25.0"
|
||||||
pyo3 = { version = "0.25.0", features = ["abi3-py311", "extension-module"] }
|
pyo3 = { version = "0.25.0", features = ["abi3-py311", "extension-module"] }
|
||||||
|
|||||||
+66
-28
@@ -3,10 +3,11 @@
|
|||||||
"devenv": {
|
"devenv": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"dir": "src/modules",
|
"dir": "src/modules",
|
||||||
"lastModified": 1748361913,
|
"lastModified": 1781800860,
|
||||||
|
"narHash": "sha256-LrEo0eC5ckMvjpBRCuk5q5/vjItKlxnb4n/clHNRZlk=",
|
||||||
"owner": "cachix",
|
"owner": "cachix",
|
||||||
"repo": "devenv",
|
"repo": "devenv",
|
||||||
"rev": "b510085f1ca92779782d1e3de631b2292a30edb2",
|
"rev": "d59d872d80876d9eeb3e214d3b088bc4a14a9c4f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -19,14 +20,15 @@
|
|||||||
"flake-compat": {
|
"flake-compat": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1747046372,
|
"lastModified": 1767039857,
|
||||||
"owner": "edolstra",
|
"narHash": "sha256-vNpUSpF5Nuw8xvDLj2KCwwksIbjua2LZCqhV1LNRDns=",
|
||||||
|
"owner": "NixOS",
|
||||||
"repo": "flake-compat",
|
"repo": "flake-compat",
|
||||||
"rev": "9100a0f413b0c601e0533d1d94ffd501ce2e7885",
|
"rev": "5edf11c44bc78a0d334f6334cdaf7d60d732daab",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "edolstra",
|
"owner": "NixOS",
|
||||||
"repo": "flake-compat",
|
"repo": "flake-compat",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
@@ -34,10 +36,11 @@
|
|||||||
"flake-compat_2": {
|
"flake-compat_2": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1747046372,
|
"lastModified": 1767039857,
|
||||||
|
"narHash": "sha256-vNpUSpF5Nuw8xvDLj2KCwwksIbjua2LZCqhV1LNRDns=",
|
||||||
"owner": "edolstra",
|
"owner": "edolstra",
|
||||||
"repo": "flake-compat",
|
"repo": "flake-compat",
|
||||||
"rev": "9100a0f413b0c601e0533d1d94ffd501ce2e7885",
|
"rev": "5edf11c44bc78a0d334f6334cdaf7d60d732daab",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -50,15 +53,14 @@
|
|||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-compat": "flake-compat",
|
"flake-compat": "flake-compat",
|
||||||
"gitignore": "gitignore",
|
"gitignore": "gitignore",
|
||||||
"nixpkgs": [
|
"nixpkgs": "nixpkgs"
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1747372754,
|
"lastModified": 1781733627,
|
||||||
|
"narHash": "sha256-U3yTuGBnmXvXoQI3qkpfEDsn9RovQPAjN7ndRco+3u0=",
|
||||||
"owner": "cachix",
|
"owner": "cachix",
|
||||||
"repo": "git-hooks.nix",
|
"repo": "git-hooks.nix",
|
||||||
"rev": "80479b6ec16fefd9c1db3ea13aeb038c60530f46",
|
"rev": "3bbec39bc90eadfa031e6f3b77272f3f60803e39",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -76,6 +78,7 @@
|
|||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1709087332,
|
"lastModified": 1709087332,
|
||||||
|
"narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=",
|
||||||
"owner": "hercules-ci",
|
"owner": "hercules-ci",
|
||||||
"repo": "gitignore.nix",
|
"repo": "gitignore.nix",
|
||||||
"rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
|
"rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
|
||||||
@@ -89,16 +92,17 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1746807397,
|
"lastModified": 1770073757,
|
||||||
"owner": "cachix",
|
"narHash": "sha256-Vy+G+F+3E/Tl+GMNgiHl9Pah2DgShmIUBJXmbiQPHbI=",
|
||||||
"repo": "devenv-nixpkgs",
|
"owner": "NixOS",
|
||||||
"rev": "c5208b594838ea8e6cca5997fbf784b7cca1ca90",
|
"repo": "nixpkgs",
|
||||||
|
"rev": "47472570b1e607482890801aeaf29bfb749884f6",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "cachix",
|
"owner": "NixOS",
|
||||||
"ref": "rolling",
|
"ref": "nixpkgs-unstable",
|
||||||
"repo": "devenv-nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -110,10 +114,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1746223523,
|
"lastModified": 1781070343,
|
||||||
|
"narHash": "sha256-wXAybU+2LlbXm9cfRDHRPASakq60rLvZBXVT2Ahkj1U=",
|
||||||
"owner": "cachix",
|
"owner": "cachix",
|
||||||
"repo": "nixpkgs-python",
|
"repo": "nixpkgs-python",
|
||||||
"rev": "3f5f1dbe0122a1741907aa5ab76f7337ffcd2ccb",
|
"rev": "23629493653be6df0472a46b1be1d65cbd6df55b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -122,18 +127,51 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nixpkgs-src": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1781454065,
|
||||||
|
"narHash": "sha256-d2xfDjnfRuf/xYGdu9VVRHiav/2w5hDL/5cw2TuVAXw=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "9eac87a12312b8f60dd52e1c6e1a265f6fc7f5fc",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixpkgs-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs_2": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs-src": "nixpkgs-src"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1781620901,
|
||||||
|
"narHash": "sha256-UF6scQlG+6lRkZBUpn/3KNavhOo5G8kDWhjVHcno8uc=",
|
||||||
|
"owner": "cachix",
|
||||||
|
"repo": "devenv-nixpkgs",
|
||||||
|
"rev": "2df109b343d3c68efd752e32a444a1d9b9f89afa",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "cachix",
|
||||||
|
"ref": "rolling",
|
||||||
|
"repo": "devenv-nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"devenv": "devenv",
|
"devenv": "devenv",
|
||||||
"git-hooks": "git-hooks",
|
"git-hooks": "git-hooks",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs_2",
|
||||||
"nixpkgs-python": "nixpkgs-python",
|
"nixpkgs-python": "nixpkgs-python"
|
||||||
"pre-commit-hooks": [
|
|
||||||
"git-hooks"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"root": "root",
|
"root": "root",
|
||||||
"version": 7
|
"version": 7
|
||||||
}
|
}
|
||||||
+10
-2
@@ -9,20 +9,28 @@
|
|||||||
act
|
act
|
||||||
cargo-bump
|
cargo-bump
|
||||||
git
|
git
|
||||||
|
git-lfs
|
||||||
|
pre-commit
|
||||||
ruff
|
ruff
|
||||||
];
|
];
|
||||||
|
|
||||||
env.NIX_LD_LIBRARY_PATH = lib.makeLibraryPath (with pkgs; [
|
env.NIX_LD_LIBRARY_PATH = lib.makeLibraryPath (with pkgs; [
|
||||||
stdenv.cc.cc
|
stdenv.cc.cc
|
||||||
|
zlib
|
||||||
]);
|
]);
|
||||||
env.NIX_LD = lib.fileContents "${pkgs.stdenv.cc}/nix-support/dynamic-linker";
|
env.NIX_LD = lib.fileContents "${pkgs.stdenv.cc}/nix-support/dynamic-linker";
|
||||||
|
|
||||||
|
enterShell = ''
|
||||||
|
unset PYTHONPATH
|
||||||
|
'';
|
||||||
|
|
||||||
languages = {
|
languages = {
|
||||||
python = {
|
python = {
|
||||||
version = "3.13";
|
version = "3.14";
|
||||||
enable = true;
|
enable = true;
|
||||||
poetry = {
|
uv = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
sync.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -7,5 +7,7 @@ inputs:
|
|||||||
inputs:
|
inputs:
|
||||||
nixpkgs:
|
nixpkgs:
|
||||||
follows: nixpkgs
|
follows: nixpkgs
|
||||||
|
git-hooks:
|
||||||
|
url: github:cachix/git-hooks.nix
|
||||||
|
|
||||||
impure: true
|
impure: true
|
||||||
|
|||||||
+16
-18
@@ -14,7 +14,7 @@ Prerequisites
|
|||||||
|
|
||||||
- Rust 1.70+ with Cargo
|
- Rust 1.70+ with Cargo
|
||||||
- Python 3.11+
|
- Python 3.11+
|
||||||
- Poetry
|
- uv
|
||||||
- Git
|
- Git
|
||||||
|
|
||||||
Environment Setup
|
Environment Setup
|
||||||
@@ -31,19 +31,19 @@ Environment Setup
|
|||||||
|
|
||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
|
||||||
poetry install --with dev,docs
|
uv sync --group dev --group docs
|
||||||
|
|
||||||
#. **Setup pre-commit hooks:**
|
#. **Setup pre-commit hooks:**
|
||||||
|
|
||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
|
||||||
poetry run pre-commit install
|
uv run pre-commit install
|
||||||
|
|
||||||
#. **Build the Rust extension:**
|
#. **Build the Rust extension:**
|
||||||
|
|
||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
|
||||||
poetry run maturin develop
|
uv run maturin develop
|
||||||
|
|
||||||
************************
|
************************
|
||||||
Code Style and Quality
|
Code Style and Quality
|
||||||
@@ -55,7 +55,7 @@ Python Code
|
|||||||
===========
|
===========
|
||||||
|
|
||||||
- **Ruff**: For linting and formatting
|
- **Ruff**: For linting and formatting
|
||||||
- **MyPy**: For type checking
|
- **ty**: For type checking
|
||||||
- **Pytest**: For testing
|
- **Pytest**: For testing
|
||||||
|
|
||||||
Run quality checks:
|
Run quality checks:
|
||||||
@@ -63,14 +63,14 @@ Run quality checks:
|
|||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
|
||||||
# Format and lint Python code
|
# Format and lint Python code
|
||||||
poetry run ruff format .
|
uv run ruff format .
|
||||||
poetry run ruff check .
|
uv run ruff check .
|
||||||
|
|
||||||
# Type checking
|
# Type checking
|
||||||
poetry run mypy .
|
uv run ty check
|
||||||
|
|
||||||
# Run tests
|
# Run tests
|
||||||
poetry run pytest
|
uv run pytest
|
||||||
|
|
||||||
Rust Code
|
Rust Code
|
||||||
=========
|
=========
|
||||||
@@ -105,10 +105,10 @@ Running Tests
|
|||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
|
||||||
# Run all tests
|
# Run all tests
|
||||||
poetry run pytest
|
uv run pytest
|
||||||
|
|
||||||
# Run with coverage
|
# Run with coverage
|
||||||
poetry run pytest --cov=read_aconity_layers
|
uv run pytest --cov=read_aconity_layers
|
||||||
|
|
||||||
# Run Rust tests
|
# Run Rust tests
|
||||||
cargo test
|
cargo test
|
||||||
@@ -144,14 +144,14 @@ Building Documentation
|
|||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
|
||||||
# Install documentation dependencies
|
# Install documentation dependencies
|
||||||
poetry install --with docs
|
uv sync --group docs
|
||||||
|
|
||||||
# Build documentation
|
# Build documentation
|
||||||
cd docs
|
cd docs
|
||||||
make html
|
make html
|
||||||
|
|
||||||
# Or build manually
|
# Or build manually
|
||||||
poetry run sphinx-build -b html . _build/html
|
uv run sphinx-build -b html . _build/html
|
||||||
|
|
||||||
# Serve locally (optional)
|
# Serve locally (optional)
|
||||||
make serve
|
make serve
|
||||||
@@ -199,9 +199,8 @@ The project uses pre-commit hooks that run automatically:
|
|||||||
|
|
||||||
- Code formatting (Ruff, rustfmt)
|
- Code formatting (Ruff, rustfmt)
|
||||||
- Linting (Ruff, Clippy)
|
- Linting (Ruff, Clippy)
|
||||||
- Type checking (MyPy)
|
- Type checking (ty)
|
||||||
- Version bump validation
|
- Version bump validation
|
||||||
- Poetry validation
|
|
||||||
|
|
||||||
These checks must pass before commits are accepted.
|
These checks must pass before commits are accepted.
|
||||||
|
|
||||||
@@ -253,7 +252,7 @@ Adding a New Function
|
|||||||
|
|
||||||
#. **Implement in Rust** (``src/rust_fn/mod.rs``)
|
#. **Implement in Rust** (``src/rust_fn/mod.rs``)
|
||||||
#. **Add Python binding** (``src/lib.rs``)
|
#. **Add Python binding** (``src/lib.rs``)
|
||||||
#. **Update type stubs** (``read_layers.pyi``)
|
#. **Update type stubs** (``read_aconity_layers.pyi``)
|
||||||
#. **Add tests** for both Rust and Python
|
#. **Add tests** for both Rust and Python
|
||||||
#. **Update documentation**
|
#. **Update documentation**
|
||||||
|
|
||||||
@@ -262,8 +261,7 @@ Debugging Build Issues
|
|||||||
|
|
||||||
- **Check Rust version**: Must be 1.70+
|
- **Check Rust version**: Must be 1.70+
|
||||||
- **Verify PyO3 compatibility**: Should match Python version
|
- **Verify PyO3 compatibility**: Should match Python version
|
||||||
- **Clear build cache**: ``cargo clean`` and ``poetry env remove
|
- **Clear build cache**: ``cargo clean`` and ``rm -rf .venv``
|
||||||
--all``
|
|
||||||
- **Check dependencies**: Ensure all dev dependencies are installed
|
- **Check dependencies**: Ensure all dev dependencies are installed
|
||||||
|
|
||||||
Profiling Performance
|
Profiling Performance
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ Prerequisites
|
|||||||
|
|
||||||
- Rust 1.70 or higher
|
- Rust 1.70 or higher
|
||||||
- Python 3.11 or higher
|
- Python 3.11 or higher
|
||||||
- Poetry (for development)
|
- uv (for development)
|
||||||
|
|
||||||
Build Steps
|
Build Steps
|
||||||
===========
|
===========
|
||||||
@@ -44,19 +44,19 @@ Build Steps
|
|||||||
|
|
||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
|
||||||
poetry install
|
uv sync
|
||||||
|
|
||||||
#. Build the Rust extension:
|
#. Build the Rust extension:
|
||||||
|
|
||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
|
||||||
poetry run maturin develop
|
uv run maturin develop
|
||||||
|
|
||||||
#. Run tests to verify installation:
|
#. Run tests to verify installation:
|
||||||
|
|
||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
|
||||||
poetry run pytest
|
uv run pytest
|
||||||
|
|
||||||
**************************
|
**************************
|
||||||
Development Installation
|
Development Installation
|
||||||
@@ -66,12 +66,12 @@ For development work, you'll also want the development dependencies:
|
|||||||
|
|
||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
|
||||||
poetry install --with dev,docs
|
uv sync --group dev --group docs
|
||||||
|
|
||||||
This installs additional tools for:
|
This installs additional tools for:
|
||||||
|
|
||||||
- Code formatting (ruff)
|
- Code formatting (ruff)
|
||||||
- Type checking (mypy)
|
- Type checking (ty)
|
||||||
- Testing (pytest)
|
- Testing (pytest)
|
||||||
- Documentation building (sphinx)
|
- Documentation building (sphinx)
|
||||||
|
|
||||||
|
|||||||
+3
-3
@@ -1,7 +1,7 @@
|
|||||||
# Justfile for Sphinx documentation
|
# Justfile for Sphinx documentation
|
||||||
|
|
||||||
_sphinxopts := ""
|
_sphinxopts := ""
|
||||||
_sphinxbuild := "poetry run sphinx-build"
|
_sphinxbuild := "uv run sphinx-build"
|
||||||
_sourcedir := "."
|
_sourcedir := "."
|
||||||
_builddir := "./_build"
|
_builddir := "./_build"
|
||||||
|
|
||||||
@@ -23,7 +23,7 @@ ensure-rustdocgen:
|
|||||||
build-extension:
|
build-extension:
|
||||||
@echo "Checking Rust toolchain..."
|
@echo "Checking Rust toolchain..."
|
||||||
@which cargo > /dev/null || (echo "Error: Rust/Cargo not found. Please install Rust toolchain." && exit 1)
|
@which cargo > /dev/null || (echo "Error: Rust/Cargo not found. Please install Rust toolchain." && exit 1)
|
||||||
cd .. && poetry run maturin develop
|
cd .. && uv run maturin develop
|
||||||
|
|
||||||
# Clean build directory
|
# Clean build directory
|
||||||
clean builddir=_builddir:
|
clean builddir=_builddir:
|
||||||
@@ -45,7 +45,7 @@ serve sphinxbuild=_sphinxbuild sourcedir=_sourcedir builddir=_builddir sphinxopt
|
|||||||
|
|
||||||
# Build documentation with live reload (requires sphinx-autobuild)
|
# Build documentation with live reload (requires sphinx-autobuild)
|
||||||
livehtml sourcedir=_sourcedir builddir=_builddir sphinxopts=_sphinxopts: ensure-rustdocgen build-extension
|
livehtml sourcedir=_sourcedir builddir=_builddir sphinxopts=_sphinxopts: ensure-rustdocgen build-extension
|
||||||
poetry run sphinx-autobuild "{{sourcedir}}" "{{builddir}}/html" {{sphinxopts}}
|
uv run sphinx-autobuild "{{sourcedir}}" "{{builddir}}/html" {{sphinxopts}}
|
||||||
|
|
||||||
# Check for broken links
|
# Check for broken links
|
||||||
linkcheck sphinxbuild=_sphinxbuild sourcedir=_sourcedir builddir=_builddir sphinxopts=_sphinxopts:
|
linkcheck sphinxbuild=_sphinxbuild sourcedir=_sourcedir builddir=_builddir sphinxopts=_sphinxopts:
|
||||||
|
|||||||
Generated
-1482
File diff suppressed because it is too large
Load Diff
+26
-36
@@ -11,43 +11,35 @@ authors = [{ name = "Cian Hughes", email = "chughes000@gmail.com" }]
|
|||||||
license = { text = "MIT" }
|
license = { text = "MIT" }
|
||||||
readme = "README.rst"
|
readme = "README.rst"
|
||||||
dynamic = ["version"]
|
dynamic = ["version"]
|
||||||
|
dependencies = [
|
||||||
|
"numpy>=2.0.0,<3.0.0",
|
||||||
|
]
|
||||||
|
|
||||||
[tool.poetry]
|
[project.urls]
|
||||||
name = "read_aconity_layers"
|
|
||||||
description = "A utility for fast reading of layer data from the aconity mini powder bed fusion machine"
|
|
||||||
authors = ["Cian Hughes <chughes000@gmail.com>"]
|
|
||||||
license = "MIT"
|
|
||||||
readme = "README.rst"
|
|
||||||
package-mode = false
|
|
||||||
|
|
||||||
[tool.poetry.urls]
|
|
||||||
repository = "https://github.com/Cian-H/read_aconity_layers"
|
repository = "https://github.com/Cian-H/read_aconity_layers"
|
||||||
documentation = "https://read-aconity-layers.readthedocs.io/"
|
documentation = "https://read-aconity-layers.readthedocs.io/"
|
||||||
|
|
||||||
|
[dependency-groups]
|
||||||
[tool.poetry.dependencies]
|
dev = [
|
||||||
python = "^3.11"
|
"ruff>=0.11.11,<0.16.0",
|
||||||
maturin = "^1.8.6"
|
"ty>=0.0.51",
|
||||||
numpy = ">=2.0.0,<3.0.0"
|
"pytest>=8.3.5,<10.0.0",
|
||||||
|
"loguru>=0.7.3",
|
||||||
[tool.poetry.group.dev.dependencies]
|
"pytest-cov>=6.1.1,<8.0.0",
|
||||||
ruff = "^0.11.11"
|
"maturin>=1.8.6",
|
||||||
mypy = "^1.15.0"
|
]
|
||||||
pytest = "^8.3.5"
|
docs = [
|
||||||
loguru = "^0.7.3"
|
"sphinx>=8.2.3",
|
||||||
pytest-cov = "^6.1.1"
|
"sphinx-autodoc-typehints>=3.2.0",
|
||||||
|
"sphinx-copybutton>=0.5.2",
|
||||||
[tool.poetry.group.docs.dependencies]
|
"sphinxcontrib-rust>=0.8.1,<1.2.0",
|
||||||
sphinx = "^8.2.3"
|
"myst-parser>=4.0.1",
|
||||||
sphinx-autodoc-typehints = "^3.2.0"
|
"sphinx-autobuild>=2024.10.3,<2026.0.0",
|
||||||
sphinx-copybutton = "^0.5.2"
|
"pydata-sphinx-theme>=0.16.1,<0.20.0",
|
||||||
sphinxcontrib-rust = "^0.8.1"
|
]
|
||||||
myst-parser = "^4.0.1"
|
|
||||||
sphinx-autobuild = "^2024.10.3"
|
|
||||||
pydata-sphinx-theme = "^0.16.1"
|
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["maturin>=1.7,<2.0"]
|
requires = ["maturin>=1.14,<2.0"]
|
||||||
build-backend = "maturin"
|
build-backend = "maturin"
|
||||||
|
|
||||||
[tool.maturin]
|
[tool.maturin]
|
||||||
@@ -214,11 +206,9 @@ max-complexity = 10
|
|||||||
[tool.ruff.lint.flake8-annotations]
|
[tool.ruff.lint.flake8-annotations]
|
||||||
mypy-init-return = true
|
mypy-init-return = true
|
||||||
|
|
||||||
[tool.mypy]
|
[tool.ty]
|
||||||
check_untyped_defs = true
|
[tool.ty.src]
|
||||||
ignore_missing_imports = true
|
exclude = ["docs/"]
|
||||||
exclude = ["docs/", "tests/"]
|
|
||||||
|
|
||||||
[tool.pytest.ini_options]
|
[tool.pytest.ini_options]
|
||||||
testpaths = ["tests"]
|
testpaths = ["tests"]
|
||||||
pythonpath = [".venv/bin/python"]
|
|
||||||
|
|||||||
+311
-70
@@ -1,70 +1,311 @@
|
|||||||
maturin==1.8.6 ; python_version >= "3.11" and python_version < "4.0" \
|
# This file was autogenerated by uv via the following command:
|
||||||
--hash=sha256:0e0dc2e0bfaa2e1bd238e0236cf8a2b7e2250ccaa29c1aa8d0e61fa664b0289d \
|
# uv export --frozen --output-file=requirements.txt
|
||||||
--hash=sha256:1bf4c743dd2b24448e82b8c96251597818956ddf848e1d16b59356512c7e58d8 \
|
-e .
|
||||||
--hash=sha256:24f66624db69b895b134a8f1592efdf04cd223c9b3b65243ad32080477936d14 \
|
colorama==0.4.6 ; sys_platform == 'win32' \
|
||||||
--hash=sha256:4dd2e2f005ca63ac7ef0dddf2d65324ee480277a11544dcc4e7e436af68034dd \
|
--hash=sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44 \
|
||||||
--hash=sha256:4ea89cf76048bc760e12b36b608fc3f5ef4f7359c0895e9afe737be34041d948 \
|
--hash=sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6
|
||||||
--hash=sha256:5c0ff7ad43883920032b63c94c76dcdd5758710d7b72b68db69e7826c40534ac \
|
# via
|
||||||
--hash=sha256:62a65f70ebaadd6eb6083f5548413744f2ef12400445778e08d41d4facf15bbe \
|
# loguru
|
||||||
--hash=sha256:6bc9281b90cd37e2a7985f2e5d6e3d35a1d64cf6e4d04ce5ed25603d162995b9 \
|
# pytest
|
||||||
--hash=sha256:b0637604774e2c50ab48a0e9023fe2f071837ecbc817c04ec28e1cfcc25224c2 \
|
coverage==7.14.1 \
|
||||||
--hash=sha256:b1e786ec9b5f7315c7e3fcc62b0715f9d99ffe477b06d0d62655a71e6a51a67b \
|
--hash=sha256:0177614a0370f227888b4e436a7c55686d6a9f90eb1ade2b624ba685a1686e86 \
|
||||||
--hash=sha256:bec5948c6475954c8089b17fae349966258756bb2ca05e54099e476a08070795 \
|
--hash=sha256:01b7733daad0237daa01ef80fe2dfceffc911e6a17fa7b55d14aa8214eaaaecd \
|
||||||
--hash=sha256:ca30fdb158a24cf312f3e53072a6e987182c103fa613efea2d28b5f52707d04a \
|
--hash=sha256:03a6f93c1ec3b7f2e77b5dbcc5573a2c21f12529a5c6bbe0f16f72303cc2fa4d \
|
||||||
--hash=sha256:dade5edfaf508439ff6bbc7be4f207e04c0999c47d9ef7e1bae16258e76b1518
|
--hash=sha256:042c46ded7c288aeb07cf14a28b6c1e10b78fcba40171c3fa1e939377eeef0b5 \
|
||||||
numpy==2.2.6 ; python_version >= "3.11" and python_version < "4.0" \
|
--hash=sha256:06144cd511cf2624873a035c5069cf297144f6e77a73ee3d7a55b605ec5efb42 \
|
||||||
--hash=sha256:038613e9fb8c72b0a41f025a7e4c3f0b7a1b5d768ece4796b674c8f3fe13efff \
|
--hash=sha256:07c6290b1697b862c0478eab545eec949a0d0e4d6d03497f446d706da3b4f2de \
|
||||||
--hash=sha256:0678000bb9ac1475cd454c6b8c799206af8107e310843532b04d49649c717a47 \
|
--hash=sha256:10274a1fbeb8ec5d72966e17bb198a3104257aca4ac09d98667c5f8aca8c8548 \
|
||||||
--hash=sha256:0811bb762109d9708cca4d0b13c4f67146e3c3b7cf8d34018c722adb2d957c84 \
|
--hash=sha256:1101a5ebb083aecb625ebb6209d4105b58f647b093cb2dc8122d7b33f743cfe1 \
|
||||||
--hash=sha256:0b605b275d7bd0c640cad4e5d30fa701a8d59302e127e5f79138ad62762c3e3d \
|
--hash=sha256:114c95ef29302423b87d159075805f4ab973254a2638a5d7d046c94887cc87d7 \
|
||||||
--hash=sha256:0bca768cd85ae743b2affdc762d617eddf3bcf8724435498a1e80132d04879e6 \
|
--hash=sha256:12c42ec1e14f553c4f817e989365982e646e27211f10a0f717855b94a79c8906 \
|
||||||
--hash=sha256:1bc23a79bfabc5d056d106f9befb8d50c31ced2fbc70eedb8155aec74a45798f \
|
--hash=sha256:145986fe66647eb489f18d9a997567a3fd358584c4b5a808769113abc07466af \
|
||||||
--hash=sha256:287cc3162b6f01463ccd86be154f284d0893d2b3ed7292439ea97eafa8170e0b \
|
--hash=sha256:17a5a241e5997621a956a7f402a7433ef4221e5152809b785bec79e2323799f1 \
|
||||||
--hash=sha256:37c0ca431f82cd5fa716eca9506aefcabc247fb27ba69c5062a6d3ade8cf8f49 \
|
--hash=sha256:1896f5e19ff3f0431c7ce2172adc54890fd97f86b59ced8ca1649145d9ffe35d \
|
||||||
--hash=sha256:37e990a01ae6ec7fe7fa1c26c55ecb672dd98b19c3d0e1d1f326fa13cb38d163 \
|
--hash=sha256:196a13319ad88d6d8ef5ab489ec4f44ddde2143c0c7d5b27786f6c3ffd56a7e1 \
|
||||||
--hash=sha256:389d771b1623ec92636b0786bc4ae56abafad4a4c513d36a55dce14bd9ce8571 \
|
--hash=sha256:221c70f316241a78e77e607c227cefc8808d4e08f28d99c04f35694690e940be \
|
||||||
--hash=sha256:3d70692235e759f260c3d837193090014aebdf026dfd167834bcba43e30c2a42 \
|
--hash=sha256:2222be86d0b54f5dd5a38f45f17f315f737245e857bf0bdedc70734f84a13c02 \
|
||||||
--hash=sha256:41c5a21f4a04fa86436124d388f6ed60a9343a6f767fced1a8a71c3fbca038ff \
|
--hash=sha256:2224f89ffd0c5605ccce1ed7a584da162bc7c55f601ab1c946bc9de31a486b42 \
|
||||||
--hash=sha256:481b49095335f8eed42e39e8041327c05b0f6f4780488f61286ed3c01368d491 \
|
--hash=sha256:23bf7fa51ac02e07fc7c96849b82946da47ae862dc8f86d183b2a4864fc38129 \
|
||||||
--hash=sha256:4eeaae00d789f66c7a25ac5f34b71a7035bb474e679f410e5e1a94deb24cf2d4 \
|
--hash=sha256:2d69af5dea2de76fc485a83032a630523f985198b7e25be901ec60181587b01e \
|
||||||
--hash=sha256:55a4d33fa519660d69614a9fad433be87e5252f4b03850642f88993f7b2ca566 \
|
--hash=sha256:30c08f7d90415aa98b3c990385dea2939b0da55f38515e5b369b83655f8523be \
|
||||||
--hash=sha256:5a6429d4be8ca66d889b7cf70f536a397dc45ba6faeb5f8c5427935d9592e9cf \
|
--hash=sha256:357d4e32935c36588aaba057d734fa32428c360c9fc2e4442afbf1b646beee6e \
|
||||||
--hash=sha256:5bd4fc3ac8926b3819797a7c0e2631eb889b4118a9898c84f585a54d475b7e40 \
|
--hash=sha256:35ab22d91de736e8966b980dc355cbcdd2c6dbbcfe275f9a2991bc8a91b3df65 \
|
||||||
--hash=sha256:5beb72339d9d4fa36522fc63802f469b13cdbe4fdab4a288f0c441b74272ebfd \
|
--hash=sha256:370c5afae3fa0658e11694a32b24c2778f6bc2d17718121f94ee185e69f26b54 \
|
||||||
--hash=sha256:6031dd6dfecc0cf9f668681a37648373bddd6421fff6c66ec1624eed0180ee06 \
|
--hash=sha256:3758dd0a7f1fa57365ef2e781df0f0731d38b6e3772259d13dae4bd8a958d4b1 \
|
||||||
--hash=sha256:71594f7c51a18e728451bb50cc60a3ce4e6538822731b2933209a1f3614e9282 \
|
--hash=sha256:39b21e212c55af06fa375e3dbf90a8a8e38792f3a910c580066d23563830ddd5 \
|
||||||
--hash=sha256:74d4531beb257d2c3f4b261bfb0fc09e0f9ebb8842d82a7b4209415896adc680 \
|
--hash=sha256:3a56abc20a472baf0304c455721bc601477440d28ecfde8a03dde79ede07e0df \
|
||||||
--hash=sha256:7befc596a7dc9da8a337f79802ee8adb30a552a94f792b9c9d18c840055907db \
|
--hash=sha256:3d452fd08b5c72c5167c93e6867b5c08500bd40f2a21e1e854a500550b6cc36f \
|
||||||
--hash=sha256:894b3a42502226a1cac872f840030665f33326fc3dac8e57c607905773cdcde3 \
|
--hash=sha256:442cc9c952b2df400cda54bb04ab87330cf2cd08a8692cbbea36773531eb6f37 \
|
||||||
--hash=sha256:8e41fd67c52b86603a91c1a505ebaef50b3314de0213461c7a6e99c9a3beff90 \
|
--hash=sha256:46f714d2fb8ae2f4f29f23ada7f1e79b759fff5a70f94a1dac23af204c3ec9e4 \
|
||||||
--hash=sha256:8e9ace4a37db23421249ed236fdcdd457d671e25146786dfc96835cd951aa7c1 \
|
--hash=sha256:478b5bcd63c2e1357c5c7e16c070690df7b07f676b1c114d7b93e533c664309f \
|
||||||
--hash=sha256:8fc377d995680230e83241d8a96def29f204b5782f371c532579b4f20607a289 \
|
--hash=sha256:48b283b1dd6372e8de2a7a9a4c4d5dc06f4d4fd209b876f3c88a7a205a0c8f84 \
|
||||||
--hash=sha256:9551a499bf125c1d4f9e250377c1ee2eddd02e01eac6644c080162c0c51778ab \
|
--hash=sha256:4a28fd227808366b196a75476dced2eb35b351d6766ba9c858dc93319e87f4f1 \
|
||||||
--hash=sha256:b0544343a702fa80c95ad5d3d608ea3599dd54d4632df855e4c8d24eb6ecfa1c \
|
--hash=sha256:4ea1c034f95c9b056e856b794630b17f9fa3d57e4800ff1e503d3be0f9c9078c \
|
||||||
--hash=sha256:b093dd74e50a8cba3e873868d9e93a85b78e0daf2e98c6797566ad8044e8363d \
|
--hash=sha256:51bd64741cc6fa065abd300ede1afe5a5291ece9c31da8b24884deda48bcc3f8 \
|
||||||
--hash=sha256:b412caa66f72040e6d268491a59f2c43bf03eb6c96dd8f0307829feb7fa2b6fb \
|
--hash=sha256:54acdb6674a4661768d7bf7db32dfb9f46ab1d764f8aba6df75ce1a6a088724e \
|
||||||
--hash=sha256:b4f13750ce79751586ae2eb824ba7e1e8dba64784086c98cdbbcc6a42112ce0d \
|
--hash=sha256:59baf88468dbc8d63b1887afd92bda52e40bb1561696e5819670601403810cec \
|
||||||
--hash=sha256:b64d8d4d17135e00c8e346e0a738deb17e754230d7e0810ac5012750bbd85a5a \
|
--hash=sha256:5a1c5215be81035e629d5bc756650634d0bf31991038db7a0eccb90f025ce16d \
|
||||||
--hash=sha256:ba10f8411898fc418a521833e014a77d3ca01c15b0c6cdcce6a0d2897e6dbbdf \
|
--hash=sha256:5b0c99ba93a07d56f6df340bb79be53202a082b2fdb81bfe6190b741a3470d54 \
|
||||||
--hash=sha256:bd48227a919f1bafbdda0583705e547892342c26fb127219d60a5c36882609d1 \
|
--hash=sha256:5ea0c297e27133853b4d8a3eb799bff5a2dbd9f2f41537a240d337ac9b4df890 \
|
||||||
--hash=sha256:c1f9540be57940698ed329904db803cf7a402f3fc200bfe599334c9bd84a40b2 \
|
--hash=sha256:5f0cfc27c539f07cf5c0a4cfe211d0b6cae039f8f40526dbaa71944e64b50a7b \
|
||||||
--hash=sha256:c820a93b0255bc360f53eca31a0e676fd1101f673dda8da93454a12e23fc5f7a \
|
--hash=sha256:6223a72fd0e4c7156353ec0f08a5f93623e1d3034d0e2683b9bb8ea674131b1d \
|
||||||
--hash=sha256:ce47521a4754c8f4593837384bd3424880629f718d87c5d44f8ed763edd63543 \
|
--hash=sha256:62fd185ef9df3c33d1c8178c5af105f762afbad96038de9a4ae100aa6297ca33 \
|
||||||
--hash=sha256:d042d24c90c41b54fd506da306759e06e568864df8ec17ccc17e9e884634fd00 \
|
--hash=sha256:6a3cb83d1552c0cd1b4906655b6a33fd4a8473229633a901c6b73bf86914dee9 \
|
||||||
--hash=sha256:de749064336d37e340f640b05f24e9e3dd678c57318c7289d222a8a2f543e90c \
|
--hash=sha256:6adc5a36984624a70bf11d7184e20fa0a49aa7c47ffab43804106a1a695ea22e \
|
||||||
--hash=sha256:e1dda9c7e08dc141e0247a5b8f49cf05984955246a327d4c48bda16821947b2f \
|
--hash=sha256:6b6b0853b895fe0e98cbfc580d1ec3393d9302b4b1e96a77b3f5c91fdab899e6 \
|
||||||
--hash=sha256:e29554e2bef54a90aa5cc07da6ce955accb83f21ab5de01a62c8478897b264fd \
|
--hash=sha256:6ff665fb023a77386fe11685190cee1f60a7d635994a30d9b0a061533d470fce \
|
||||||
--hash=sha256:e3143e4451880bed956e706a3220b4e5cf6172ef05fcc397f6f36a550b1dd868 \
|
--hash=sha256:7279d2110a28cebc738b6459ecda2771735a4c18465fbbd36b3288fe5ed92247 \
|
||||||
--hash=sha256:e8213002e427c69c45a52bbd94163084025f533a55a59d6f9c5b820774ef3303 \
|
--hash=sha256:76a085d7005236a767e3426148b2c407e53ad61695c562f8a81da2d373324901 \
|
||||||
--hash=sha256:efd28d4e9cd7d7a8d39074a4d44c63eda73401580c5c76acda2ce969e0a38e83 \
|
--hash=sha256:7771b601718fdde84832c3a434ca9bbf4ae9adbc49d84198b4110700c3c77c36 \
|
||||||
--hash=sha256:f0fd6321b839904e15c46e0d257fdd101dd7f530fe03fd6359c1ea63738703f3 \
|
--hash=sha256:79058c47dae6788504b5effb319961bcd72d7240551464b91d474bc0ed186d69 \
|
||||||
--hash=sha256:f1372f041402e37e5e633e586f62aa53de2eac8d98cbfb822806ce4bbefcb74d \
|
--hash=sha256:7af486dabe8954d03b087f0021540897afe084f04e16ff5579e08cc46f871416 \
|
||||||
--hash=sha256:f2618db89be1b4e05f7a1a847a9c1c0abd63e63a1607d892dd54668dd92faf87 \
|
--hash=sha256:8011224a62280e50dab346960c03cf47aca1a1e09e608c0fb33fd6e0cc8e9500 \
|
||||||
--hash=sha256:f447e6acb680fd307f40d3da4852208af94afdfab89cf850986c3ca00562f4fa \
|
--hash=sha256:8270544c361ed405a27a060dbc9ed2c124b084d96dfdc2d9a2510482aef981ad \
|
||||||
--hash=sha256:f92729c95468a2f4f15e9bb94c432a9229d0d50de67304399627a943201baa2f \
|
--hash=sha256:84b535f00655ecafe1d929d1fb00ed5d6fa3051ea643ab2c161a3887b86f294b \
|
||||||
--hash=sha256:f9f1adb22318e121c5c69a09142811a201ef17ab257a1e66ca3025065b7f53ae \
|
--hash=sha256:851b9e1e4e8a4608e77c79714b2e77c0970d2ed7202a05e92ae407817481887b \
|
||||||
--hash=sha256:fc0c5673685c508a142ca65209b4e79ed6740a4ed6b2267dbba90f34b0b3cfda \
|
--hash=sha256:85e85586565842f6932abebd4c18bcb1074223dc0b3576e7d173ca710622813a \
|
||||||
--hash=sha256:fc7b73d02efb0e18c000e9ad8b83480dfcd5dfd11065997ed4c6747470ae8915 \
|
--hash=sha256:87ebdf787d4888e3f3f2d523eadc6e18c6d18c6d0eb173801a189641627fb37e \
|
||||||
--hash=sha256:fd83c01228a688733f1ded5201c678f0c53ecc1006ffbc404db9f7a899ac6249 \
|
--hash=sha256:8a3ce026d73290f42f08dafecbd82c193a74df280461fbf97300fec51fd133ee \
|
||||||
--hash=sha256:fe27749d33bb772c80dcd84ae7e8df2adc920ae8297400dabec45f0dedb3f6de \
|
--hash=sha256:9132cd363a68a4c3daa7c8704a654b1e39d3360f6f5b8ddd470608a945236c07 \
|
||||||
--hash=sha256:fee4236c876c4e8369388054d02d0e9bb84821feb1a64dd59e137e6511a551f8
|
--hash=sha256:99cd41ff91afd94896fea3bc002706b6ae4ce95727d06e4a0f39c0a8d8bd8b1a \
|
||||||
|
--hash=sha256:9eeb3fcbc13ba40dfbdb22d01d196a28e9cef9ed4c29b60061a1e0e823a9929d \
|
||||||
|
--hash=sha256:a06c76364a9360e33d6d23769aefdf7f66f38e2ffb60ceb1baaa4989d83b695c \
|
||||||
|
--hash=sha256:a07891c3f4805442b31b71e84ba3cf29ed1aa9a428284e06deeb4b23e5b46343 \
|
||||||
|
--hash=sha256:a24a81f9715ee42ef59a316cc11611c98fe23920f7c81861315c9f3ff4a230f4 \
|
||||||
|
--hash=sha256:a252f21c27e38347e60111a3266b03827422a7d5525951aceee313aa68bab1d2 \
|
||||||
|
--hash=sha256:a311d8e1da24be5c1ccf85cbfb06315dbaa1703d5a1eab3f6432c72b837917c8 \
|
||||||
|
--hash=sha256:aa5e304a873fabddc11e484e9b6b738bd38bd7bed17b09aa84eecf5332e8b8bb \
|
||||||
|
--hash=sha256:ab4af6352741a604c431c6072fce5bee33bf0f20dc7a56618d6bf6bb89e9810c \
|
||||||
|
--hash=sha256:b553d04b5e778a8e56d57eb134aff42a92718ecba45e79c4764ecfa40efd92ff \
|
||||||
|
--hash=sha256:b84800013769a78ccb9ef4659402e26d06867e337b61ec365f77ad008adea80e \
|
||||||
|
--hash=sha256:bcaa50684dcaadfa599ac48f81103c756d791cfd85c97203d2217c593d48b860 \
|
||||||
|
--hash=sha256:be9f2c802dcfce3f71298303aa5dad0dce440a76c52f2f60dacd8656dab78793 \
|
||||||
|
--hash=sha256:c79cead5b5bc584d9c71451cb984d0e3a84e0c0937379c8efcbf27c8d661b851 \
|
||||||
|
--hash=sha256:c7e057326434e441306226fbeb5d1aaf14a2637efe97ba668306635835f32ad7 \
|
||||||
|
--hash=sha256:ced2f09ef276fd58611a1ef502164ad266d2b75174e5a40cabbdb4033f9f6cf2 \
|
||||||
|
--hash=sha256:d13e6725992e2d2fd7d81d4f5241952d13740121dfd501da09201be39b2c003a \
|
||||||
|
--hash=sha256:d34d75f892b3ab73ba11cab5442cce7b3e168fd64162b16f0e1e0d09c508edef \
|
||||||
|
--hash=sha256:d5b89cdfb2ee051b71e8c3c70bd81a9eff81100f736a269136fe1a68efe00474 \
|
||||||
|
--hash=sha256:d5ed429d0b8edaac649e889b4ffcedb6c80b06629a3f93050e3dddfb99235bee \
|
||||||
|
--hash=sha256:da028256b04ec30e5e0114b6f76172938c313991f0a2d3d894271315cf5d5e43 \
|
||||||
|
--hash=sha256:dcbf65f1f66a26cdd88c35cf68fb4729c5d1cd2e88added72420541dfb212034 \
|
||||||
|
--hash=sha256:dd34767fa19848d35659ffc0a75314f58c7af3f1cd87ec521e8292a1238398a3 \
|
||||||
|
--hash=sha256:ddf799247318f34dbcd2efa8c95a8d0642674e926bb1774cf9b63dfd2a389d1c \
|
||||||
|
--hash=sha256:de286598cc65d2b489411174b1faec2f5a7775fb3201fd925db2a76b4030f37d \
|
||||||
|
--hash=sha256:e471bc5769ff073b058cfadb0d736b56ce067c8560eabeb0da88462df98c23e7 \
|
||||||
|
--hash=sha256:ea8cd6ca0ee9f616aaef3afc6882e32c2cbf18b00d96313ffd76af650574034d \
|
||||||
|
--hash=sha256:f2302660e32562a532b442480121aef8aa61a5bdb20b30bf0adab29f10a5a4b4 \
|
||||||
|
--hash=sha256:f497a1ea81d4cd7c10ddcaa685135b9aabd291af3d55775a9ddf3cb7a364cdd9 \
|
||||||
|
--hash=sha256:f4ddbe407477f04c45115d1a4e5bc480f753553b534d338d4c3358b1cdd0ea52 \
|
||||||
|
--hash=sha256:f747dc8edcfe740130f28f32f3995e955494285717e86ee25af51db2219df08a \
|
||||||
|
--hash=sha256:fad54e871165f6ec2f536063ac74c3104508a12963e64072ba44bd822de52b0c \
|
||||||
|
--hash=sha256:fd86572566fb40189a8260446158235159bc7a82dfbc87a3b39cf4fb57fcec1c
|
||||||
|
# via pytest-cov
|
||||||
|
iniconfig==2.3.0 \
|
||||||
|
--hash=sha256:c76315c77db068650d49c5b56314774a7804df16fee4402c1f19d6d15d8c4730 \
|
||||||
|
--hash=sha256:f631c04d2c48c52b84d0d0549c99ff3859c98df65b3101406327ecc7d53fbf12
|
||||||
|
# via pytest
|
||||||
|
loguru==0.7.3 \
|
||||||
|
--hash=sha256:19480589e77d47b8d85b2c827ad95d49bf31b0dcde16593892eb51dd18706eb6 \
|
||||||
|
--hash=sha256:31a33c10c8e1e10422bfd431aeb5d351c7cf7fa671e3c4df004162264b28220c
|
||||||
|
maturin==1.14.1 \
|
||||||
|
--hash=sha256:15cea8fcb3ba47dd636f50092bb34baea8b04ac777392f23e6bf8a9a61efb894 \
|
||||||
|
--hash=sha256:1a04de0a20188f95c721b5702eed18140bdcccb28c386797093eca3f62f4d4e0 \
|
||||||
|
--hash=sha256:3c9f94640ecc4895e94abaf834a0684430032c865b2748a36c12461fd9252fdd \
|
||||||
|
--hash=sha256:522292398945442cdafa9daeb2271b2340fbde57027b818f923f88eab04174f8 \
|
||||||
|
--hash=sha256:5282dffd4b539d2be245f4e5b1a5ab6bc1033b58f4a4872f5833f9d43c954aa4 \
|
||||||
|
--hash=sha256:994a0c8ba3ad8a92b3a9ee1b02645d200d610216b15cff5102b0fe65e8e08666 \
|
||||||
|
--hash=sha256:9d6577a62cd08e0ceba7a0db06fb098e0c9b1b3429bad747a4f3a18215a1b3df \
|
||||||
|
--hash=sha256:a131d912b5267e640bc96d70f4914e10590aed64082ec9abacba7cea52004224 \
|
||||||
|
--hash=sha256:be18fc568fb76884c0205456336892a75105ec398e6b667cd777c6268bd06d69 \
|
||||||
|
--hash=sha256:be80866363e605d137991b491a741a84cde9ae350183c4c85f49690ca9aaaa65 \
|
||||||
|
--hash=sha256:cd457cd88961156e26379e1155bd287cc0ec1c8b2f1582b0660fb31b87c8842d \
|
||||||
|
--hash=sha256:dfc54ae32e6fcb18302193ab9a30b0b25eefffba994ae13238974805533ef75e \
|
||||||
|
--hash=sha256:f3306078070c1508fd715b9116070cbcaff5959024272a9f1e6f5cb29768b86c \
|
||||||
|
--hash=sha256:ffe5ad71f21d1e6603c4dd75f7fee34adf5ed5ebcebb692886549888ebb329ed
|
||||||
|
numpy==2.4.6 \
|
||||||
|
--hash=sha256:001fbb8e08d942dd57599e781f2472269ee7f2755fae407b4f67b2f0b17da3f1 \
|
||||||
|
--hash=sha256:0280e0356c0829a18d9de1cb7eee50ec22ca639878d7240307ca0943d73cd2c4 \
|
||||||
|
--hash=sha256:043191bfa8eab18c776647b62723ac9dddece59743b13f49b2016094129c2b3f \
|
||||||
|
--hash=sha256:06ca2f61ec4385a07a6977c55ba998a4466c123642b4a32694d3128fce18c079 \
|
||||||
|
--hash=sha256:0a041d3d761dc3c35cc56ce0351506a02bcbc25f7b169f652435141a17db9096 \
|
||||||
|
--hash=sha256:0ab0a9c4ffb1a6d95ef519fe4247dba8eb6b18ad93999f76b7f657039acabd47 \
|
||||||
|
--hash=sha256:0c9136e14ed34a9e343a31c533d78a9813a69a3148332bce5e9821cb2f996e66 \
|
||||||
|
--hash=sha256:110f8b71aacb688ec69062bb7f6938a0f8acb01b7c1c4beb453c65b6d234584d \
|
||||||
|
--hash=sha256:112b06a867b235ef466ed3508ddf0238050df9c727cafb5301ac385b899189a1 \
|
||||||
|
--hash=sha256:17f9ade344e7d9b464a084d69bcf18fc691cb1db67c62ed80820bf4926d78f0e \
|
||||||
|
--hash=sha256:1e254a00cdf42b1e4d5b3d68d33af63268d41340d8885df2ab6470f2e1500147 \
|
||||||
|
--hash=sha256:1e978ec1e8bd0e0e4de6bb75de9d30cbb74db6b6a2bb727618613703ca0167dd \
|
||||||
|
--hash=sha256:25c692919ac5a01f170a3bfcd62d745b24fd095c353d50812637d6fcab442e75 \
|
||||||
|
--hash=sha256:260a5d70215b61ab4fadf5c7baacd64821842975eea312125ed3c39a6391b063 \
|
||||||
|
--hash=sha256:2803abfebfc990042cd494d8ce2d5f82e9d847af6d35ec486923aa19dbad5e73 \
|
||||||
|
--hash=sha256:29a287e0cf63ff528da061de6b9f64a4618da591ca1046aafc54062e40ca7eab \
|
||||||
|
--hash=sha256:29cb7f67d10b479ff07c17d33e39f78c07f71c40ef30d63c153d340e96cd3fb4 \
|
||||||
|
--hash=sha256:3213d622a0283a39a93d188f3cf72b26862df52fbb4ca3697f51705016523d41 \
|
||||||
|
--hash=sha256:33111801a01c12a8a1e3721f0a9232f8cfc8ae2c6b7098167e6f623c6073f402 \
|
||||||
|
--hash=sha256:357cc07a6d7b0b182ff02249616a03742827ebb1277546b5c7cd7f7620a45698 \
|
||||||
|
--hash=sha256:38efbc8de75c7a0fc1ac190162d892787f3f47b57cc291231aafee36b80982b7 \
|
||||||
|
--hash=sha256:4081eb135ac24158bd51cdfbef16f1c64df7063b1143f24731387137c092bec8 \
|
||||||
|
--hash=sha256:40fdc1ae7125e518ea98e53e69a4ebc27e1fd50510c47b7ea130cf21e5e1d42b \
|
||||||
|
--hash=sha256:4cfe66903cc32a9921a6733d96b19bb6abf310397581bbad89c228f5abaf0ee8 \
|
||||||
|
--hash=sha256:511dbaf848decaaaf4b4ca48032619fb3138710c4bf7da7617765edad1ef96b0 \
|
||||||
|
--hash=sha256:55cced7c52e981362f708ad635198e97a752dfba412cc03c23bbf3bd8d5cd662 \
|
||||||
|
--hash=sha256:56b39e5e0622a09a25bf5baf62f4bcf0cb8a41ae6e2819cf49bbc5a74c083f91 \
|
||||||
|
--hash=sha256:5dbbdb29840ca3d91ee0fece42fc29278886d908280bfec0a5846c6f901a3eb0 \
|
||||||
|
--hash=sha256:5f9fb9157b4ce2971008323afe46053787b526ef624fea915b261468a8421a0f \
|
||||||
|
--hash=sha256:6180d8b35af935aed8ece3a85e0a43f87393ae0ac87c8d2c8bd2c993f7270ef3 \
|
||||||
|
--hash=sha256:68a5124b13fa6cc2086764a20005d30bc0548146f7f5322f02fce212ca14317f \
|
||||||
|
--hash=sha256:68bb27509ac1b9a3443094260f6326150663b06abe40b73a2f81160623da5b67 \
|
||||||
|
--hash=sha256:6f41ae150c4e32db4f3310cdaf64b1593a03dbabe29eec77fc9b50fe64061df6 \
|
||||||
|
--hash=sha256:7265a2f3d436e54ef9f2b52b5c937e6be778781bd97a590319d7348f1c1ca997 \
|
||||||
|
--hash=sha256:72fbe16c6fac95aedf5937fa873445cec2110be35d8a4e9433d7501fd98dae6b \
|
||||||
|
--hash=sha256:7d92c3819208a60205a12a245c91ad70cb0a85336659b19b834205573ac8456e \
|
||||||
|
--hash=sha256:8155154c7c691289fe18f510b5d4657c68c67989f293f0535a91360392ff6538 \
|
||||||
|
--hash=sha256:81a1cca95ed5bb92aa8b10dd2cdc9a0d3853a50fad926c28b5d7e8ea54389627 \
|
||||||
|
--hash=sha256:89cd468399cfd2504718f0ba50e410dca55a170b61a02ad92bb18c8a65186e93 \
|
||||||
|
--hash=sha256:8ad03c0965fb3c692200e74d458ca28c1dbb4ce96f9a479a8aa041ad5fabca02 \
|
||||||
|
--hash=sha256:90f9849678c75fe7afa2d348ac842c168b0a4d3d61919687216dfc547976d853 \
|
||||||
|
--hash=sha256:948424b06129ce883307e8cff868c31396d8dc7630a59c61d70d98dbe70f222c \
|
||||||
|
--hash=sha256:9cd5ffd25db4e7ba6a375693b3fc0fc1791ec636c17db3720da19bde7180ec43 \
|
||||||
|
--hash=sha256:a0df0043bdb289bde1f62da130d20df23d58b45429f752bc7a8fc5325a225ecd \
|
||||||
|
--hash=sha256:a2c306dea656c12c68f51f4cea133cbe78ca7435eb28c735eac1d3ebe73be6e8 \
|
||||||
|
--hash=sha256:a7830bab239b79cda9c08c2da014761cafb48da6150e1da17ac06283f43b6089 \
|
||||||
|
--hash=sha256:a7c711e21628b52034bb5ab8d1bce291f752fcc5e92accc615778acee1ff4778 \
|
||||||
|
--hash=sha256:aaf159caa35993cb1f56fb9b8e4610d35758e7ca005412eb1daa856a78c9c4b1 \
|
||||||
|
--hash=sha256:ae506e6902902557576a26ff33eda8695e7ecb3cb36c3b573a0765dee114ebdb \
|
||||||
|
--hash=sha256:b507f5c4c1d508876d1819b6bf9a49d365b96320b5d4993426b33a23ca4b8261 \
|
||||||
|
--hash=sha256:bf162abab1c1a736333192707cef898e735a5ca00f38f27eeedf44b39d9e85eb \
|
||||||
|
--hash=sha256:c1a2af6c6ef86344a6b0db6b97834208bf598db514f2b155042439b62605601a \
|
||||||
|
--hash=sha256:c2d37ab77531417474168eb79d6d80b14f821a966818505d03013d0833edb7a8 \
|
||||||
|
--hash=sha256:c4fc99836233ea196540b17ab0983aff60ed07941751930f5f4d05bc3b3b7359 \
|
||||||
|
--hash=sha256:d581b735e177fdcdce6fed8e7e8880a3fb6ee4e3653a3ac6af01c6f4c03effc5 \
|
||||||
|
--hash=sha256:d6da64deb6b8ed903e7560180a92f2d804ee1ba5eeb849ac2748b8c1aba1f6d7 \
|
||||||
|
--hash=sha256:d8e8286dd7cea7895157318d1b91cdacac64c479f3cbc8dce548331728484751 \
|
||||||
|
--hash=sha256:ddea102b48f9e339f3948bf22040944184627a30fdf7f858667673b9c5f033c8 \
|
||||||
|
--hash=sha256:dfa20cc6ca228e6b155b11da03825975ce66aea520985dbbddf0f2a5a495c605 \
|
||||||
|
--hash=sha256:e3e5193ef5a3dc73bceee50f7fdc2c90dbb76c42df8d8fae3d1067a583df579e \
|
||||||
|
--hash=sha256:e3eeb0aabd6bd5ce64faae67e9935203a6991b4bc2a485a767fbafb2c5125f45 \
|
||||||
|
--hash=sha256:e5805d5a22fd19c8ccff10a9561f9df94436b0545619ea579db2d3c35294bce2 \
|
||||||
|
--hash=sha256:e85b752a1e912b70eaad4fafbd4d1238007ab221de2009b9a2f5ae7461239895 \
|
||||||
|
--hash=sha256:eaf7fa2de5c0be8ae6ff8e9bea2ccd725e980541244521d8d4b5f3354a27babe \
|
||||||
|
--hash=sha256:ebfb099f8dcf083deef3ac1ca4c1503f387cf76296fcb3816b66f5ecb5f54fdb \
|
||||||
|
--hash=sha256:ece3d2cfe132e7d51f44a832b303895e6f2d499c5e74dfbdb06ee246147a304a \
|
||||||
|
--hash=sha256:ed9749eef4cbd126da3dc1d6bcb3a57f5eb7ac6a6484146bdbf743f552dfc577 \
|
||||||
|
--hash=sha256:ede83e07a75dd06bc501566c1eca2afc0d61677c1472ac9ad93fdee6e638a48d \
|
||||||
|
--hash=sha256:ef4aea96ce4d3b074422cb4f2f64e216bf9e213004bb58ecfdf50ea02ea8eb9a \
|
||||||
|
--hash=sha256:f3a3570c4a2a16746ac2c31a7c7c7b0c186b95ce902e33db6f28094ed7387dda \
|
||||||
|
--hash=sha256:f407cb6b8e9d6d8c626bc73c945db1706035af8fd632295547bf1c9e46d092d6 \
|
||||||
|
--hash=sha256:f74a575920ab21fe304421a3fc28793d82e299cae9eccb37084e9fc7f3617c20
|
||||||
|
# via read-aconity-layers
|
||||||
|
packaging==26.2 \
|
||||||
|
--hash=sha256:5fc45236b9446107ff2415ce77c807cee2862cb6fac22b8a73826d0693b0980e \
|
||||||
|
--hash=sha256:ff452ff5a3e828ce110190feff1178bb1f2ea2281fa2075aadb987c2fb221661
|
||||||
|
# via pytest
|
||||||
|
pluggy==1.6.0 \
|
||||||
|
--hash=sha256:7dcc130b76258d33b90f61b658791dede3486c3e6bfb003ee5c9bfb396dd22f3 \
|
||||||
|
--hash=sha256:e920276dd6813095e9377c0bc5566d94c932c33b27a3e3945d8389c374dd4746
|
||||||
|
# via
|
||||||
|
# pytest
|
||||||
|
# pytest-cov
|
||||||
|
pygments==2.20.0 \
|
||||||
|
--hash=sha256:6757cd03768053ff99f3039c1a36d6c0aa0b263438fcab17520b30a303a82b5f \
|
||||||
|
--hash=sha256:81a9e26dd42fd28a23a2d169d86d7ac03b46e2f8b59ed4698fb4785f946d0176
|
||||||
|
# via pytest
|
||||||
|
pytest==9.1.1 \
|
||||||
|
--hash=sha256:1088fbde8f2b49d95a549a195707afa7a76a3ce9bcadc26b6d71f0ffda5fe313 \
|
||||||
|
--hash=sha256:37a86b45efb9a47a61a36449063e8e18d0cab3161329fc099eb21783169c4f0c
|
||||||
|
# via pytest-cov
|
||||||
|
pytest-cov==7.1.0 \
|
||||||
|
--hash=sha256:30674f2b5f6351aa09702a9c8c364f6a01c27aae0c1366ae8016160d1efc56b2 \
|
||||||
|
--hash=sha256:a0461110b7865f9a271aa1b51e516c9a95de9d696734a2f71e3e78f46e1d4678
|
||||||
|
ruff==0.15.18 \
|
||||||
|
--hash=sha256:01a754cd6a1b630d3f97e33eb452cf7a98040482318e870f8bc52a5a30e62657 \
|
||||||
|
--hash=sha256:02299e6e9fa5b297a3f6d5d10d7bcd655c925b028bb8b9d4588214549c6b9ec4 \
|
||||||
|
--hash=sha256:08d4c86a68f2c3ec2c9d56380a71fb4a4f65373055cbb8caabd645e9102f38d4 \
|
||||||
|
--hash=sha256:2186d9e940ae332ab293623a75b5f4fe49565f449954d50a72a046683aa6b809 \
|
||||||
|
--hash=sha256:2330215f1f393fa8733f55edce04fcf94c36a2c460fcde31f78cc84e4951e9b1 \
|
||||||
|
--hash=sha256:2698a964c70e8bf402dcb99c8810472d270d141e7aa8c4e13599fd52033a2f33 \
|
||||||
|
--hash=sha256:37e5108745c2c0705da916d7d4de533ddf547051ef45f62888c31bae73f66318 \
|
||||||
|
--hash=sha256:3fccc153a85417dcd976883160cacce486997b0a0058dd18f54b8aaaac7d1ce2 \
|
||||||
|
--hash=sha256:56949a6ce8b3abde54c0bcb22cebfe57e8771cadc84b407ae8b8eaf67ebdcd43 \
|
||||||
|
--hash=sha256:5a2c40a41a4cadbcf5897b548ab29dfe248b20c540961c0247d98a3973c70403 \
|
||||||
|
--hash=sha256:5c2abf140438032bc77b2284a6c9944ecd8a19e5f1c7b52b1b8e4a0a80d19a7a \
|
||||||
|
--hash=sha256:5f0480ce690cbb6c4db6e5d08f19fce98e10ba131a8b60c1bcdac42771e3ae2d \
|
||||||
|
--hash=sha256:6ba7a07e03a44dbf10bb086ee06705b173625014ec99f73a7e6836a5e5590a0c \
|
||||||
|
--hash=sha256:8b6850172348c8381b8b3084c5915a4393c2373b9b54cd5b5e1ea15812bc10df \
|
||||||
|
--hash=sha256:a6aa6a3d979e48ae617578183674bf264fbe7d0114a796a26bd678d67963c7ff \
|
||||||
|
--hash=sha256:a81beadbbff2c9c245561ae3f77b16709d87f35eec650d0501679239d3449b22 \
|
||||||
|
--hash=sha256:b2c9257fcbd4a3e5b977a1904e6facca016bafe2edc17df24db67cfaee03b4e4 \
|
||||||
|
--hash=sha256:dac80dc8d26b2257dbefabed62f5d255c3937b4ccb122da1fc634794fa3578b3
|
||||||
|
tomli==2.4.1 ; python_full_version <= '3.11' \
|
||||||
|
--hash=sha256:01f520d4f53ef97964a240a035ec2a869fe1a37dde002b57ebc4417a27ccd853 \
|
||||||
|
--hash=sha256:0d85819802132122da43cb86656f8d1f8c6587d54ae7dcaf30e90533028b49fe \
|
||||||
|
--hash=sha256:136443dbd7e1dee43c68ac2694fde36b2849865fa258d39bf822c10e8068eac5 \
|
||||||
|
--hash=sha256:1d8591993e228b0c930c4bb0db464bdad97b3289fb981255d6c9a41aedc84b2d \
|
||||||
|
--hash=sha256:2190f2e9dd7508d2a90ded5ed369255980a1bcdd58e52f7fe24b8162bf9fedbd \
|
||||||
|
--hash=sha256:2c1c351919aca02858f740c6d33adea0c5deea37f9ecca1cc1ef9e884a619d26 \
|
||||||
|
--hash=sha256:36d2bd2ad5fb9eaddba5226aa02c8ec3fa4f192631e347b3ed28186d43be6b54 \
|
||||||
|
--hash=sha256:3d48a93ee1c9b79c04bb38772ee1b64dcf18ff43085896ea460ca8dec96f35f6 \
|
||||||
|
--hash=sha256:47149d5bd38761ac8be13a84864bf0b7b70bc051806bc3669ab1cbc56216b23c \
|
||||||
|
--hash=sha256:4ab97e64ccda8756376892c53a72bd1f964e519c77236368527f758fbc36a53a \
|
||||||
|
--hash=sha256:4b605484e43cdc43f0954ddae319fb75f04cc10dd80d830540060ee7cd0243cd \
|
||||||
|
--hash=sha256:504aa796fe0569bb43171066009ead363de03675276d2d121ac1a4572397870f \
|
||||||
|
--hash=sha256:51529d40e3ca50046d7606fa99ce3956a617f9b36380da3b7f0dd3dd28e68cb5 \
|
||||||
|
--hash=sha256:52c8ef851d9a240f11a88c003eacb03c31fc1c9c4ec64a99a0f922b93874fda9 \
|
||||||
|
--hash=sha256:559db847dc486944896521f68d8190be1c9e719fced785720d2216fe7022b662 \
|
||||||
|
--hash=sha256:5a881ab208c0baf688221f8cecc5401bd291d67e38a1ac884d6736cbcd8247e9 \
|
||||||
|
--hash=sha256:5cb41aa38891e073ee49d55fbc7839cfdb2bc0e600add13874d048c94aadddd1 \
|
||||||
|
--hash=sha256:5e262d41726bc187e69af7825504c933b6794dc3fbd5945e41a79bb14c31f585 \
|
||||||
|
--hash=sha256:5ee18d9ebdb417e384b58fe414e8d6af9f4e7a0ae761519fb50f721de398dd4e \
|
||||||
|
--hash=sha256:7008df2e7655c495dd12d2a4ad038ff878d4ca4b81fccaf82b714e07eae4402c \
|
||||||
|
--hash=sha256:734e20b57ba95624ecf1841e72b53f6e186355e216e5412de414e3c51e5e3c41 \
|
||||||
|
--hash=sha256:7c7e1a961a0b2f2472c1ac5b69affa0ae1132c39adcb67aba98568702b9cc23f \
|
||||||
|
--hash=sha256:7f86fd587c4ed9dd76f318225e7d9b29cfc5a9d43de44e5754db8d1128487085 \
|
||||||
|
--hash=sha256:7f94b27a62cfad8496c8d2513e1a222dd446f095fca8987fceef261225538a15 \
|
||||||
|
--hash=sha256:88dceee75c2c63af144e456745e10101eb67361050196b0b6af5d717254dddf7 \
|
||||||
|
--hash=sha256:8a650c2dbafa08d42e51ba0b62740dae4ecb9338eefa093aa5c78ceb546fcd5c \
|
||||||
|
--hash=sha256:8d65a2fbf9d2f8352685bc1364177ee3923d6baf5e7f43ea4959d7d8bc326a36 \
|
||||||
|
--hash=sha256:96481a5786729fd470164b47cdb3e0e58062a496f455ee41b4403be77cb5a076 \
|
||||||
|
--hash=sha256:a120733b01c45e9a0c34aeef92bf0cf1d56cfe81ed9d47d562f9ed591a9828ac \
|
||||||
|
--hash=sha256:b1d22e6e9387bf4739fbe23bfa80e93f6b0373a7f1b96c6227c32bef95a4d7a8 \
|
||||||
|
--hash=sha256:b8c198f8c1805dc42708689ed6864951fd2494f924149d3e4bce7710f8eb5232 \
|
||||||
|
--hash=sha256:c2541745709bad0264b7d4705ad453b76ccd191e64aa6f0fc66b69a293a45ece \
|
||||||
|
--hash=sha256:c742f741d58a28940ce01d58f0ab2ea3ced8b12402f162f4d534dfe18ba1cd6a \
|
||||||
|
--hash=sha256:c7f2c7f2b9ca6bdeef8f0fa897f8e05085923eb091721675170254cbc5b02897 \
|
||||||
|
--hash=sha256:d312ef37c91508b0ab2cee7da26ec0b3ed2f03ce12bd87a588d771ae15dcf82d \
|
||||||
|
--hash=sha256:d4d8fe59808a54658fcc0160ecfb1b30f9089906c50b23bcb4c69eddc19ec2b4 \
|
||||||
|
--hash=sha256:da25dc3563bff5965356133435b757a795a17b17d01dbc0f42fb32447ddfd917 \
|
||||||
|
--hash=sha256:eab21f45c7f66c13f2a9e0e1535309cee140182a9cdae1e041d02e47291e8396 \
|
||||||
|
--hash=sha256:eb0dc4e38e6a1fd579e5d50369aa2e10acfc9cace504579b2faabb478e76941a \
|
||||||
|
--hash=sha256:ec9bfaf3ad2df51ace80688143a6a4ebc09a248f6ff781a9945e51937008fcbc \
|
||||||
|
--hash=sha256:ede3e6487c5ef5d28634ba3f31f989030ad6af71edfb0055cbbd14189ff240ba \
|
||||||
|
--hash=sha256:f3c6818a1a86dd6dca7ddcaaf76947d5ba31aecc28cb1b67009a5877c9a64f3f \
|
||||||
|
--hash=sha256:f758f1b9299d059cc3f6546ae2af89670cb1c4d48ea29c3cacc4fe7de3058257 \
|
||||||
|
--hash=sha256:f8f0fc26ec2cc2b965b7a3b87cd19c5c6b8c5e5f436b984e85f486d652285c30 \
|
||||||
|
--hash=sha256:fd0409a3653af6c147209d267a0e4243f0ae46b011aa978b1080359fddc9b6cf \
|
||||||
|
--hash=sha256:ff18e6a727ee0ab0388507b89d1bc6a22b138d1e2fa56d1ad494586d61d2eae9 \
|
||||||
|
--hash=sha256:ff2983983d34813c1aeb0fa89091e76c3a22889ee83ab27c5eeb45100560c049
|
||||||
|
# via coverage
|
||||||
|
ty==0.0.51 \
|
||||||
|
--hash=sha256:08adbe53fb8bc9e7f00e89bf1d3c875a02cda76d83f109d2e6ab1ff35a7bfa8c \
|
||||||
|
--hash=sha256:25a5b31e6f23fd5dc63ad29087ded09932409e4154e2fe07bbaed015035990bb \
|
||||||
|
--hash=sha256:2faed19a8f1505370de071c008df52a994fc03a204f3267c3a33a32ca26f854f \
|
||||||
|
--hash=sha256:429a997394dac73870d71b87cc90efc54da3efaf319e72ca18aeef35a78aef90 \
|
||||||
|
--hash=sha256:49a21237f6fd1de56beaff0a3e85fe022a09a3401e67e3abec41ce838a5d4d2e \
|
||||||
|
--hash=sha256:608d417cd1eaf79bcbd713d9830d5e3db9d57ec225c3af3e4ac9a9ff66b45d70 \
|
||||||
|
--hash=sha256:61b4b6a003c3ebe53a63a1125c9b6542aa01bc1b6c9a235d01ee328d000d61a9 \
|
||||||
|
--hash=sha256:62ced5e380284f12b2dc4802a3e4ed3dac39913fc6719afde7978814a4c7f169 \
|
||||||
|
--hash=sha256:62d94f06e8c317e89b6884f2bde443040e596b88c7c79bd944c84c105b06257a \
|
||||||
|
--hash=sha256:79d1877e93460f936bc10ed1a31525702b7ce51075763ccba993be17f0b9e905 \
|
||||||
|
--hash=sha256:947986bd82d324b3a5c58ce03f1dad160cdf36443d3e8f64b3484b861ba9bc64 \
|
||||||
|
--hash=sha256:abd92913bc90d1705ef9391ff8c6822b61e2e827fa295eb30bf0dfabcf815645 \
|
||||||
|
--hash=sha256:b90172d46365bb9d51a7011cbb5c60cc4f514f42c86635df6c092b717f85e1ac \
|
||||||
|
--hash=sha256:bc7459348a253247bbfb2669a021e614281b86bbea24c36112b8a6e1a2499a16 \
|
||||||
|
--hash=sha256:c1bd1355aee86af01e4e21b0bc16fc460fb05905761f0d8b8d70841de0feade8 \
|
||||||
|
--hash=sha256:cc233a6235fb23e2a44b14731a10043e37ba2f30f2c361cf49ad3633c5b9da9c \
|
||||||
|
--hash=sha256:dc5e93695ab5dcbf1eef663aee60ec23a413547cc9cb06adcb0d842e9166bd0f \
|
||||||
|
--hash=sha256:f8f52952cff665bc52a36147e610c10f5699d30007d7a14ab7f345cff93476ff
|
||||||
|
win32-setctime==1.2.0 ; sys_platform == 'win32' \
|
||||||
|
--hash=sha256:95d644c4e708aba81dc3704a116d8cbc974d70b3bdb8be1d150e36be6e9d1390 \
|
||||||
|
--hash=sha256:ae1fdf948f5640aae05c511ade119313fb6a30d7eabe25fef9764dca5873c4c0
|
||||||
|
# via loguru
|
||||||
|
|||||||
+2
-5
@@ -2,7 +2,7 @@ use ndarray::{ArrayBase, Ix2, OwnedRepr};
|
|||||||
use numpy::{PyArray2, ToPyArray};
|
use numpy::{PyArray2, ToPyArray};
|
||||||
use pyo3::exceptions;
|
use pyo3::exceptions;
|
||||||
use pyo3::prelude::*;
|
use pyo3::prelude::*;
|
||||||
use std::path::Path;
|
use std::path::PathBuf;
|
||||||
|
|
||||||
pub mod rust_fn;
|
pub mod rust_fn;
|
||||||
|
|
||||||
@@ -60,10 +60,7 @@ fn read_selected_layers(
|
|||||||
_py: Python<'_>,
|
_py: Python<'_>,
|
||||||
file_list: Vec<String>,
|
file_list: Vec<String>,
|
||||||
) -> PyResult<Bound<'_, PyArray2<f64>>> {
|
) -> PyResult<Bound<'_, PyArray2<f64>>> {
|
||||||
let path_list = file_list
|
let path_list = file_list.iter().map(PathBuf::from).collect();
|
||||||
.iter()
|
|
||||||
.map(|x| Path::new(x).to_path_buf())
|
|
||||||
.collect();
|
|
||||||
let rs_result = rust_fn::read_selected_layers(path_list)?;
|
let rs_result = rust_fn::read_selected_layers(path_list)?;
|
||||||
let py_result = rs_result.to_pyarray(_py);
|
let py_result = rs_result.to_pyarray(_py);
|
||||||
Ok(py_result)
|
Ok(py_result)
|
||||||
|
|||||||
+44
-33
@@ -1,7 +1,7 @@
|
|||||||
use csv::ReaderBuilder;
|
use csv::ReaderBuilder;
|
||||||
use glob::glob;
|
use glob::glob;
|
||||||
use indicatif::ProgressBar;
|
use indicatif::ProgressBar;
|
||||||
use ndarray::{concatenate, stack, Array1, Array2, ArrayView1, ArrayView2, Axis, Slice};
|
use ndarray::{Array1, Array2, ArrayView1, ArrayView2, Axis, Slice, concatenate, stack};
|
||||||
use rayon::prelude::*;
|
use rayon::prelude::*;
|
||||||
use std::fs::File;
|
use std::fs::File;
|
||||||
use std::path::{Path, PathBuf};
|
use std::path::{Path, PathBuf};
|
||||||
@@ -37,7 +37,7 @@ pub enum ReadError {
|
|||||||
pub type Result<T> = std::result::Result<T, ReadError>;
|
pub type Result<T> = std::result::Result<T, ReadError>;
|
||||||
|
|
||||||
pub fn read_layers(folder: &str) -> Result<Array2<f64>> {
|
pub fn read_layers(folder: &str) -> Result<Array2<f64>> {
|
||||||
let glob_string: String = folder.to_owned() + "/*.pcd";
|
let glob_string = format!("{}/*.pcd", folder);
|
||||||
let mut glob_iterator = glob(glob_string.as_str())?
|
let mut glob_iterator = glob(glob_string.as_str())?
|
||||||
.collect::<std::result::Result<Vec<PathBuf>, glob::GlobError>>()?;
|
.collect::<std::result::Result<Vec<PathBuf>, glob::GlobError>>()?;
|
||||||
glob_iterator.par_sort_unstable_by(|a, b| {
|
glob_iterator.par_sort_unstable_by(|a, b| {
|
||||||
@@ -107,7 +107,7 @@ pub fn read_selected_layers(file_list: Vec<PathBuf>) -> Result<Array2<f64>> {
|
|||||||
.zip(z_lens.par_iter_mut())
|
.zip(z_lens.par_iter_mut())
|
||||||
.try_for_each(
|
.try_for_each(
|
||||||
|(((filepath, array_element), z_vals_element), z_lens_element)| -> Result<()> {
|
|(((filepath, array_element), z_vals_element), z_lens_element)| -> Result<()> {
|
||||||
let (array, z, z_len) = read_file(filepath.to_path_buf())?;
|
let (array, z, z_len) = read_file(filepath.clone())?;
|
||||||
*array_element = array;
|
*array_element = array;
|
||||||
*z_vals_element = z;
|
*z_vals_element = z;
|
||||||
*z_lens_element = z_len;
|
*z_lens_element = z_len;
|
||||||
@@ -175,25 +175,32 @@ pub fn read_file(filepath: PathBuf) -> Result<(Array2<f64>, f64, usize)> {
|
|||||||
.delimiter(b' ')
|
.delimiter(b' ')
|
||||||
.has_headers(false)
|
.has_headers(false)
|
||||||
.from_reader(file);
|
.from_reader(file);
|
||||||
let data = rdr
|
|
||||||
.records()
|
let mut flat_data = Vec::new();
|
||||||
.collect::<std::result::Result<Vec<csv::StringRecord>, _>>()?
|
let mut width = 0;
|
||||||
.iter()
|
let mut length = 0;
|
||||||
.map(|x| {
|
|
||||||
x.iter()
|
for result in rdr.records() {
|
||||||
.map(|y| y.parse::<i64>().map_err(ReadError::ParseIntError))
|
let record = result?;
|
||||||
.collect::<Result<Vec<i64>>>()
|
length += 1;
|
||||||
})
|
|
||||||
.collect::<Result<Vec<_>>>()?;
|
if width == 0 {
|
||||||
let length = data.len();
|
width = record.len();
|
||||||
let width = data[0].len(); // WARNING: assumes fixed width columns!
|
} else if record.len() != width {
|
||||||
let mut arr: Array2<f64> = Array2::zeros((length, width));
|
return Err(ReadError::MiscError(format!(
|
||||||
for (data_row, mut arr_row) in data.iter().zip(arr.axis_iter_mut(Axis(0))) {
|
"Inconsistent row width: expected {}, found {}",
|
||||||
for (data_i, arr_i) in data_row.iter().zip(arr_row.iter_mut()) {
|
width,
|
||||||
*arr_i = *data_i as f64
|
record.len()
|
||||||
|
)));
|
||||||
|
}
|
||||||
|
|
||||||
|
for field in record.iter() {
|
||||||
|
flat_data.push(field.parse::<f64>()?);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
let arr = Array2::from_shape_vec((length, width), flat_data)?;
|
||||||
|
|
||||||
Ok((arr, z, length))
|
Ok((arr, z, length))
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -236,7 +243,7 @@ mod tests {
|
|||||||
};
|
};
|
||||||
use std::path::PathBuf;
|
use std::path::PathBuf;
|
||||||
use tar::Archive;
|
use tar::Archive;
|
||||||
use tempfile::{tempdir, TempDir};
|
use tempfile::{TempDir, tempdir};
|
||||||
use xz::read::XzDecoder;
|
use xz::read::XzDecoder;
|
||||||
|
|
||||||
const TEST_DATA_FILE: &str = "tests/correct.tar.xz";
|
const TEST_DATA_FILE: &str = "tests/correct.tar.xz";
|
||||||
@@ -354,7 +361,7 @@ mod tests {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if buffer.len() > 0 {
|
if !buffer.is_empty() {
|
||||||
let flexbuf = Reader::get_root(buffer.as_slice())?;
|
let flexbuf = Reader::get_root(buffer.as_slice())?;
|
||||||
let ar: Array1<f64> = Array1::deserialize(flexbuf)?;
|
let ar: Array1<f64> = Array1::deserialize(flexbuf)?;
|
||||||
Ok(ar)
|
Ok(ar)
|
||||||
@@ -382,12 +389,14 @@ mod tests {
|
|||||||
let true_x = unpack_test_data("correct_x_out.flex").unwrap();
|
let true_x = unpack_test_data("correct_x_out.flex").unwrap();
|
||||||
let mut test_x = Array::range(-1000000., 1000000., 1.);
|
let mut test_x = Array::range(-1000000., 1000000., 1.);
|
||||||
test_x.par_map_inplace(rust_fn::correct_x);
|
test_x.par_map_inplace(rust_fn::correct_x);
|
||||||
assert!(true_x
|
assert!(
|
||||||
.iter()
|
true_x
|
||||||
.zip(test_x.iter())
|
.iter()
|
||||||
.all(|(&x, y): (&f64, &f64)| -> bool {
|
.zip(test_x.iter())
|
||||||
x.ulps_eq(y, f64::default_epsilon(), f64::default_max_ulps())
|
.all(|(&x, y): (&f64, &f64)| -> bool {
|
||||||
}));
|
x.ulps_eq(y, f64::default_epsilon(), f64::default_max_ulps())
|
||||||
|
})
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
@@ -405,11 +414,13 @@ mod tests {
|
|||||||
let true_y = unpack_test_data("correct_y_out.flex").unwrap();
|
let true_y = unpack_test_data("correct_y_out.flex").unwrap();
|
||||||
let mut test_y = Array::range(-1000000., 1000000., 1.);
|
let mut test_y = Array::range(-1000000., 1000000., 1.);
|
||||||
test_y.par_map_inplace(rust_fn::correct_y);
|
test_y.par_map_inplace(rust_fn::correct_y);
|
||||||
assert!(true_y
|
assert!(
|
||||||
.iter()
|
true_y
|
||||||
.zip(test_y.iter())
|
.iter()
|
||||||
.all(|(&x, y): (&f64, &f64)| -> bool {
|
.zip(test_y.iter())
|
||||||
x.ulps_eq(y, f64::default_epsilon(), f64::default_max_ulps())
|
.all(|(&x, y): (&f64, &f64)| -> bool {
|
||||||
}));
|
x.ulps_eq(y, f64::default_epsilon(), f64::default_max_ulps())
|
||||||
|
})
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
@@ -34,11 +34,11 @@ def write_layers_to_dir(dir_path):
|
|||||||
# Sorts arrays without mixing datapoints
|
# Sorts arrays without mixing datapoints
|
||||||
# This is needed because we dont need to guarantee read order
|
# This is needed because we dont need to guarantee read order
|
||||||
def sort_result(ar):
|
def sort_result(ar):
|
||||||
ar = ar[ar[:, 4].argsort()]
|
ar = ar[ar[:, 4].argsort(kind='stable')]
|
||||||
ar = ar[ar[:, 3].argsort()]
|
ar = ar[ar[:, 3].argsort(kind='stable')]
|
||||||
ar = ar[ar[:, 0].argsort()]
|
ar = ar[ar[:, 0].argsort(kind='stable')]
|
||||||
ar = ar[ar[:, 1].argsort()]
|
ar = ar[ar[:, 1].argsort(kind='stable')]
|
||||||
ar = ar[ar[:, 2].argsort()]
|
ar = ar[ar[:, 2].argsort(kind='stable')]
|
||||||
return ar
|
return ar
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user