biocommons.python_package 0.0.8__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 (46) hide show
  1. biocommons_python_package-0.0.8/.deepsource.toml +13 -0
  2. biocommons_python_package-0.0.8/.dockerignore +33 -0
  3. biocommons_python_package-0.0.8/.github/CODEOWNERS +1 -0
  4. biocommons_python_package-0.0.8/.github/actions/setup-python-env/action.yml +31 -0
  5. biocommons_python_package-0.0.8/.github/dependabot.yml +19 -0
  6. biocommons_python_package-0.0.8/.github/labels.yml +3 -0
  7. biocommons_python_package-0.0.8/.github/workflows/dependabot-automerge.yml +25 -0
  8. biocommons_python_package-0.0.8/.github/workflows/labels.yml +29 -0
  9. biocommons_python_package-0.0.8/.github/workflows/python-ci-cd.yml +23 -0
  10. biocommons_python_package-0.0.8/.github/workflows/stale.yml +14 -0
  11. biocommons_python_package-0.0.8/.github/workflows/validate-codecov-config.yml +17 -0
  12. biocommons_python_package-0.0.8/.gitignore +116 -0
  13. biocommons_python_package-0.0.8/.mailmap +13 -0
  14. biocommons_python_package-0.0.8/.pre-commit-config.yaml +45 -0
  15. biocommons_python_package-0.0.8/CONTRIBUTING.md +9 -0
  16. biocommons_python_package-0.0.8/Dockerfile +21 -0
  17. biocommons_python_package-0.0.8/LICENSE.txt +201 -0
  18. biocommons_python_package-0.0.8/Makefile +147 -0
  19. biocommons_python_package-0.0.8/PKG-INFO +141 -0
  20. biocommons_python_package-0.0.8/README.md +107 -0
  21. biocommons_python_package-0.0.8/TODO +20 -0
  22. biocommons_python_package-0.0.8/codecov.yaml +9 -0
  23. biocommons_python_package-0.0.8/docs/index.md +8 -0
  24. biocommons_python_package-0.0.8/docs/modules.md +1 -0
  25. biocommons_python_package-0.0.8/mkdocs.yml +51 -0
  26. biocommons_python_package-0.0.8/noxfile.py +21 -0
  27. biocommons_python_package-0.0.8/pyproject.toml +242 -0
  28. biocommons_python_package-0.0.8/sbin/makefile-extract-documentation +34 -0
  29. biocommons_python_package-0.0.8/setup.cfg +4 -0
  30. biocommons_python_package-0.0.8/src/biocommons/python_package/__init__.py +11 -0
  31. biocommons_python_package-0.0.8/src/biocommons/python_package/__main__.py +30 -0
  32. biocommons_python_package-0.0.8/src/biocommons/python_package/_data/quotes.yaml +47 -0
  33. biocommons_python_package-0.0.8/src/biocommons/python_package/marvin.py +43 -0
  34. biocommons_python_package-0.0.8/src/biocommons/python_package/marvin_adjacent_test.py +8 -0
  35. biocommons_python_package-0.0.8/src/biocommons.python_package.egg-info/PKG-INFO +141 -0
  36. biocommons_python_package-0.0.8/src/biocommons.python_package.egg-info/SOURCES.txt +44 -0
  37. biocommons_python_package-0.0.8/src/biocommons.python_package.egg-info/dependency_links.txt +1 -0
  38. biocommons_python_package-0.0.8/src/biocommons.python_package.egg-info/entry_points.txt +2 -0
  39. biocommons_python_package-0.0.8/src/biocommons.python_package.egg-info/requires.txt +5 -0
  40. biocommons_python_package-0.0.8/src/biocommons.python_package.egg-info/scm_file_list.json +39 -0
  41. biocommons_python_package-0.0.8/src/biocommons.python_package.egg-info/scm_version.json +8 -0
  42. biocommons_python_package-0.0.8/src/biocommons.python_package.egg-info/top_level.txt +1 -0
  43. biocommons_python_package-0.0.8/src/biocommons.python_package.egg-info/zip-safe +1 -0
  44. biocommons_python_package-0.0.8/tests/test_example.py +9 -0
  45. biocommons_python_package-0.0.8/tests/test_marvin.py +5 -0
  46. biocommons_python_package-0.0.8/uv.lock +3395 -0
