napari-flicker 0.1.1__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 (44) hide show
  1. napari_flicker-0.1.1/.claude/settings.json +7 -0
  2. napari_flicker-0.1.1/.gitattributes +2 -0
  3. napari_flicker-0.1.1/.github/ISSUE_TEMPLATE/bug_report.yml +87 -0
  4. napari_flicker-0.1.1/.github/ISSUE_TEMPLATE/documentation.md +11 -0
  5. napari_flicker-0.1.1/.github/ISSUE_TEMPLATE/feature_request.md +27 -0
  6. napari_flicker-0.1.1/.github/ISSUE_TEMPLATE/task.md +11 -0
  7. napari_flicker-0.1.1/.github/PULL_REQUEST_TEMPLATE.md +12 -0
  8. napari_flicker-0.1.1/.github/dependabot.yml +14 -0
  9. napari_flicker-0.1.1/.github/workflows/test_and_deploy.yml +106 -0
  10. napari_flicker-0.1.1/.gitignore +170 -0
  11. napari_flicker-0.1.1/.napari-hub/DESCRIPTION.md +9 -0
  12. napari_flicker-0.1.1/.napari-hub/config.yml +9 -0
  13. napari_flicker-0.1.1/.pre-commit-config.yaml +23 -0
  14. napari_flicker-0.1.1/LICENSE +122 -0
  15. napari_flicker-0.1.1/MANIFEST.in +5 -0
  16. napari_flicker-0.1.1/PKG-INFO +185 -0
  17. napari_flicker-0.1.1/README.md +155 -0
  18. napari_flicker-0.1.1/docs/development-plan.md +307 -0
  19. napari_flicker-0.1.1/docs/development-workflow.md +449 -0
  20. napari_flicker-0.1.1/docs/requirements.md +118 -0
  21. napari_flicker-0.1.1/flake.lock +61 -0
  22. napari_flicker-0.1.1/flake.nix +66 -0
  23. napari_flicker-0.1.1/pixi.lock +18217 -0
  24. napari_flicker-0.1.1/pyproject.toml +166 -0
  25. napari_flicker-0.1.1/setup.cfg +4 -0
  26. napari_flicker-0.1.1/src/napari_flicker/__init__.py +18 -0
  27. napari_flicker-0.1.1/src/napari_flicker/_reader.py +73 -0
  28. napari_flicker-0.1.1/src/napari_flicker/_sample_data.py +22 -0
  29. napari_flicker-0.1.1/src/napari_flicker/_version.py +24 -0
  30. napari_flicker-0.1.1/src/napari_flicker/_widget.py +134 -0
  31. napari_flicker-0.1.1/src/napari_flicker/_writer.py +66 -0
  32. napari_flicker-0.1.1/src/napari_flicker/napari.yaml +41 -0
  33. napari_flicker-0.1.1/src/napari_flicker.egg-info/PKG-INFO +185 -0
  34. napari_flicker-0.1.1/src/napari_flicker.egg-info/SOURCES.txt +42 -0
  35. napari_flicker-0.1.1/src/napari_flicker.egg-info/dependency_links.txt +1 -0
  36. napari_flicker-0.1.1/src/napari_flicker.egg-info/entry_points.txt +2 -0
  37. napari_flicker-0.1.1/src/napari_flicker.egg-info/requires.txt +4 -0
  38. napari_flicker-0.1.1/src/napari_flicker.egg-info/scm_file_list.json +37 -0
  39. napari_flicker-0.1.1/src/napari_flicker.egg-info/scm_version.json +8 -0
  40. napari_flicker-0.1.1/src/napari_flicker.egg-info/top_level.txt +1 -0
  41. napari_flicker-0.1.1/tests/test_reader.py +31 -0
  42. napari_flicker-0.1.1/tests/test_sample_data.py +7 -0
  43. napari_flicker-0.1.1/tests/test_widget.py +158 -0
  44. napari_flicker-0.1.1/tests/test_writer.py +7 -0
