napari-czitools 0.0.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.
- napari_czitools-0.0.2/.github/workflows/test_and_deploy_pypi.old +98 -0
- napari_czitools-0.0.2/.github/workflows/test_and_deploy_pypi.yml +104 -0
- napari_czitools-0.0.2/.github/workflows/test_and_deploy_testpypi.yml +105 -0
- napari_czitools-0.0.2/.gitignore +84 -0
- napari_czitools-0.0.2/.napari-hub/DESCRIPTION.md +9 -0
- napari_czitools-0.0.2/.napari-hub/config.yml +9 -0
- napari_czitools-0.0.2/.pre-commit-config.yaml +27 -0
- napari_czitools-0.0.2/LICENSE +22 -0
- napari_czitools-0.0.2/MANIFEST.in +18 -0
- napari_czitools-0.0.2/PKG-INFO +243 -0
- napari_czitools-0.0.2/README.md +178 -0
- napari_czitools-0.0.2/pyproject.toml +124 -0
- napari_czitools-0.0.2/readme_images/file_open_mdtable_lls7.png +0 -0
- napari_czitools-0.0.2/readme_images/load_pixel1.png +0 -0
- napari_czitools-0.0.2/readme_images/load_pixel2.png +0 -0
- napari_czitools-0.0.2/readme_images/open_sample1.png +0 -0
- napari_czitools-0.0.2/readme_images/open_sample_3D.png +0 -0
- napari_czitools-0.0.2/readme_images/open_sample_5D.png +0 -0
- napari_czitools-0.0.2/readme_images/open_sample_airyscan.png +0 -0
- napari_czitools-0.0.2/readme_images/open_sample_wellplate.png +0 -0
- napari_czitools-0.0.2/readme_images/reader_adv1.png +0 -0
- napari_czitools-0.0.2/readme_images/reader_adv2.png +0 -0
- napari_czitools-0.0.2/readme_images/register_czitools_plugin.png +0 -0
- napari_czitools-0.0.2/readme_images/title_pic.png +0 -0
- napari_czitools-0.0.2/setup.cfg +4 -0
- napari_czitools-0.0.2/src/experimental/README - Copy.md +147 -0
- napari_czitools-0.0.2/src/experimental/_check.py +25 -0
- napari_czitools-0.0.2/src/experimental/_widget copy.py +192 -0
- napari_czitools-0.0.2/src/experimental/doublerange_slider.py +201 -0
- napari_czitools-0.0.2/src/experimental/maguigui_czi.py +85 -0
- napari_czitools-0.0.2/src/experimental/min_example.yml +33 -0
- napari_czitools-0.0.2/src/experimental/range_sldier_test_3.py +57 -0
- napari_czitools-0.0.2/src/experimental/range_slider_pyqt5.py +247 -0
- napari_czitools-0.0.2/src/experimental/range_slider_test.py +0 -0
- napari_czitools-0.0.2/src/experimental/range_slider_triangle_rb.py +231 -0
- napari_czitools-0.0.2/src/experimental/read__nested.py +24 -0
- napari_czitools-0.0.2/src/experimental/test.yml +0 -0
- napari_czitools-0.0.2/src/experimental/test.yml.old +49 -0
- napari_czitools-0.0.2/src/experimental/test_rspyqt5.py +266 -0
- napari_czitools-0.0.2/src/experimental/toggle_wigets.py +49 -0
- napari_czitools-0.0.2/src/experimental/try_array_from_url.py +28 -0
- napari_czitools-0.0.2/src/napari_czitools/__init__.py +28 -0
- napari_czitools-0.0.2/src/napari_czitools/_datatreewidget.py +132 -0
- napari_czitools-0.0.2/src/napari_czitools/_doublerange_slider.py +873 -0
- napari_czitools-0.0.2/src/napari_czitools/_io.py +240 -0
- napari_czitools-0.0.2/src/napari_czitools/_metadata_widget.py +269 -0
- napari_czitools-0.0.2/src/napari_czitools/_range_widget.py +98 -0
- napari_czitools-0.0.2/src/napari_czitools/_reader.py +130 -0
- napari_czitools-0.0.2/src/napari_czitools/_sample_data.py +99 -0
- napari_czitools-0.0.2/src/napari_czitools/_tests/__init__.py +0 -0
- napari_czitools-0.0.2/src/napari_czitools/_tests/test_file_changed.py +74 -0
- napari_czitools-0.0.2/src/napari_czitools/_tests/test_range_widget.py +83 -0
- napari_czitools-0.0.2/src/napari_czitools/_tests/test_reader.py +27 -0
- napari_czitools-0.0.2/src/napari_czitools/_tests/test_sample_data.py +136 -0
- napari_czitools-0.0.2/src/napari_czitools/_tests/test_type_column.py +76 -0
- napari_czitools-0.0.2/src/napari_czitools/_tests/test_url_metadata.py +155 -0
- napari_czitools-0.0.2/src/napari_czitools/_tests/test_utilities.py +48 -0
- napari_czitools-0.0.2/src/napari_czitools/_tests/test_widget.py +39 -0
- napari_czitools-0.0.2/src/napari_czitools/_utilities.py +93 -0
- napari_czitools-0.0.2/src/napari_czitools/_version.py +34 -0
- napari_czitools-0.0.2/src/napari_czitools/_widget.py +352 -0
- napari_czitools-0.0.2/src/napari_czitools/napari.yaml +71 -0
- napari_czitools-0.0.2/src/napari_czitools/try_array_from_url.py +0 -0
- napari_czitools-0.0.2/src/napari_czitools.egg-info/PKG-INFO +243 -0
- napari_czitools-0.0.2/src/napari_czitools.egg-info/SOURCES.txt +68 -0
- napari_czitools-0.0.2/src/napari_czitools.egg-info/dependency_links.txt +1 -0
- napari_czitools-0.0.2/src/napari_czitools.egg-info/entry_points.txt +2 -0
- napari_czitools-0.0.2/src/napari_czitools.egg-info/requires.txt +15 -0
- napari_czitools-0.0.2/src/napari_czitools.egg-info/top_level.txt +2 -0
- napari_czitools-0.0.2/tox.ini +33 -0
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
# This workflows will upload a Python Package using Twine when a release is created
|
|
2
|
+
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
|
|
3
|
+
|
|
4
|
+
name: test_and_deploy
|
|
5
|
+
|
|
6
|
+
on:
|
|
7
|
+
push:
|
|
8
|
+
branches:
|
|
9
|
+
- main
|
|
10
|
+
- npe2
|
|
11
|
+
tags:
|
|
12
|
+
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10
|
|
13
|
+
pull_request:
|
|
14
|
+
branches:
|
|
15
|
+
- main
|
|
16
|
+
- npe2
|
|
17
|
+
workflow_dispatch:
|
|
18
|
+
|
|
19
|
+
jobs:
|
|
20
|
+
test:
|
|
21
|
+
name: ${{ matrix.platform }} py${{ matrix.python-version }}
|
|
22
|
+
runs-on: ${{ matrix.platform }}
|
|
23
|
+
timeout-minutes: 30
|
|
24
|
+
strategy:
|
|
25
|
+
matrix:
|
|
26
|
+
platform: [ubuntu-latest, windows-latest, macos-latest]
|
|
27
|
+
python-version: ["3.10", "3.11", "3.12"]
|
|
28
|
+
|
|
29
|
+
steps:
|
|
30
|
+
- uses: actions/checkout@v4
|
|
31
|
+
|
|
32
|
+
- name: Set up Python ${{ matrix.python-version }}
|
|
33
|
+
uses: actions/setup-python@v5
|
|
34
|
+
with:
|
|
35
|
+
python-version: ${{ matrix.python-version }}
|
|
36
|
+
|
|
37
|
+
#- name: Install system dependencies for GUI testing
|
|
38
|
+
# if: runner.os == 'Linux'
|
|
39
|
+
# run: |
|
|
40
|
+
# sudo apt-get update
|
|
41
|
+
# sudo apt-get install -y xvfb libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0
|
|
42
|
+
|
|
43
|
+
# these libraries enable testing on Qt on linux
|
|
44
|
+
- uses: tlambert03/setup-qt-libs@v1
|
|
45
|
+
|
|
46
|
+
# strategy borrowed from vispy for installing opengl libs on windows
|
|
47
|
+
- name: Install Windows OpenGL
|
|
48
|
+
if: runner.os == 'Windows'
|
|
49
|
+
run: |
|
|
50
|
+
git clone --depth 1 https://github.com/pyvista/gl-ci-helpers.git
|
|
51
|
+
powershell gl-ci-helpers/appveyor/install_opengl.ps1
|
|
52
|
+
|
|
53
|
+
# note: if you need dependencies from conda, considering using
|
|
54
|
+
# setup-miniconda: https://github.com/conda-incubator/setup-miniconda
|
|
55
|
+
# and
|
|
56
|
+
# tox-conda: https://github.com/tox-dev/tox-conda
|
|
57
|
+
- name: Install dependencies
|
|
58
|
+
run: |
|
|
59
|
+
python -m pip install --upgrade pip
|
|
60
|
+
python -m pip install setuptools tox tox-gh-actions pytest pytest-cov pytest-qt
|
|
61
|
+
|
|
62
|
+
- name: Set Qt environment for headless testing
|
|
63
|
+
run: |
|
|
64
|
+
echo "QT_QPA_PLATFORM=offscreen" >> $GITHUB_ENV
|
|
65
|
+
echo "DISPLAY=:99" >> $GITHUB_ENV
|
|
66
|
+
|
|
67
|
+
# this runs the platform-specific tests declared in tox.ini
|
|
68
|
+
- name: Test with tox
|
|
69
|
+
uses: aganders3/headless-gui@v2
|
|
70
|
+
with:
|
|
71
|
+
run: python -m tox
|
|
72
|
+
env:
|
|
73
|
+
PLATFORM: ${{ matrix.platform }}
|
|
74
|
+
|
|
75
|
+
- name: Coverage
|
|
76
|
+
uses: codecov/codecov-action@v3
|
|
77
|
+
|
|
78
|
+
deploy:
|
|
79
|
+
# this will run when you have tagged a commit, starting with "v*"
|
|
80
|
+
# and requires that you have put your twine API key in your
|
|
81
|
+
# github secrets (see readme for details)
|
|
82
|
+
needs: [test]
|
|
83
|
+
runs-on: ubuntu-latest
|
|
84
|
+
if: contains(github.ref, 'tags')
|
|
85
|
+
steps:
|
|
86
|
+
- uses: actions/checkout@v4
|
|
87
|
+
- name: Set up Python
|
|
88
|
+
uses: actions/setup-python@v5
|
|
89
|
+
with:
|
|
90
|
+
python-version: "3.x"
|
|
91
|
+
- name: Install dependencies
|
|
92
|
+
run: |
|
|
93
|
+
python -m pip install --upgrade pip
|
|
94
|
+
pip install -U setuptools setuptools_scm wheel twine build
|
|
95
|
+
- name: Build and publish
|
|
96
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
97
|
+
with:
|
|
98
|
+
password: ${{ secrets.NAPARI_PYPI_TOKEN }}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
# This workflows will upload a Python Package using Twine when a release is created
|
|
2
|
+
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
|
|
3
|
+
|
|
4
|
+
# how to release a new version: https://github.com/napari/napari-plugin-template/blob/main/README.md
|
|
5
|
+
|
|
6
|
+
name: test_and_deploy_pypi
|
|
7
|
+
|
|
8
|
+
on:
|
|
9
|
+
push:
|
|
10
|
+
branches:
|
|
11
|
+
- main
|
|
12
|
+
- npe2
|
|
13
|
+
tags:
|
|
14
|
+
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10
|
|
15
|
+
pull_request:
|
|
16
|
+
branches:
|
|
17
|
+
- main
|
|
18
|
+
- npe2
|
|
19
|
+
workflow_dispatch:
|
|
20
|
+
|
|
21
|
+
jobs:
|
|
22
|
+
test:
|
|
23
|
+
name: ${{ matrix.platform }} py${{ matrix.python-version }}
|
|
24
|
+
runs-on: ${{ matrix.platform }}
|
|
25
|
+
timeout-minutes: 30
|
|
26
|
+
strategy:
|
|
27
|
+
matrix:
|
|
28
|
+
platform: [ubuntu-latest, windows-latest, macos-latest]
|
|
29
|
+
python-version: ["3.10", "3.11", "3.12"]
|
|
30
|
+
|
|
31
|
+
steps:
|
|
32
|
+
- uses: actions/checkout@v4
|
|
33
|
+
|
|
34
|
+
- name: Set up Python ${{ matrix.python-version }}
|
|
35
|
+
uses: actions/setup-python@v5
|
|
36
|
+
with:
|
|
37
|
+
python-version: ${{ matrix.python-version }}
|
|
38
|
+
|
|
39
|
+
#- name: Install system dependencies for GUI testing
|
|
40
|
+
# if: runner.os == 'Linux'
|
|
41
|
+
# run: |
|
|
42
|
+
# sudo apt-get update
|
|
43
|
+
# sudo apt-get install -y xvfb libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0
|
|
44
|
+
|
|
45
|
+
# these libraries enable testing on Qt on linux
|
|
46
|
+
- uses: tlambert03/setup-qt-libs@v1
|
|
47
|
+
|
|
48
|
+
# strategy borrowed from vispy for installing opengl libs on windows
|
|
49
|
+
- name: Install Windows OpenGL
|
|
50
|
+
if: runner.os == 'Windows'
|
|
51
|
+
run: |
|
|
52
|
+
git clone --depth 1 https://github.com/pyvista/gl-ci-helpers.git
|
|
53
|
+
powershell gl-ci-helpers/appveyor/install_opengl.ps1
|
|
54
|
+
|
|
55
|
+
# note: if you need dependencies from conda, considering using
|
|
56
|
+
# setup-miniconda: https://github.com/conda-incubator/setup-miniconda
|
|
57
|
+
# and
|
|
58
|
+
# tox-conda: https://github.com/tox-dev/tox-conda
|
|
59
|
+
- name: Install dependencies
|
|
60
|
+
run: |
|
|
61
|
+
python -m pip install --upgrade pip
|
|
62
|
+
python -m pip install setuptools tox tox-gh-actions pytest pytest-cov pytest-qt
|
|
63
|
+
|
|
64
|
+
- name: Set Qt environment for headless testing
|
|
65
|
+
run: |
|
|
66
|
+
echo "QT_QPA_PLATFORM=offscreen" >> $GITHUB_ENV
|
|
67
|
+
echo "DISPLAY=:99" >> $GITHUB_ENV
|
|
68
|
+
|
|
69
|
+
# this runs the platform-specific tests declared in tox.ini
|
|
70
|
+
- name: Test with tox
|
|
71
|
+
uses: aganders3/headless-gui@v2
|
|
72
|
+
with:
|
|
73
|
+
run: python -m tox
|
|
74
|
+
env:
|
|
75
|
+
PLATFORM: ${{ matrix.platform }}
|
|
76
|
+
|
|
77
|
+
- name: Coverage
|
|
78
|
+
uses: codecov/codecov-action@v3
|
|
79
|
+
|
|
80
|
+
deploy:
|
|
81
|
+
# this will run when you have tagged a commit, starting with "v*"
|
|
82
|
+
# and requires that you have put your twine API key in your
|
|
83
|
+
# github secrets (see readme for details)
|
|
84
|
+
needs: [test]
|
|
85
|
+
runs-on: ubuntu-latest
|
|
86
|
+
if: contains(github.ref, 'tags')
|
|
87
|
+
steps:
|
|
88
|
+
- uses: actions/checkout@v4
|
|
89
|
+
- name: Set up Python
|
|
90
|
+
uses: actions/setup-python@v5
|
|
91
|
+
with:
|
|
92
|
+
python-version: "3.x"
|
|
93
|
+
- name: Install dependencies
|
|
94
|
+
run: |
|
|
95
|
+
python -m pip install --upgrade pip
|
|
96
|
+
pip install -U setuptools setuptools_scm wheel twine build
|
|
97
|
+
- name: Build and publish
|
|
98
|
+
env:
|
|
99
|
+
TWINE_USERNAME: __token__
|
|
100
|
+
TWINE_PASSWORD: ${{ secrets.TWINE_API_KEY }}
|
|
101
|
+
run: |
|
|
102
|
+
git tag
|
|
103
|
+
python -m build .
|
|
104
|
+
twine upload dist/*
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
# This workflows will upload a Python Package using Twine when a release is created
|
|
2
|
+
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
|
|
3
|
+
|
|
4
|
+
name: test_and_deploy_testpypi
|
|
5
|
+
|
|
6
|
+
on:
|
|
7
|
+
push:
|
|
8
|
+
branches:
|
|
9
|
+
- main
|
|
10
|
+
- npe2
|
|
11
|
+
- work-in-progress
|
|
12
|
+
- work_in_progress
|
|
13
|
+
tags:
|
|
14
|
+
- "testpypi-v*" # Push events to matching v*, i.e. v1.0, v20.15.10
|
|
15
|
+
pull_request:
|
|
16
|
+
branches:
|
|
17
|
+
- main
|
|
18
|
+
- npe2
|
|
19
|
+
workflow_dispatch:
|
|
20
|
+
|
|
21
|
+
jobs:
|
|
22
|
+
test:
|
|
23
|
+
name: ${{ matrix.platform }} py${{ matrix.python-version }}
|
|
24
|
+
runs-on: ${{ matrix.platform }}
|
|
25
|
+
timeout-minutes: 30
|
|
26
|
+
strategy:
|
|
27
|
+
matrix:
|
|
28
|
+
platform: [ubuntu-latest, windows-latest]
|
|
29
|
+
python-version: ["3.11"]
|
|
30
|
+
|
|
31
|
+
steps:
|
|
32
|
+
- uses: actions/checkout@v4
|
|
33
|
+
|
|
34
|
+
- name: Set up Python ${{ matrix.python-version }}
|
|
35
|
+
uses: actions/setup-python@v5
|
|
36
|
+
with:
|
|
37
|
+
python-version: ${{ matrix.python-version }}
|
|
38
|
+
|
|
39
|
+
#- name: Install system dependencies for GUI testing
|
|
40
|
+
# if: runner.os == 'Linux'
|
|
41
|
+
# run: |
|
|
42
|
+
# sudo apt-get update
|
|
43
|
+
# sudo apt-get install -y xvfb libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0
|
|
44
|
+
|
|
45
|
+
# these libraries enable testing on Qt on linux
|
|
46
|
+
- uses: tlambert03/setup-qt-libs@v1
|
|
47
|
+
|
|
48
|
+
# strategy borrowed from vispy for installing opengl libs on windows
|
|
49
|
+
- name: Install Windows OpenGL
|
|
50
|
+
if: runner.os == 'Windows'
|
|
51
|
+
run: |
|
|
52
|
+
git clone --depth 1 https://github.com/pyvista/gl-ci-helpers.git
|
|
53
|
+
powershell gl-ci-helpers/appveyor/install_opengl.ps1
|
|
54
|
+
|
|
55
|
+
# note: if you need dependencies from conda, considering using
|
|
56
|
+
# setup-miniconda: https://github.com/conda-incubator/setup-miniconda
|
|
57
|
+
# and
|
|
58
|
+
# tox-conda: https://github.com/tox-dev/tox-conda
|
|
59
|
+
- name: Install dependencies
|
|
60
|
+
# run: |
|
|
61
|
+
# python -m pip install --upgrade pip
|
|
62
|
+
# pip install -e .[testing]
|
|
63
|
+
# python -m pip install setuptools tox tox-gh-actions pytest pytest-cov pytest-qt
|
|
64
|
+
run: |
|
|
65
|
+
python -m pip install --upgrade pip
|
|
66
|
+
python -m pip install setuptools tox tox-gh-actions pytest pytest-cov pytest-qt
|
|
67
|
+
|
|
68
|
+
- name: Set Qt environment for headless testing
|
|
69
|
+
run: |
|
|
70
|
+
echo "QT_QPA_PLATFORM=offscreen" >> $GITHUB_ENV
|
|
71
|
+
echo "DISPLAY=:99" >> $GITHUB_ENV
|
|
72
|
+
|
|
73
|
+
# this runs the platform-specific tests declared in tox.ini
|
|
74
|
+
- name: Test with tox
|
|
75
|
+
uses: aganders3/headless-gui@v2
|
|
76
|
+
with:
|
|
77
|
+
run: python -m tox
|
|
78
|
+
env:
|
|
79
|
+
PLATFORM: ${{ matrix.platform }}
|
|
80
|
+
|
|
81
|
+
- name: Coverage
|
|
82
|
+
uses: codecov/codecov-action@v3
|
|
83
|
+
|
|
84
|
+
deploy:
|
|
85
|
+
# this will run when you have tagged a commit, starting with "v*"
|
|
86
|
+
# and requires that you have put your twine API key in your
|
|
87
|
+
# github secrets (see readme for details)
|
|
88
|
+
needs: [test]
|
|
89
|
+
runs-on: ubuntu-latest
|
|
90
|
+
if: contains(github.ref, 'tags')
|
|
91
|
+
steps:
|
|
92
|
+
- uses: actions/checkout@v4
|
|
93
|
+
- name: Set up Python
|
|
94
|
+
uses: actions/setup-python@v5
|
|
95
|
+
with:
|
|
96
|
+
python-version: "3.x"
|
|
97
|
+
- name: Install dependencies
|
|
98
|
+
run: |
|
|
99
|
+
python -m pip install --upgrade pip
|
|
100
|
+
pip install -U setuptools setuptools_scm wheel twine build
|
|
101
|
+
- name: Build and publish
|
|
102
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
103
|
+
with:
|
|
104
|
+
password: ${{ secrets.TWINE_TESTPYPI_TOKEN }}
|
|
105
|
+
repository-url: https://test.pypi.org/legacy/
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# C extensions
|
|
7
|
+
*.so
|
|
8
|
+
|
|
9
|
+
# Distribution / packaging
|
|
10
|
+
.Python
|
|
11
|
+
env/
|
|
12
|
+
build/
|
|
13
|
+
develop-eggs/
|
|
14
|
+
dist/
|
|
15
|
+
downloads/
|
|
16
|
+
eggs/
|
|
17
|
+
.eggs/
|
|
18
|
+
lib/
|
|
19
|
+
lib64/
|
|
20
|
+
parts/
|
|
21
|
+
sdist/
|
|
22
|
+
var/
|
|
23
|
+
*.egg-info/
|
|
24
|
+
.installed.cfg
|
|
25
|
+
*.egg
|
|
26
|
+
|
|
27
|
+
# PyInstaller
|
|
28
|
+
# Usually these files are written by a python script from a template
|
|
29
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
30
|
+
*.manifest
|
|
31
|
+
*.spec
|
|
32
|
+
|
|
33
|
+
# Installer logs
|
|
34
|
+
pip-log.txt
|
|
35
|
+
pip-delete-this-directory.txt
|
|
36
|
+
|
|
37
|
+
# Unit test / coverage reports
|
|
38
|
+
htmlcov/
|
|
39
|
+
.tox/
|
|
40
|
+
.coverage
|
|
41
|
+
.coverage.*
|
|
42
|
+
.cache
|
|
43
|
+
nosetests.xml
|
|
44
|
+
coverage.xml
|
|
45
|
+
*,cover
|
|
46
|
+
.hypothesis/
|
|
47
|
+
.napari_cache
|
|
48
|
+
|
|
49
|
+
# Translations
|
|
50
|
+
*.mo
|
|
51
|
+
*.pot
|
|
52
|
+
|
|
53
|
+
# Django stuff:
|
|
54
|
+
*.log
|
|
55
|
+
local_settings.py
|
|
56
|
+
|
|
57
|
+
# Flask instance folder
|
|
58
|
+
instance/
|
|
59
|
+
|
|
60
|
+
# Sphinx documentation
|
|
61
|
+
docs/_build/
|
|
62
|
+
|
|
63
|
+
# MkDocs documentation
|
|
64
|
+
/site/
|
|
65
|
+
|
|
66
|
+
# PyBuilder
|
|
67
|
+
target/
|
|
68
|
+
|
|
69
|
+
# Pycharm and VSCode
|
|
70
|
+
.idea/
|
|
71
|
+
venv/
|
|
72
|
+
.vscode/
|
|
73
|
+
|
|
74
|
+
# IPython Notebook
|
|
75
|
+
.ipynb_checkpoints
|
|
76
|
+
|
|
77
|
+
# pyenv
|
|
78
|
+
.python-version
|
|
79
|
+
|
|
80
|
+
# OS
|
|
81
|
+
.DS_Store
|
|
82
|
+
|
|
83
|
+
# written by setuptools_scm
|
|
84
|
+
**/_version.py
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<!-- This file is a placeholder for customizing description of your plugin
|
|
2
|
+
on the napari hub if you wish. The readme file will be used by default if
|
|
3
|
+
you wish not to do any customization for the napari hub listing.
|
|
4
|
+
|
|
5
|
+
If you need some help writing a good description, check out our
|
|
6
|
+
[guide](https://github.com/chanzuckerberg/napari-hub/wiki/Writing-the-Perfect-Description-for-your-Plugin)
|
|
7
|
+
-->
|
|
8
|
+
|
|
9
|
+
The developer has not yet provided a napari-hub specific description.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# You may use this file to customize how your plugin page appears
|
|
2
|
+
# on the napari hub: https://www.napari-hub.org/
|
|
3
|
+
# See their wiki for details https://github.com/chanzuckerberg/napari-hub/wiki
|
|
4
|
+
|
|
5
|
+
# Please note that this file should only be used IN ADDITION to entering
|
|
6
|
+
# metadata fields (such as summary, description, authors, and various URLS)
|
|
7
|
+
# in your standard python package metadata (e.g. setup.cfg, setup.py, or
|
|
8
|
+
# pyproject.toml), when you would like those fields to be displayed
|
|
9
|
+
# differently on the hub than in the napari application.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
repos:
|
|
2
|
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
3
|
+
rev: v5.0.0
|
|
4
|
+
hooks:
|
|
5
|
+
- id: check-docstring-first
|
|
6
|
+
- id: end-of-file-fixer
|
|
7
|
+
- id: trailing-whitespace
|
|
8
|
+
exclude: ^\.napari-hub/.*
|
|
9
|
+
- id: check-yaml # checks for correct yaml syntax for github actions ex.
|
|
10
|
+
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
11
|
+
rev: v0.11.4
|
|
12
|
+
hooks:
|
|
13
|
+
- id: ruff
|
|
14
|
+
- repo: https://github.com/psf/black
|
|
15
|
+
rev: 25.1.0
|
|
16
|
+
hooks:
|
|
17
|
+
- id: black
|
|
18
|
+
- repo: https://github.com/tlambert03/napari-plugin-checks
|
|
19
|
+
rev: v0.3.0
|
|
20
|
+
hooks:
|
|
21
|
+
- id: napari-plugin-checks
|
|
22
|
+
# https://mypy.readthedocs.io/en/stable/
|
|
23
|
+
# you may wish to add this as well!
|
|
24
|
+
# - repo: https://github.com/pre-commit/mirrors-mypy
|
|
25
|
+
# rev: v1.9.0
|
|
26
|
+
# hooks:
|
|
27
|
+
# - id: mypy
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
|
|
2
|
+
The MIT License (MIT)
|
|
3
|
+
|
|
4
|
+
Copyright (c) 2025 Sebastian Rhode
|
|
5
|
+
|
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
in the Software without restriction, including without limitation the rights
|
|
9
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
furnished to do so, subject to the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be included in
|
|
14
|
+
all copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
22
|
+
THE SOFTWARE.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
include LICENSE
|
|
2
|
+
include README.md
|
|
3
|
+
|
|
4
|
+
# Include source code and YAML files
|
|
5
|
+
recursive-include src *.py
|
|
6
|
+
recursive-include src *.yaml
|
|
7
|
+
|
|
8
|
+
# Explicitly exclude sample data directory and all its contents
|
|
9
|
+
recursive-exclude src/napari_czitools/sample_data *
|
|
10
|
+
prune src/napari_czitools/sample_data
|
|
11
|
+
|
|
12
|
+
recursive-exclude * __pycache__
|
|
13
|
+
recursive-exclude * *.py[co]
|
|
14
|
+
recursive-exclude * *.ome.tiff
|
|
15
|
+
recursive-exclude * *.czann
|
|
16
|
+
recursive-exclude * *.tiff
|
|
17
|
+
recursive-exclude * *.tif
|
|
18
|
+
recursive-exclude * *.czi
|