@@ -0,0 +1,13 @@
1
+ version = 1
2
+
3
+ test_patterns = [
4
+ "tests/**"
5
+ ]
6
+
7
+ [[analyzers]]
8
+ name = "python"
9
+ enabled = true
10
+ runtime_version = "3.x.x"
11
+
12
+ [analyzers.meta]
13
+ max_line_length = 100
@@ -0,0 +1,33 @@
1
+ # Bytecode files
2
+ __pycache__/
3
+ *.pyc
4
+ *.pyo
5
+
6
+ # Virtual environment
7
+ venv/
8
+ .venv/
9
+
10
+ # Debug and log files
11
+ *.log
12
+ debug*.txt
13
+
14
+ # Data and media
15
+ data/
16
+ media/
17
+
18
+ # Temporary files and directories
19
+ tmp/
20
+ temp/
21
+ *.swp
22
+
23
+ # IDE and OS files
24
+ .idea/
25
+ .vscode/
26
+ .DS_Store
27
+
28
+ # Distribution files
29
+ dist/
30
+ build/
31
+ *.egg-info/
32
+
33
+ .env
@@ -0,0 +1 @@
1
+ * @biocommons/maintainers
@@ -0,0 +1,31 @@
1
+ name: "Setup Python Environment"
2
+ description: "Set up Python environment for the given Python version"
3
+
4
+ inputs:
5
+ python-version:
6
+ description: "Python version to use"
7
+ required: true
8
+ default: "3.13"
9
+ uv-version:
10
+ description: "uv version to use"
11
+ required: true
12
+ default: "0.7.14"
13
+
14
+ runs:
15
+ using: "composite"
16
+ steps:
17
+ - uses: actions/setup-python@v5
18
+ with:
19
+ python-version: ${{ inputs.python-version }}
20
+
21
+ - name: Install uv
22
+ uses: astral-sh/setup-uv@v6
23
+ with:
24
+ version: ${{ inputs.uv-version }}
25
+ python-version: ${{ inputs.python-version }}
26
+ enable-cache: 'true'
27
+ cache-suffix: ${{ matrix.python-version }}
28
+
29
+ - name: Install Python dependencies
30
+ run: uv sync --frozen
31
+ shell: bash
@@ -0,0 +1,19 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: "uv"
4
+ directory: "/"
5
+ schedule:
6
+ interval: "weekly"
7
+ groups:
8
+ patch:
9
+ update-types:
10
+ - "patch"
11
+
12
+ - package-ecosystem: "github-actions"
13
+ directory: "/"
14
+ schedule:
15
+ interval: "weekly"
16
+ groups:
17
+ patch:
18
+ update-types:
19
+ - "patch"
@@ -0,0 +1,3 @@
1
+ # file must contain an array, which may be empty
2
+
3
+ []
@@ -0,0 +1,25 @@
1
+ name: Dependabot auto-merge
2
+
3
+ on: pull_request_target
4
+
5
+ permissions:
6
+ contents: write
7
+ pull-requests: write
8
+
9
+ jobs:
10
+ automerge:
11
+ if: github.actor == 'dependabot[bot]'
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - name: Get Dependabot metadata
15
+ id: metadata
16
+ uses: dependabot/fetch-metadata@v3
17
+ with:
18
+ github-token: "${{ secrets.GITHUB_TOKEN }}"
19
+
20
+ - name: Enable auto-merge for minor/patch updates
21
+ if: steps.metadata.outputs.update-type != 'version-update:semver-major'
22
+ run: gh pr merge --auto --merge "$PR_URL"
23
+ env:
24
+ PR_URL: ${{ github.event.pull_request.html_url }}
25
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -0,0 +1,29 @@
1
+ name: Sync labels
2
+ on:
3
+ workflow_dispatch:
4
+ push:
5
+ branches:
6
+ - 'main'
7
+ paths:
8
+ - '.github/labels.yml'
9
+ - '.github/workflows/labels.yml'
10
+
11
+ permissions:
12
+ issues: write
13
+
14
+ jobs:
15
+ labels:
16
+ runs-on: ubuntu-latest
17
+
18
+ steps:
19
+ - uses: actions/checkout@v7
20
+ with:
21
+ sparse-checkout: .github/labels.yml
22
+
23
+ - uses: EndBug/label-sync@v2
24
+ with:
25
+ config-file: |
26
+ https://raw.githubusercontent.com/biocommons/.github/main/etc/labels.yml
27
+ .github/labels.yml
28
+
29
+ delete-other-labels: false
@@ -0,0 +1,23 @@
1
+ name: Python CI/CD
2
+
3
+ on:
4
+ push: # branch or tag push on *this* repo
5
+ pull_request: # PR on *this or forked* repo
6
+
7
+ jobs:
8
+ python-ci-cd:
9
+ name: Python CI/CD
10
+ # run on all pushes and on PRs from forks;
11
+ # i.e., skip PRs on this repo because their push already triggered CI
12
+ if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
13
+ permissions:
14
+ contents: write # for gh-pages docs deploy
15
+ id-token: write # for Codecov OIDC
16
+ uses: biocommons/.github/.github/workflows/python-ci-cd.yml@main
17
+ with:
18
+ # tagged commits (tags) trigger publishing to PyPI and docs
19
+ publish: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') }}
20
+ secrets:
21
+ # org-level token; PyPI trusted publishing doesn't support reusable
22
+ # workflows yet: https://github.com/pypi/warehouse/issues/11096
23
+ pypi-token: ${{ secrets.UV_PUBLISH_TOKEN }}
@@ -0,0 +1,14 @@
1
+ name: 'Close stale issues and PRs'
2
+ on:
3
+ workflow_dispatch:
4
+ schedule:
5
+ - cron: '1 1 * * *'
6
+
7
+ permissions:
8
+ contents: read
9
+ issues: write
10
+ pull-requests: write
11
+
12
+ jobs:
13
+ stale:
14
+ uses: biocommons/.github/.github/workflows/stale.yml@main
@@ -0,0 +1,17 @@
1
+ name: Validate Codecov Config
2
+
3
+ on:
4
+ pull_request:
5
+ paths: [codecov.yaml]
6
+ push:
7
+ branches: [main]
8
+
9
+ jobs:
10
+ validate-codecov-config:
11
+ runs-on: ubuntu-latest
12
+ permissions:
13
+ contents: read
14
+ steps:
15
+ - uses: actions/checkout@v7
16
+ - name: Validate codecov configuration
17
+ run: curl -sSL --fail-with-body --data-binary @codecov.yaml https://codecov.io/validate
@@ -0,0 +1,116 @@
1
+ *$py.class
2
+ *.bak
3
+ *.cover
4
+ *.egg
5
+ *.egg-info
6
+ *.egg-info/
7
+ *.enc
8
+ *.log
9
+ *.manifest
10
+ *.mo
11
+ *.orig
12
+ *.pot
13
+ *.py.cover
14
+ *.py[codz]
15
+ *.rej
16
+ *.sage.py
17
+ *.so
18
+ *.spec
19
+ *.sqlite3
20
+ *.sqlite3-journal
21
+ *~
22
+ .DS_Store
23
+ .Python
24
+ .abstra/
25
+ .cache
26
+ .claude/
27
+ .coverage
28
+ .coverage.*
29
+ .cursorignore
30
+ .cursorindexingignore
31
+ .dmypy.json
32
+ .eggs/
33
+ .env
34
+ .envrc
35
+ .hypothesis/
36
+ .idea
37
+ .installed.cfg
38
+ .ipynb_checkpoints
39
+ .keys
40
+ .mypy_cache/
41
+ .nox/
42
+ .pdm-build/
43
+ .pdm-python
44
+ .pixi
45
+ .pybuilder/
46
+ .pypirc
47
+ .pyre/
48
+ .pytest_cache
49
+ .pytest_cache/
50
+ .python-version
51
+ .pytype/
52
+ .ropeproject
53
+ .ruff_cache/
54
+ .scrapy
55
+ .spyderproject
56
+ .spyproject
57
+ .tags
58
+ .tags.mk
59
+ .tox/
60
+ .venv
61
+ .vscode
62
+ .webassets-cache
63
+ /site
64
+ ENV/
65
+ MANIFEST
66
+ __marimo__/
67
+ __pycache__/
68
+ __pypackages__/
69
+ archive
70
+ bdist
71
+ bioutils/_data/assemblies/pull
72
+ build
73
+ build/
74
+ celerybeat-schedule
75
+ celerybeat.pid
76
+ cover/
77
+ coverage.xml
78
+ cython_debug/
79
+ develop-eggs/
80
+ dist/
81
+ dmypy.json
82
+ doc*/changelog/*/.tags
83
+ doc*/changelog/*/.tags.mk
84
+ doc/_build
85
+ doc/build
86
+ doc/changelog/*/.tags
87
+ doc/changelog/*/.tags.mk
88
+ doc/changelog/*/hg-git-remap.pl
89
+ docs/_build/
90
+ docs/source
91
+ downloads/
92
+ eggs/
93
+ env.bak/
94
+ env/
95
+ htmlcov/
96
+ instance/
97
+ ipython_config.py
98
+ lib/
99
+ lib64/
100
+ local_settings.py
101
+ marimo/_lsp/
102
+ marimo/_static/
103
+ misc
104
+ nosetests.xml
105
+ parts/
106
+ pip-delete-this-directory.txt
107
+ pip-log.txt
108
+ profile_default/
109
+ sdist/
110
+ share/python-wheels/
111
+ target/
112
+ tmp/
113
+ var/
114
+ venv.bak/
115
+ venv/
116
+ wheels/
@@ -0,0 +1,13 @@
1
+ # This file is used by Git to consolidate the users who used multiple accounts
2
+ # I pick the account with the most modified files in git shortlog -sne
3
+ Andreas Prlic <andreas.prlic@invitae.com> Andreas Prlic <36012160+andreas-invitae@users.noreply.github.com>
4
+ Andreas Prlic <andreas.prlic@invitae.com> Andreas Prlic <andreas.prlic@gmail.com>
5
+ Caitlin Gong <ccaitlingo@gmail.com> Caitlin Gong <clgong@vassar.edu>
6
+ Katie Stahl <kathryn.stahl@nationwidechildrens.org> katie stahl <kathryn.stahl@nationwidechildrens.org>
7
+ Manuel Holtgrewe <manuel.holtgrewe@bih-charite.de> Manuel Holtgrewe <manuel.holtgrewe@bihealth.de>
8
+ Meng <wangm0855@gmail.com> Meng Wang <wangm0855@gmail.com>
9
+ Reece Hart <reecehart@gmail.com> Reece Hart <reece@biocmmons.org>
10
+ Reece Hart <reecehart@gmail.com> Reece Hart <reece@biocommons.org>
11
+ Reece Hart <reecehart@gmail.com> Reece Hart <reecehart@Reeces-MacBook-Pro.local>
12
+ Reece Hart <reecehart@gmail.com> Reece Hart <reece@ip-192-168-0-13.us-west-2.compute.internal>
13
+ Rudy Rico <rudy.rico@invitae.com> Rudolph Rico <rudy.rico@invitae.com>
@@ -0,0 +1,45 @@
1
+ repos:
2
+ - repo: https://github.com/pre-commit/pre-commit-hooks
3
+ rev: v6.0.0
4
+ hooks:
5
+ - id: check-added-large-files
6
+ args: ["--maxkb=1500"]
7
+ - id: check-case-conflict
8
+ - id: check-merge-conflict
9
+ - id: check-json
10
+ exclude: ^.devcontainer/.*devcontainer.json
11
+ - id: check-shebang-scripts-are-executable
12
+ - id: check-symlinks
13
+ - id: check-toml
14
+ - id: check-yaml
15
+ - id: detect-aws-credentials
16
+ args: [ --allow-missing-credentials ]
17
+ - id: detect-private-key
18
+ - id: end-of-file-fixer
19
+ - id: fix-byte-order-marker
20
+ - id: mixed-line-ending
21
+ args: [--fix=lf]
22
+ - id: pretty-format-json
23
+ exclude: ^.devcontainer/.*devcontainer.json
24
+ args: [--autofix, --no-sort-keys]
25
+ - id: trailing-whitespace
26
+
27
+ - repo: https://github.com/astral-sh/ruff-pre-commit
28
+ rev: v0.17.0
29
+ hooks:
30
+ - id: ruff-check
31
+ args: [--fix, --exit-non-zero-on-fix]
32
+ - id: ruff-format
33
+
34
+ - repo: https://github.com/rhysd/actionlint
35
+ rev: v1.7.12
36
+ hooks:
37
+ - id: actionlint
38
+
39
+ - repo: local
40
+ hooks:
41
+ - id: canonicalize-gitignore
42
+ name: Sort unique .gitignore
43
+ entry: sh -c 'LC_ALL=C sort -u -o .gitignore .gitignore'
44
+ language: system
45
+ files: ^\.gitignore$
@@ -0,0 +1,9 @@
1
+ # CONTRIBUTING
2
+
3
+ Thank you for your interest in contributing to the biocommons community!
4
+ Contributions are welcome and greatly appreciated. There are many types of
5
+ contributions and you don't need to be a developer!
6
+
7
+ See https://biocommons.org/ for information about projects, how to connect with
8
+ the community, and contribution guidelines. We look forward to hearing from
9
+ you!
@@ -0,0 +1,21 @@
1
+ # Install uv
2
+ FROM python:3.12-slim
3
+ COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv
4
+
5
+ # Change the working directory to the `app` directory
6
+ WORKDIR /app
7
+
8
+ # Copy the lockfile and `pyproject.toml` into the image
9
+ COPY uv.lock /app/uv.lock
10
+ COPY pyproject.toml /app/pyproject.toml
11
+
12
+ # Install dependencies
13
+ RUN uv sync --frozen --no-install-project
14
+
15
+ # Copy the project into the image
16
+ COPY . /app
17
+
18
+ # Sync the project
19
+ RUN uv sync --frozen
20
+
21
+ CMD [ "python", "python_package/foo.py" ]
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "{}"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2025 Contributors
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.