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.
Files changed (53) hide show
  1. npyquick-0.1.0/.claude/settings.local.json +7 -0
  2. npyquick-0.1.0/.github/workflows/test.yml +55 -0
  3. npyquick-0.1.0/.gitignore +11 -0
  4. npyquick-0.1.0/LICENSE +674 -0
  5. npyquick-0.1.0/PKG-INFO +213 -0
  6. npyquick-0.1.0/README.md +184 -0
  7. npyquick-0.1.0/docs/assets/icon-dark.svg +446 -0
  8. npyquick-0.1.0/docs/assets/icon-light.svg +438 -0
  9. npyquick-0.1.0/docs/assets/logo-horizontal-dark.svg +446 -0
  10. npyquick-0.1.0/docs/assets/logo-horizontal-light.svg +438 -0
  11. npyquick-0.1.0/docs/assets/screenshot-hist.png +0 -0
  12. npyquick-0.1.0/docs/assets/screenshot-line.png +0 -0
  13. npyquick-0.1.0/docs/assets/screenshot-npz.png +0 -0
  14. npyquick-0.1.0/docs/assets/screenshot-px-size.png +0 -0
  15. npyquick-0.1.0/docs/assets/screenshot-rgb.png +0 -0
  16. npyquick-0.1.0/docs/assets/screenshot-table.png +0 -0
  17. npyquick-0.1.0/docs/behavior.md +184 -0
  18. npyquick-0.1.0/environment.yml +8 -0
  19. npyquick-0.1.0/pyproject.toml +49 -0
  20. npyquick-0.1.0/src/npyquick/__init__.py +4 -0
  21. npyquick-0.1.0/src/npyquick/app.py +456 -0
  22. npyquick-0.1.0/src/npyquick/core/__init__.py +1 -0
  23. npyquick-0.1.0/src/npyquick/core/coord.py +46 -0
  24. npyquick-0.1.0/src/npyquick/core/limits.py +40 -0
  25. npyquick-0.1.0/src/npyquick/core/npyheader.py +63 -0
  26. npyquick-0.1.0/src/npyquick/core/profile.py +47 -0
  27. npyquick-0.1.0/src/npyquick/core/stats.py +90 -0
  28. npyquick-0.1.0/src/npyquick/main.py +36 -0
  29. npyquick-0.1.0/src/npyquick/model.py +84 -0
  30. npyquick-0.1.0/src/npyquick/views/__init__.py +1 -0
  31. npyquick-0.1.0/src/npyquick/views/base.py +117 -0
  32. npyquick-0.1.0/src/npyquick/views/histogram.py +333 -0
  33. npyquick-0.1.0/src/npyquick/views/image.py +548 -0
  34. npyquick-0.1.0/src/npyquick/views/lineplot.py +376 -0
  35. npyquick-0.1.0/src/npyquick/views/pixel_size_dialog.py +155 -0
  36. npyquick-0.1.0/src/npyquick/views/table.py +168 -0
  37. npyquick-0.1.0/tests/conftest.py +58 -0
  38. npyquick-0.1.0/tests/test_app_workflow.py +123 -0
  39. npyquick-0.1.0/tests/test_core_coord.py +73 -0
  40. npyquick-0.1.0/tests/test_core_profile.py +74 -0
  41. npyquick-0.1.0/tests/test_eval_expr.py +59 -0
  42. npyquick-0.1.0/tests/test_export_gating.py +86 -0
  43. npyquick-0.1.0/tests/test_histogram.py +266 -0
  44. npyquick-0.1.0/tests/test_image_canvas.py +138 -0
  45. npyquick-0.1.0/tests/test_large_files.py +245 -0
  46. npyquick-0.1.0/tests/test_limits.py +24 -0
  47. npyquick-0.1.0/tests/test_lineplot.py +169 -0
  48. npyquick-0.1.0/tests/test_model.py +114 -0
  49. npyquick-0.1.0/tests/test_npyheader.py +63 -0
  50. npyquick-0.1.0/tests/test_npz_picker.py +83 -0
  51. npyquick-0.1.0/tests/test_stability.py +89 -0
  52. npyquick-0.1.0/tests/test_stats.py +220 -0
  53. npyquick-0.1.0/tests/test_table_model.py +134 -0
@@ -0,0 +1,7 @@
1
+ {
2
+ "permissions": {
3
+ "allow": [
4
+ "Bash(conda run *)"
5
+ ]
6
+ }
7
+ }
@@ -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/*
@@ -0,0 +1,11 @@
1
+ __pycache__/
2
+ *.py[cod]
3
+ *.egg
4
+ *.egg-info/
5
+ dist/
6
+ build/
7
+ .venv/
8
+ *.so
9
+ .DS_Store
10
+ .pytest_cache/
11
+ .ipynb_checkpoints/