@@ -0,0 +1,7 @@
1
+ {
2
+ "hooks": {
3
+ "PostToolUse": {
4
+ "Write|Edit|MultiEdit": "jq -r '.tool_input.file_path | select(endswith(\".py\"))' | xargs -r sh -c 'ruff check --fix --unsafe-fixes \"$0\" && ruff format \"$0\"'"
5
+ }
6
+ }
7
+ }
@@ -0,0 +1,2 @@
1
+ # SCM syntax highlighting & preventing 3-way merges
2
+ pixi.lock merge=binary linguist-language=YAML linguist-generated=true
@@ -0,0 +1,87 @@
1
+ name: "\U0001F41B Bug Report"
2
+ description: Report a bug encountered while using napari-flicker
3
+ labels:
4
+ - "bug"
5
+
6
+ body:
7
+ - type: markdown
8
+ attributes:
9
+ value: |
10
+ Thanks for taking the time to report this issue! 🙏🏼
11
+
12
+ Please fill out the sections below to help us reproduce the problem.
13
+
14
+ - type: textarea
15
+ id: bug-report
16
+ attributes:
17
+ label: "\U0001F41B Bug Report"
18
+ description: "Please provide a clear and concise description of the bug."
19
+ placeholder: "What went wrong? What did you expect to happen?"
20
+ validations:
21
+ required: true
22
+
23
+ - type: textarea
24
+ id: steps-to-reproduce
25
+ attributes:
26
+ label: "\U0001F4A1 Steps to Reproduce"
27
+ description: "Please provide a minimal code snippet or list of steps to reproduce the bug."
28
+ placeholder: |
29
+ 1. Go to '...'
30
+ 2. Click on '....'
31
+ 3. Scroll down to '....'
32
+ 4. See error
33
+ validations:
34
+ required: true
35
+
36
+ - type: textarea
37
+ id: expected-behavior
38
+ attributes:
39
+ label: "\U0001F4A1 Expected Behavior"
40
+ description: "Please provide a clear and concise description of what you expected to happen."
41
+ placeholder: "What did you expect to happen?"
42
+
43
+ - type: textarea
44
+ id: environment
45
+ attributes:
46
+ label: "\U0001F30E Environment"
47
+ description: |
48
+ Please provide detailed information regarding your environment. Please paste the output of `napari --info` here or copy the information from the "napari info" dialog in the napari Help menu.
49
+
50
+ Otherwise, please provide information regarding your operating system (OS), Python version, napari version, Qt backend and version, Qt platform, method of installation, and any other relevant information related to your environment.
51
+
52
+
53
+ placeholder: |
54
+ napari: 0.5.0
55
+ Platform: macOS-13.2.1-arm64-arm-64bit
56
+ System: MacOS 13.2.1
57
+ Python: 3.11.4 (main, Aug 7 2023, 20:34:01) [Clang 14.0.3 (clang-1403.0.22.14.1)]
58
+ Qt: 5.15.10
59
+ PyQt5: 5.15.10
60
+ NumPy: 1.25.1
61
+ SciPy: 1.11.1
62
+ Dask: 2023.7.1
63
+ VisPy: 0.13.0
64
+ magicgui: 0.7.2
65
+ superqt: 0.5.4
66
+ in-n-out: 0.1.8
67
+ app-model: 0.2.0
68
+ npe2: 0.7.2
69
+
70
+ OpenGL:
71
+ - GL version: 2.1 Metal - 83
72
+ - MAX_TEXTURE_SIZE: 16384
73
+
74
+ Screens:
75
+ - screen 1: resolution 1512x982, scale 2.0
76
+
77
+ Settings path:
78
+ - /Users/.../napari/napari_5c6993c40c104085444cfc0c77fa392cb5cb8f56/settings.yaml
79
+ validations:
80
+ required: true
81
+
82
+ - type: textarea
83
+ id: additional-context
84
+ attributes:
85
+ label: "\U0001F4A1 Additional Context"
86
+ description: "Please provide any additional information or context regarding the problem here."
87
+ placeholder: "Add any other context about the problem here."
@@ -0,0 +1,11 @@
1
+ ---
2
+ name: "\U0001F4DA Documentation"
3
+ about: Report an issue with napari-flicker documentation
4
+ title: ''
5
+ labels: documentation
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ ## 📚 Documentation
11
+ <!-- A clear and concise description of the documentation that needs to be created/updated -->
@@ -0,0 +1,27 @@
1
+ ---
2
+ name: "\U0001F680 Feature Request"
3
+ about: Submit a proposal/request for a new napari-flicker feature
4
+ title: ''
5
+ labels: feature
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ ## 🚀 Feature
11
+ <!-- A clear and concise description of the feature proposal -->
12
+
13
+ ## Motivation
14
+
15
+ <!-- Please outline the motivation for the proposal. Is your feature request related to a problem? e.g., I'm always frustrated when [...]. If this is related to another GitHub issue, please link here too -->
16
+
17
+ ## Pitch
18
+
19
+ <!-- A clear and concise description of what you want to happen. -->
20
+
21
+ ## Alternatives
22
+
23
+ <!-- A clear and concise description of any alternative solutions or features you've considered, if any. -->
24
+
25
+ ## Additional context
26
+
27
+ <!-- Add any other context or screenshots about the feature request here. -->
@@ -0,0 +1,11 @@
1
+ ---
2
+ name: "\U0001F9F0 Task"
3
+ about: Maintenance, follow-ups, and other defined to-do items
4
+ title: ''
5
+ labels: task
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ ## đź§° Task
11
+ <!-- A clear and concise description of the task -->
@@ -0,0 +1,12 @@
1
+ # References and relevant issues
2
+ <!-- What relevant resources were used in the creation of this PR?
3
+ If this PR addresses an existing issue on the repo,
4
+ please link to that issue here as "Closes #(issue-number)"
5
+ If this PR depends on another PR/issue (even in another repo),
6
+ please link to it with "Depends on #PR-number" or "Depends on org/repo#PR-number"
7
+ -->
8
+
9
+ # Description
10
+ <!-- What does this pull request (PR) do? Is it a new feature, a bug fix,
11
+ an improvement, or something else? Why is it necessary? If relevant, please add
12
+ a screenshot or a screen capture: "An image is worth a thousand words!" -->
@@ -0,0 +1,14 @@
1
+ # Dependabot configuration
2
+ # https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuring-dependabot-version-updates#enabling-github-dependabot-version-updates
3
+ # https://til.simonwillison.net/github/dependabot-python-setup
4
+
5
+ version: 2
6
+ updates:
7
+ - package-ecosystem: pip
8
+ directory: "/"
9
+ schedule:
10
+ interval: monthly
11
+ groups:
12
+ python-packages:
13
+ patterns:
14
+ - "*"
@@ -0,0 +1,106 @@
1
+ # This workflow uploads the package to PyPI with Trusted Publishing (OIDC)
2
+ # when a v* tag is pushed. No API token secret is required.
3
+ # See https://docs.pypi.org/trusted-publishers/
4
+ name: tests
5
+
6
+ on:
7
+ push:
8
+ branches:
9
+ - main
10
+ tags:
11
+ - "v*" # Push events to matching v*, i.e. v1.0, v20.15.10
12
+ pull_request:
13
+ branches:
14
+ - main
15
+ paths:
16
+ - 'src/**'
17
+ - 'tests/**'
18
+ - 'pyproject.toml'
19
+ - 'pixi.lock'
20
+ - '.github/workflows/**'
21
+ workflow_dispatch:
22
+
23
+ jobs:
24
+ test:
25
+ name: ${{ matrix.environment }}
26
+ runs-on: ${{ matrix.platform }}
27
+ timeout-minutes: 30
28
+ strategy:
29
+ matrix:
30
+ include:
31
+ - platform: ubuntu-latest
32
+ environment: py310
33
+ - platform: ubuntu-latest
34
+ environment: py311
35
+ - platform: ubuntu-latest
36
+ environment: py312
37
+ - platform: ubuntu-latest
38
+ environment: py313
39
+ - platform: windows-latest
40
+ environment: py310
41
+ - platform: windows-latest
42
+ environment: py311
43
+ - platform: windows-latest
44
+ environment: py312
45
+ - platform: windows-latest
46
+ environment: py313
47
+ # macos-latest is an Apple Silicon (osx-arm64) runner
48
+ - platform: macos-latest
49
+ environment: py313
50
+
51
+ steps:
52
+ - uses: actions/checkout@v4
53
+
54
+ - name: Setup Pixi
55
+ uses: prefix-dev/setup-pixi@v0.8.3
56
+ with:
57
+ pixi-version: v0.49.0
58
+ cache: true
59
+ environments: ${{ matrix.environment }}
60
+
61
+ # these libraries enable testing on Qt on linux
62
+ - uses: tlambert03/setup-qt-libs@v1
63
+
64
+ # strategy borrowed from vispy for installing opengl libs on windows
65
+ - name: Install Windows OpenGL
66
+ if: runner.os == 'Windows'
67
+ run: |
68
+ git clone --depth 1 https://github.com/pyvista/gl-ci-helpers.git
69
+ powershell gl-ci-helpers/appveyor/install_opengl.ps1
70
+
71
+ # run tests with pixi for each Python version
72
+ - name: Test with pixi
73
+ uses: aganders3/headless-gui@v2
74
+ with:
75
+ run: pixi run --environment ${{ matrix.environment }} test
76
+
77
+ - name: Coverage
78
+ uses: codecov/codecov-action@v3
79
+
80
+ deploy:
81
+ # Runs when a commit tagged "v*" is pushed. Authentication uses the
82
+ # GitHub OIDC token, matched by the PyPI Trusted Publisher configured for
83
+ # this repository, workflow filename, and environment name.
84
+ needs: [test]
85
+ runs-on: ubuntu-latest
86
+ if: startsWith(github.ref, 'refs/tags/v')
87
+ environment:
88
+ name: pypi
89
+ url: https://pypi.org/p/napari-flicker
90
+ permissions:
91
+ id-token: write
92
+ steps:
93
+ - uses: actions/checkout@v4
94
+ with:
95
+ # setuptools_scm derives the version from git tags.
96
+ fetch-depth: 0
97
+ - name: Set up Python
98
+ uses: actions/setup-python@v5
99
+ with:
100
+ python-version: "3.x"
101
+ - name: Build
102
+ run: |
103
+ python -m pip install --upgrade pip build
104
+ python -m build .
105
+ - name: Publish to PyPI
106
+ uses: pypa/gh-action-pypi-publish@release/v1
@@ -0,0 +1,170 @@
1
+
2
+ # pixi environments
3
+ .pixi
4
+ *.egg-info
5
+ # Byte-compiled / optimized / DLL files
6
+ __pycache__/
7
+ *.py[cod]
8
+ *$py.class
9
+
10
+ # C extensions
11
+ *.so
12
+
13
+ # Distribution / packaging
14
+ .Python
15
+ env/
16
+ build/
17
+ develop-eggs/
18
+ dist/
19
+ downloads/
20
+ eggs/
21
+ .eggs/
22
+ lib/
23
+ lib64/
24
+ parts/
25
+ sdist/
26
+ var/
27
+ *.egg-info/
28
+ .installed.cfg
29
+ *.egg
30
+
31
+ # PyInstaller
32
+ # Usually these files are written by a python script from a template
33
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
34
+ *.manifest
35
+ *.spec
36
+
37
+ # Installer logs
38
+ pip-log.txt
39
+ pip-delete-this-directory.txt
40
+
41
+ # Unit test / coverage reports
42
+ htmlcov/
43
+ .coverage
44
+ .coverage.*
45
+ .cache
46
+ nosetests.xml
47
+ coverage.xml
48
+ *,cover
49
+ .hypothesis/
50
+ .napari_cache
51
+
52
+ # Translations
53
+ *.mo
54
+ *.pot
55
+
56
+ # Django stuff:
57
+ *.log
58
+ local_settings.py
59
+
60
+ # Flask instance folder
61
+ instance/
62
+
63
+ # Sphinx documentation
64
+ docs/_build/
65
+
66
+ # MkDocs documentation
67
+ /site/
68
+
69
+ # PyBuilder
70
+ target/
71
+
72
+ # Pycharm and VSCode
73
+ .idea/
74
+ venv/
75
+ .vscode/
76
+
77
+ # IPython Notebook
78
+ .ipynb_checkpoints
79
+
80
+ # pyenv
81
+ .python-version
82
+
83
+ # OS
84
+ .DS_Store
85
+
86
+ # written by setuptools_scm
87
+ **/_version.py
88
+ # Byte-compiled / optimized / DLL files
89
+ __pycache__/
90
+ *.py[cod]
91
+ *$py.class
92
+
93
+ # C extensions
94
+ *.so
95
+
96
+ # Distribution / packaging
97
+ .Python
98
+ env/
99
+ build/
100
+ develop-eggs/
101
+ dist/
102
+ downloads/
103
+ eggs/
104
+ .eggs/
105
+ lib/
106
+ lib64/
107
+ parts/
108
+ sdist/
109
+ var/
110
+ *.egg-info/
111
+ .installed.cfg
112
+ *.egg
113
+
114
+ # PyInstaller
115
+ # Usually these files are written by a python script from a template
116
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
117
+ *.manifest
118
+ *.spec
119
+
120
+ # Installer logs
121
+ pip-log.txt
122
+ pip-delete-this-directory.txt
123
+
124
+ # Unit test / coverage reports
125
+ htmlcov/
126
+ .coverage
127
+ .coverage.*
128
+ .cache
129
+ nosetests.xml
130
+ coverage.xml
131
+ *,cover
132
+ .hypothesis/
133
+ .napari_cache
134
+
135
+ # Translations
136
+ *.mo
137
+ *.pot
138
+
139
+ # Django stuff:
140
+ *.log
141
+ local_settings.py
142
+
143
+ # Flask instance folder
144
+ instance/
145
+
146
+ # Sphinx documentation
147
+ docs/_build/
148
+
149
+ # MkDocs documentation
150
+ /site/
151
+
152
+ # PyBuilder
153
+ target/
154
+
155
+ # Pycharm and VSCode
156
+ .idea/
157
+ venv/
158
+ .vscode/
159
+
160
+ # IPython Notebook
161
+ .ipynb_checkpoints
162
+
163
+ # pyenv
164
+ .python-version
165
+
166
+ # OS
167
+ .DS_Store
168
+
169
+ # written by setuptools_scm
170
+ **/_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,23 @@
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.12.2
12
+ hooks:
13
+ - id: ruff-check
14
+ args: [ --fix, --unsafe-fixes ]
15
+ - id: ruff-format
16
+ # - repo: https://github.com/RobertCraigie/pyright-python
17
+ # rev: v1.1.401
18
+ # hooks:
19
+ # - id: pyright
20
+ - repo: https://github.com/tlambert03/napari-plugin-checks
21
+ rev: v0.3.0
22
+ hooks:
23
+ - id: napari-plugin-checks
@@ -0,0 +1,122 @@
1
+ **HIPPOCRATIC LICENSE**
2
+
3
+ **Version 3.0, October 2021**
4
+
5
+ <https://firstdonoharm.dev/version/3/0/bds-cl.md>
6
+
7
+ **TERMS AND CONDITIONS**
8
+
9
+ TERMS AND CONDITIONS FOR USE, COPY, MODIFICATION, PREPARATION OF DERIVATIVE WORK, REPRODUCTION, AND DISTRIBUTION:
10
+
11
+ **[1.](#1) DEFINITIONS:**
12
+
13
+ _This section defines certain terms used throughout this license agreement._
14
+
15
+ [1.1.](#1.1) “License” means the terms and conditions, as stated herein, for use, copy, modification, preparation of derivative work, reproduction, and distribution of Software (as defined below).
16
+
17
+ [1.2.](#1.2) “Licensor” means the copyright and/or patent owner or entity authorized by the copyright and/or patent owner that is granting the License.
18
+
19
+ [1.3.](#1.3) “Licensee” means the individual or entity exercising permissions granted by this License, including the use, copy, modification, preparation of derivative work, reproduction, and distribution of Software (as defined below).
20
+
21
+ [1.4.](#1.4) “Software” means any copyrighted work, including but not limited to software code, authored by Licensor and made available under this License.
22
+
23
+ [1.5.](#1.5) “Supply Chain” means the sequence of processes involved in the production and/or distribution of a commodity, good, or service offered by the Licensee.
24
+
25
+ [1.6.](#1.6) “Supply Chain Impacted Party” or “Supply Chain Impacted Parties” means any person(s) directly impacted by any of Licensee’s Supply Chain, including the practices of all persons or entities within the Supply Chain prior to a good or service reaching the Licensee.
26
+
27
+ [1.7.](#1.7) “Duty of Care” is defined by its use in tort law, delict law, and/or similar bodies of law closely related to tort and/or delict law, including without limitation, a requirement to act with the watchfulness, attention, caution, and prudence that a reasonable person in the same or similar circumstances would use towards any Supply Chain Impacted Party.
28
+
29
+ [1.8.](#1.8) “Worker” is defined to include any and all permanent, temporary, and agency workers, as well as piece-rate, salaried, hourly paid, legal young (minors), part-time, night, and migrant workers.
30
+
31
+ **[2.](#2) INTELLECTUAL PROPERTY GRANTS:**
32
+
33
+ _This section identifies intellectual property rights granted to a Licensee_.
34
+
35
+ [2.1.](#2.1) _Grant of Copyright License_: Subject to the terms and conditions of this License, Licensor hereby grants to Licensee a worldwide, non-exclusive, no-charge, royalty-free copyright license to use, copy, modify, prepare derivative work, reproduce, or distribute the Software, Licensor authored modified software, or other work derived from the Software.
36
+
37
+ [2.2.](#2.2) _Grant of Patent License_: Subject to the terms and conditions of this License, Licensor hereby grants Licensee a worldwide, non-exclusive, no-charge, royalty-free patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer Software.
38
+
39
+ **[3.](#3) ETHICAL STANDARDS:**
40
+
41
+ _This section lists conditions the Licensee must comply with in order to have rights under this License._
42
+
43
+ The rights granted to the Licensee by this License are expressly made subject to the Licensee’s ongoing compliance with the following conditions:
44
+
45
+ * [3.1.](#3.1) The Licensee SHALL NOT, whether directly or indirectly, through agents or assigns:
46
+
47
+ * [3.1.1.](#3.1.1) Infringe upon any person’s right to life or security of person, engage in extrajudicial killings, or commit murder, without lawful cause (See Article 3, _United Nations Universal Declaration of Human Rights_; Article 6, _International Covenant on Civil and Political Rights_)
48
+ * [3.1.2.](#3.1.2) Hold any person in slavery, servitude, or forced labor (See Article 4, _United Nations Universal Declaration of Human Rights_; Article 8, _International Covenant on Civil and Political Rights_);
49
+ * [3.1.3.](#3.1.3) Contribute to the institution of slavery, slave trading, forced labor, or unlawful child labor (See Article 4, _United Nations Universal Declaration of Human Rights_; Article 8, _International Covenant on Civil and Political Rights_);
50
+ * [3.1.4.](#3.1.4) Torture or subject any person to cruel, inhumane, or degrading treatment or punishment (See Article 5, _United Nations Universal Declaration of Human Rights_; Article 7, _International Covenant on Civil and Political Rights_);
51
+ * [3.1.5.](#3.1.5) Discriminate on the basis of sex, gender, sexual orientation, race, ethnicity, nationality, religion, caste, age, medical disability or impairment, and/or any other like circumstances (See Article 7, _United Nations Universal Declaration of Human Rights_; Article 2, _International Covenant on Economic, Social and Cultural Rights_; Article 26, _International Covenant on Civil and Political Rights_);
52
+ * [3.1.6.](#3.1.6) Prevent any person from exercising his/her/their right to seek an effective remedy by a competent court or national tribunal (including domestic judicial systems, international courts, arbitration bodies, and other adjudicating bodies) for actions violating the fundamental rights granted to him/her/them by applicable constitutions, applicable laws, or by this License (See Article 8, _United Nations Universal Declaration of Human Rights_; Articles 9 and 14, _International Covenant on Civil and Political Rights_);
53
+ * [3.1.7.](#3.1.7) Subject any person to arbitrary arrest, detention, or exile (See Article 9, _United Nations Universal Declaration of Human Rights_; Article 9, _International Covenant on Civil and Political Rights_);
54
+ * [3.1.8.](#3.1.8) Subject any person to arbitrary interference with a person’s privacy, family, home, or correspondence without the express written consent of the person (See Article 12, _United Nations Universal Declaration of Human Rights_; Article 17, _International Covenant on Civil and Political Rights_);
55
+ * [3.1.9.](#3.1.9) Arbitrarily deprive any person of his/her/their property (See Article 17, _United Nations Universal Declaration of Human Rights_);
56
+ * [3.1.10.](#3.1.10) Forcibly remove indigenous peoples from their lands or territories or take any action with the aim or effect of dispossessing indigenous peoples from their lands, territories, or resources, including without limitation the intellectual property or traditional knowledge of indigenous peoples, without the free, prior, and informed consent of indigenous peoples concerned (See Articles 8 and 10, _United Nations Declaration on the Rights of Indigenous Peoples_);
57
+ * [3.1.11.](#3.1.11) _Boycott / Divestment / Sanctions_: Be an individual or entity, or a representative, agent, affiliate, successor, attorney, or assign of an individual or entity, identified by the Boycott, Divestment, Sanctions (“BDS”) movement on its website (<https://bdsmovement.net/> and <https://bdsmovement.net/get-involved/what-to-boycott>) as a target for boycott;
58
+ * [3.1.12.](#3.1.12) Interfere with Workers’ free exercise of the right to organize and associate (See Article 20, United Nations Universal Declaration of Human Rights; C087 - Freedom of Association and Protection of the Right to Organise Convention, 1948 (No. 87), International Labour Organization; Article 8, International Covenant on Economic, Social and Cultural Rights); and
59
+ * [3.1.13.](#3.1.13) Harm the environment in a manner inconsistent with local, state, national, or international law.
60
+ * [3.2.](#3.2) The Licensee SHALL:
61
+
62
+ * [3.2.1.](#3.2.1) Provide equal pay for equal work where the performance of such work requires equal skill, effort, and responsibility, and which are performed under similar working conditions, except where such payment is made pursuant to:
63
+
64
+ * [3.2.1.1.](#3.2.1.1) A seniority system;
65
+ * [3.2.1.2.](#3.2.1.2) A merit system;
66
+ * [3.2.1.3.](#3.2.1.3) A system which measures earnings by quantity or quality of production; or
67
+ * [3.2.1.4.](#3.2.1.4) A differential based on any other factor other than sex, gender, sexual orientation, race, ethnicity, nationality, religion, caste, age, medical disability or impairment, and/or any other like circumstances (See 29 U.S.C.A. § 206(d)(1); Article 23, _United Nations Universal Declaration of Human Rights_; Article 7, _International Covenant on Economic, Social and Cultural Rights_; Article 26, _International Covenant on Civil and Political Rights_); and
68
+ * [3.2.2.](#3.2.2) Allow for reasonable limitation of working hours and periodic holidays with pay (See Article 24, _United Nations Universal Declaration of Human Rights_; Article 7, _International Covenant on Economic, Social and Cultural Rights_).
69
+
70
+ **[4.](#4) SUPPLY CHAIN IMPACTED PARTIES:**
71
+
72
+ _This section identifies additional individuals or entities that a Licensee could harm as a result of violating the Ethical Standards section, the condition that the Licensee must voluntarily accept a Duty of Care for those individuals or entities, and the right to a private right of action that those individuals or entities possess as a result of violations of the Ethical Standards section._
73
+
74
+ [4.1.](#4.1) In addition to the above Ethical Standards, Licensee voluntarily accepts a Duty of Care for Supply Chain Impacted Parties of this License, including individuals and communities impacted by violations of the Ethical Standards. The Duty of Care is breached when a provision within the Ethical Standards section is violated by a Licensee, one of its successors or assigns, or by an individual or entity that exists within the Supply Chain prior to a good or service reaching the Licensee.
75
+
76
+ [4.2.](#4.2) Breaches of the Duty of Care, as stated within this section, shall create a private right of action, allowing any Supply Chain Impacted Party harmed by the Licensee to take legal action against the Licensee in accordance with applicable negligence laws, whether they be in tort law, delict law, and/or similar bodies of law closely related to tort and/or delict law, regardless if Licensee is directly responsible for the harms suffered by a Supply Chain Impacted Party. Nothing in this section shall be interpreted to include acts committed by individuals outside of the scope of his/her/their employment.
77
+
78
+ [5.](#5) **NOTICE:** _This section explains when a Licensee must notify others of the License._
79
+
80
+ [5.1.](#5.1) _Distribution of Notice_: Licensee must ensure that everyone who receives a copy of or uses any part of Software from Licensee, with or without changes, also receives the License and the copyright notice included with Software (and if included by the Licensor, patent, trademark, and attribution notice). Licensee must ensure that License is prominently displayed so that any individual or entity seeking to download, copy, use, or otherwise receive any part of Software from Licensee is notified of this License and its terms and conditions. Licensee must cause any modified versions of the Software to carry prominent notices stating that Licensee changed the Software.
81
+
82
+ [5.2.](#5.2) _Modified Software_: Licensee is free to create modifications of the Software and distribute only the modified portion created by Licensee, however, any derivative work stemming from the Software or its code must be distributed pursuant to this License, including this Notice provision.
83
+
84
+ [5.3.](#5.3) _Recipients as Licensees_: Any individual or entity that uses, copies, modifies, reproduces, distributes, or prepares derivative work based upon the Software, all or part of the Software’s code, or a derivative work developed by using the Software, including a portion of its code, is a Licensee as defined above and is subject to the terms and conditions of this License.
85
+
86
+ **[6.](#6) REPRESENTATIONS AND WARRANTIES:**
87
+
88
+ [6.1.](#6.1) _Disclaimer of Warranty_: TO THE FULL EXTENT ALLOWED BY LAW, THIS SOFTWARE COMES “AS IS,” WITHOUT ANY WARRANTY, EXPRESS OR IMPLIED, AND LICENSOR SHALL NOT BE LIABLE TO ANY PERSON OR ENTITY FOR ANY DAMAGES OR OTHER LIABILITY ARISING FROM, OUT OF, OR IN CONNECTION WITH THE SOFTWARE OR THIS LICENSE, UNDER ANY LEGAL CLAIM.
89
+
90
+ [6.2.](#6.2) _Limitation of Liability_: LICENSEE SHALL HOLD LICENSOR HARMLESS AGAINST ANY AND ALL CLAIMS, DEBTS, DUES, LIABILITIES, LIENS, CAUSES OF ACTION, DEMANDS, OBLIGATIONS, DISPUTES, DAMAGES, LOSSES, EXPENSES, ATTORNEYS’ FEES, COSTS, LIABILITIES, AND ALL OTHER CLAIMS OF EVERY KIND AND NATURE WHATSOEVER, WHETHER KNOWN OR UNKNOWN, ANTICIPATED OR UNANTICIPATED, FORESEEN OR UNFORESEEN, ACCRUED OR UNACCRUED, DISCLOSED OR UNDISCLOSED, ARISING OUT OF OR RELATING TO LICENSEE’S USE OF THE SOFTWARE. NOTHING IN THIS SECTION SHOULD BE INTERPRETED TO REQUIRE LICENSEE TO INDEMNIFY LICENSOR, NOR REQUIRE LICENSOR TO INDEMNIFY LICENSEE.
91
+
92
+ **[7.](#7) TERMINATION**
93
+
94
+ [7.1.](#7.1) _Violations of Ethical Standards or Breaching Duty of Care_: If Licensee violates the Ethical Standards section or Licensee, or any other person or entity within the Supply Chain prior to a good or service reaching the Licensee, breaches its Duty of Care to Supply Chain Impacted Parties, Licensee must remedy the violation or harm caused by Licensee within 30 days of being notified of the violation or harm. If Licensee fails to remedy the violation or harm within 30 days, all rights in the Software granted to Licensee by License will be null and void as between Licensor and Licensee.
95
+
96
+ [7.2.](#7.2) _Failure of Notice_: If any person or entity notifies Licensee in writing that Licensee has not complied with the Notice section of this License, Licensee can keep this License by taking all practical steps to comply within 30 days after the notice of noncompliance. If Licensee does not do so, Licensee’s License (and all rights licensed hereunder) will end immediately.
97
+
98
+ [7.3.](#7.3) _Judicial Findings_: In the event Licensee is found by a civil, criminal, administrative, or other court of competent jurisdiction, or some other adjudicating body with legal authority, to have committed actions which are in violation of the Ethical Standards or Supply Chain Impacted Party sections of this License, all rights granted to Licensee by this License will terminate immediately.
99
+
100
+ [7.4.](#7.4) _Patent Litigation_: If Licensee institutes patent litigation against any entity (including a cross-claim or counterclaim in a suit) alleging that the Software, all or part of the Software’s code, or a derivative work developed using the Software, including a portion of its code, constitutes direct or contributory patent infringement, then any patent license, along with all other rights, granted to Licensee under this License will terminate as of the date such litigation is filed.
101
+
102
+ [7.5.](#7.5) _Additional Remedies_: Termination of the License by failing to remedy harms in no way prevents Licensor or Supply Chain Impacted Party from seeking appropriate remedies at law or in equity.
103
+
104
+ **[8.](#8) MISCELLANEOUS:**
105
+
106
+ [8.1.](#8.1) _Conditions_: Sections 3, 4.1, 5.1, 5.2, 7.1, 7.2, 7.3, and 7.4 are conditions of the rights granted to Licensee in the License.
107
+
108
+ [8.2.](#8.2) _Equitable Relief_: Licensor and any Supply Chain Impacted Party shall be entitled to equitable relief, including injunctive relief or specific performance of the terms hereof, in addition to any other remedy to which they are entitled at law or in equity.
109
+
110
+ [8.3.](#8.3) _Copyleft_: Modified software, source code, or other derivative work must be licensed, in its entirety, under the exact same conditions as this License.
111
+
112
+ [8.4.](#8.4) _Severability_: If any term or provision of this License is determined to be invalid, illegal, or unenforceable by a court of competent jurisdiction, any such determination of invalidity, illegality, or unenforceability shall not affect any other term or provision of this License or invalidate or render unenforceable such term or provision in any other jurisdiction. If the determination of invalidity, illegality, or unenforceability by a court of competent jurisdiction pertains to the terms or provisions contained in the Ethical Standards section of this License, all rights in the Software granted to Licensee shall be deemed null and void as between Licensor and Licensee.
113
+
114
+ [8.5.](#8.5) _Section Titles_: Section titles are solely written for organizational purposes and should not be used to interpret the language within each section.
115
+
116
+ [8.6.](#8.6) _Citations_: Citations are solely written to provide context for the source of the provisions in the Ethical Standards.
117
+
118
+ [8.7.](#8.7) _Section Summaries_: Some sections have a brief _italicized description_ which is provided for the sole purpose of briefly describing the section and should not be used to interpret the terms of the License.
119
+
120
+ [8.8.](#8.8) _Entire License_: This is the entire License between the Licensor and Licensee with respect to the claims released herein and that the consideration stated herein is the only consideration or compensation to be paid or exchanged between them for this License. This License cannot be modified or amended except in a writing signed by Licensor and Licensee.
121
+
122
+ [8.9.](#8.9) _Successors and Assigns_: This License shall be binding upon and inure to the benefit of the Licensor’s and Licensee’s respective heirs, successors, and assigns.
@@ -0,0 +1,5 @@
1
+ include LICENSE
2
+ include README.md
3
+
4
+ recursive-exclude * __pycache__
5
+ recursive-exclude * *.py[co]