npyquick 0.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.
- npyquick-0.1.0/.claude/settings.local.json +7 -0
- npyquick-0.1.0/.github/workflows/test.yml +55 -0
- npyquick-0.1.0/.gitignore +11 -0
- npyquick-0.1.0/LICENSE +674 -0
- npyquick-0.1.0/PKG-INFO +213 -0
- npyquick-0.1.0/README.md +184 -0
- npyquick-0.1.0/docs/assets/icon-dark.svg +446 -0
- npyquick-0.1.0/docs/assets/icon-light.svg +438 -0
- npyquick-0.1.0/docs/assets/logo-horizontal-dark.svg +446 -0
- npyquick-0.1.0/docs/assets/logo-horizontal-light.svg +438 -0
- npyquick-0.1.0/docs/assets/screenshot-hist.png +0 -0
- npyquick-0.1.0/docs/assets/screenshot-line.png +0 -0
- npyquick-0.1.0/docs/assets/screenshot-npz.png +0 -0
- npyquick-0.1.0/docs/assets/screenshot-px-size.png +0 -0
- npyquick-0.1.0/docs/assets/screenshot-rgb.png +0 -0
- npyquick-0.1.0/docs/assets/screenshot-table.png +0 -0
- npyquick-0.1.0/docs/behavior.md +184 -0
- npyquick-0.1.0/environment.yml +8 -0
- npyquick-0.1.0/pyproject.toml +49 -0
- npyquick-0.1.0/src/npyquick/__init__.py +4 -0
- npyquick-0.1.0/src/npyquick/app.py +456 -0
- npyquick-0.1.0/src/npyquick/core/__init__.py +1 -0
- npyquick-0.1.0/src/npyquick/core/coord.py +46 -0
- npyquick-0.1.0/src/npyquick/core/limits.py +40 -0
- npyquick-0.1.0/src/npyquick/core/npyheader.py +63 -0
- npyquick-0.1.0/src/npyquick/core/profile.py +47 -0
- npyquick-0.1.0/src/npyquick/core/stats.py +90 -0
- npyquick-0.1.0/src/npyquick/main.py +36 -0
- npyquick-0.1.0/src/npyquick/model.py +84 -0
- npyquick-0.1.0/src/npyquick/views/__init__.py +1 -0
- npyquick-0.1.0/src/npyquick/views/base.py +117 -0
- npyquick-0.1.0/src/npyquick/views/histogram.py +333 -0
- npyquick-0.1.0/src/npyquick/views/image.py +548 -0
- npyquick-0.1.0/src/npyquick/views/lineplot.py +376 -0
- npyquick-0.1.0/src/npyquick/views/pixel_size_dialog.py +155 -0
- npyquick-0.1.0/src/npyquick/views/table.py +168 -0
- npyquick-0.1.0/tests/conftest.py +58 -0
- npyquick-0.1.0/tests/test_app_workflow.py +123 -0
- npyquick-0.1.0/tests/test_core_coord.py +73 -0
- npyquick-0.1.0/tests/test_core_profile.py +74 -0
- npyquick-0.1.0/tests/test_eval_expr.py +59 -0
- npyquick-0.1.0/tests/test_export_gating.py +86 -0
- npyquick-0.1.0/tests/test_histogram.py +266 -0
- npyquick-0.1.0/tests/test_image_canvas.py +138 -0
- npyquick-0.1.0/tests/test_large_files.py +245 -0
- npyquick-0.1.0/tests/test_limits.py +24 -0
- npyquick-0.1.0/tests/test_lineplot.py +169 -0
- npyquick-0.1.0/tests/test_model.py +114 -0
- npyquick-0.1.0/tests/test_npyheader.py +63 -0
- npyquick-0.1.0/tests/test_npz_picker.py +83 -0
- npyquick-0.1.0/tests/test_stability.py +89 -0
- npyquick-0.1.0/tests/test_stats.py +220 -0
- npyquick-0.1.0/tests/test_table_model.py +134 -0
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
name: tests
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main, pcm]
|
|
6
|
+
pull_request:
|
|
7
|
+
branches: [main]
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
test:
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
strategy:
|
|
13
|
+
matrix:
|
|
14
|
+
python-version: ["3.10", "3.11", "3.12"]
|
|
15
|
+
|
|
16
|
+
steps:
|
|
17
|
+
- uses: actions/checkout@v4
|
|
18
|
+
|
|
19
|
+
- uses: actions/setup-python@v5
|
|
20
|
+
with:
|
|
21
|
+
python-version: ${{ matrix.python-version }}
|
|
22
|
+
cache: pip
|
|
23
|
+
|
|
24
|
+
- name: Install Qt offscreen runtime deps
|
|
25
|
+
run: |
|
|
26
|
+
sudo apt-get update
|
|
27
|
+
sudo apt-get install -y \
|
|
28
|
+
libegl1 libxkbcommon0 libdbus-1-3 libxcb-cursor0 \
|
|
29
|
+
libxcb-icccm4 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 \
|
|
30
|
+
libxcb-shape0 libxcb-sync1 libxcb-xfixes0 libxcb-xinerama0 \
|
|
31
|
+
libxcb-xkb1 libxkbcommon-x11-0
|
|
32
|
+
|
|
33
|
+
- name: Install package with dev extras
|
|
34
|
+
run: pip install -e .[dev]
|
|
35
|
+
|
|
36
|
+
- name: Run tests
|
|
37
|
+
env:
|
|
38
|
+
QT_QPA_PLATFORM: offscreen
|
|
39
|
+
run: pytest
|
|
40
|
+
|
|
41
|
+
build:
|
|
42
|
+
runs-on: ubuntu-latest
|
|
43
|
+
steps:
|
|
44
|
+
- uses: actions/checkout@v4
|
|
45
|
+
|
|
46
|
+
- uses: actions/setup-python@v5
|
|
47
|
+
with:
|
|
48
|
+
python-version: "3.12"
|
|
49
|
+
cache: pip
|
|
50
|
+
|
|
51
|
+
- name: Build distributions
|
|
52
|
+
run: |
|
|
53
|
+
pip install build twine
|
|
54
|
+
python -m build
|
|
55
|
+
twine check dist/*
|