agent-vertical 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 (74) hide show
  1. agent_vertical-0.1.0/.github/CODEOWNERS +11 -0
  2. agent_vertical-0.1.0/.github/workflows/ci.yaml +76 -0
  3. agent_vertical-0.1.0/.github/workflows/ci.yml +56 -0
  4. agent_vertical-0.1.0/.github/workflows/release.yaml +62 -0
  5. agent_vertical-0.1.0/.gitignore +70 -0
  6. agent_vertical-0.1.0/CHANGELOG.md +21 -0
  7. agent_vertical-0.1.0/CODE_OF_CONDUCT.md +13 -0
  8. agent_vertical-0.1.0/CONTRIBUTING.md +73 -0
  9. agent_vertical-0.1.0/LICENSE +185 -0
  10. agent_vertical-0.1.0/Makefile +27 -0
  11. agent_vertical-0.1.0/PKG-INFO +104 -0
  12. agent_vertical-0.1.0/README.md +69 -0
  13. agent_vertical-0.1.0/SECURITY.md +28 -0
  14. agent_vertical-0.1.0/docs/architecture.md +79 -0
  15. agent_vertical-0.1.0/examples/01_quickstart.py +22 -0
  16. agent_vertical-0.1.0/examples/README.md +19 -0
  17. agent_vertical-0.1.0/pyproject.toml +85 -0
  18. agent_vertical-0.1.0/src/agent_vertical/__init__.py +160 -0
  19. agent_vertical-0.1.0/src/agent_vertical/benchmarks/__init__.py +50 -0
  20. agent_vertical-0.1.0/src/agent_vertical/benchmarks/evaluator.py +240 -0
  21. agent_vertical-0.1.0/src/agent_vertical/benchmarks/runner.py +317 -0
  22. agent_vertical-0.1.0/src/agent_vertical/benchmarks/scenarios.py +1272 -0
  23. agent_vertical-0.1.0/src/agent_vertical/certification/__init__.py +35 -0
  24. agent_vertical-0.1.0/src/agent_vertical/certification/evaluator.py +198 -0
  25. agent_vertical-0.1.0/src/agent_vertical/certification/report.py +294 -0
  26. agent_vertical-0.1.0/src/agent_vertical/certification/requirements.py +552 -0
  27. agent_vertical-0.1.0/src/agent_vertical/certification/risk_tier.py +156 -0
  28. agent_vertical-0.1.0/src/agent_vertical/certification/scorer.py +195 -0
  29. agent_vertical-0.1.0/src/agent_vertical/certified/__init__.py +48 -0
  30. agent_vertical-0.1.0/src/agent_vertical/certified/library.py +1058 -0
  31. agent_vertical-0.1.0/src/agent_vertical/certified/schema.py +493 -0
  32. agent_vertical-0.1.0/src/agent_vertical/certified/validator.py +455 -0
  33. agent_vertical-0.1.0/src/agent_vertical/cli/__init__.py +7 -0
  34. agent_vertical-0.1.0/src/agent_vertical/cli/main.py +793 -0
  35. agent_vertical-0.1.0/src/agent_vertical/compliance/__init__.py +40 -0
  36. agent_vertical-0.1.0/src/agent_vertical/compliance/checker.py +252 -0
  37. agent_vertical-0.1.0/src/agent_vertical/compliance/domain_rules.py +419 -0
  38. agent_vertical-0.1.0/src/agent_vertical/core/__init__.py +6 -0
  39. agent_vertical-0.1.0/src/agent_vertical/grounding/__init__.py +25 -0
  40. agent_vertical-0.1.0/src/agent_vertical/grounding/citation.py +208 -0
  41. agent_vertical-0.1.0/src/agent_vertical/grounding/claim_tracer.py +157 -0
  42. agent_vertical-0.1.0/src/agent_vertical/grounding/disclaimer.py +174 -0
  43. agent_vertical-0.1.0/src/agent_vertical/grounding/knowledge_base.py +166 -0
  44. agent_vertical-0.1.0/src/agent_vertical/grounding/source_tracker.py +201 -0
  45. agent_vertical-0.1.0/src/agent_vertical/grounding/validator.py +217 -0
  46. agent_vertical-0.1.0/src/agent_vertical/plugins/__init__.py +21 -0
  47. agent_vertical-0.1.0/src/agent_vertical/plugins/registry.py +311 -0
  48. agent_vertical-0.1.0/src/agent_vertical/py.typed +0 -0
  49. agent_vertical-0.1.0/src/agent_vertical/templates/__init__.py +33 -0
  50. agent_vertical-0.1.0/src/agent_vertical/templates/base.py +181 -0
  51. agent_vertical-0.1.0/src/agent_vertical/templates/education.py +246 -0
  52. agent_vertical-0.1.0/src/agent_vertical/templates/finance.py +242 -0
  53. agent_vertical-0.1.0/src/agent_vertical/templates/healthcare.py +238 -0
  54. agent_vertical-0.1.0/src/agent_vertical/templates/legal.py +242 -0
  55. agent_vertical-0.1.0/tests/__init__.py +0 -0
  56. agent_vertical-0.1.0/tests/conftest.py +25 -0
  57. agent_vertical-0.1.0/tests/fixtures/.gitkeep +0 -0
  58. agent_vertical-0.1.0/tests/integration/__init__.py +8 -0
  59. agent_vertical-0.1.0/tests/unit/__init__.py +0 -0
  60. agent_vertical-0.1.0/tests/unit/test_benchmarks.py +419 -0
  61. agent_vertical-0.1.0/tests/unit/test_benchmarks_evaluator.py +375 -0
  62. agent_vertical-0.1.0/tests/unit/test_benchmarks_runner.py +392 -0
  63. agent_vertical-0.1.0/tests/unit/test_benchmarks_scenarios.py +256 -0
  64. agent_vertical-0.1.0/tests/unit/test_certification_evaluator.py +372 -0
  65. agent_vertical-0.1.0/tests/unit/test_certification_report.py +381 -0
  66. agent_vertical-0.1.0/tests/unit/test_certification_risk_tier.py +177 -0
  67. agent_vertical-0.1.0/tests/unit/test_certification_scorer.py +216 -0
  68. agent_vertical-0.1.0/tests/unit/test_certified.py +1955 -0
  69. agent_vertical-0.1.0/tests/unit/test_cli_main.py +445 -0
  70. agent_vertical-0.1.0/tests/unit/test_compliance_checker.py +367 -0
  71. agent_vertical-0.1.0/tests/unit/test_coverage_gaps.py +273 -0
  72. agent_vertical-0.1.0/tests/unit/test_grounding.py +590 -0
  73. agent_vertical-0.1.0/tests/unit/test_plugins_registry.py +306 -0
  74. agent_vertical-0.1.0/tests/unit/test_templates.py +248 -0
@@ -0,0 +1,11 @@
1
+ # CODEOWNERS — require review from AumOS maintainers for all changes.
2
+ # See: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
3
+
4
+ # Global default: all files require maintainer review.
5
+ * @aumos-ai/maintainers
6
+
7
+ # CI and release workflows require additional scrutiny.
8
+ .github/workflows/ @aumos-ai/maintainers @aumos-ai/infra
9
+
10
+ # pyproject.toml changes affect all consumers.
11
+ pyproject.toml @aumos-ai/maintainers
@@ -0,0 +1,76 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
+ branches: [main]
8
+
9
+ permissions:
10
+ contents: read
11
+
12
+ jobs:
13
+ lint:
14
+ name: Lint (ruff)
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - uses: actions/checkout@v4
18
+ - uses: actions/setup-python@v5
19
+ with:
20
+ python-version: "3.12"
21
+ - name: Install dependencies
22
+ run: pip install -e ".[dev]"
23
+ - name: ruff lint
24
+ run: ruff check src/ tests/
25
+ - name: ruff format check
26
+ run: ruff format --check src/ tests/
27
+
28
+ typecheck:
29
+ name: Type check (mypy)
30
+ runs-on: ubuntu-latest
31
+ steps:
32
+ - uses: actions/checkout@v4
33
+ - uses: actions/setup-python@v5
34
+ with:
35
+ python-version: "3.12"
36
+ - name: Install dependencies
37
+ run: pip install -e ".[dev]"
38
+ - name: mypy
39
+ run: mypy src/
40
+
41
+ test:
42
+ name: Tests (Python ${{ matrix.python-version }}, ${{ matrix.os }})
43
+ runs-on: ${{ matrix.os }}
44
+ strategy:
45
+ fail-fast: false
46
+ matrix:
47
+ python-version: ["3.10", "3.11", "3.12"]
48
+ os: [ubuntu-latest]
49
+ steps:
50
+ - uses: actions/checkout@v4
51
+ - uses: actions/setup-python@v5
52
+ with:
53
+ python-version: ${{ matrix.python-version }}
54
+ - name: Install dependencies
55
+ run: pip install -e ".[dev]"
56
+ - name: Run tests with coverage
57
+ run: pytest tests/ -v
58
+ - name: Upload coverage report
59
+ if: matrix.python-version == '3.12'
60
+ uses: actions/upload-artifact@v4
61
+ with:
62
+ name: coverage-report
63
+ path: htmlcov/
64
+
65
+ security:
66
+ name: Security audit (pip-audit)
67
+ runs-on: ubuntu-latest
68
+ steps:
69
+ - uses: actions/checkout@v4
70
+ - uses: actions/setup-python@v5
71
+ with:
72
+ python-version: "3.12"
73
+ - name: Install dependencies
74
+ run: pip install -e ".[dev]"
75
+ - name: pip-audit
76
+ run: pip-audit
@@ -0,0 +1,56 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
+ branches: [main]
8
+
9
+ permissions:
10
+ contents: read
11
+
12
+ jobs:
13
+ lint:
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+ - uses: actions/setup-python@v5
18
+ with:
19
+ python-version: "3.12"
20
+ - run: pip install ruff
21
+ - run: ruff check src/ tests/
22
+ - run: ruff format --check src/ tests/
23
+
24
+ typecheck:
25
+ runs-on: ubuntu-latest
26
+ steps:
27
+ - uses: actions/checkout@v4
28
+ - uses: actions/setup-python@v5
29
+ with:
30
+ python-version: "3.12"
31
+ - run: pip install -e ".[dev]"
32
+ - run: mypy src/
33
+
34
+ test:
35
+ runs-on: ubuntu-latest
36
+ strategy:
37
+ matrix:
38
+ python-version: ["3.10", "3.11", "3.12"]
39
+ steps:
40
+ - uses: actions/checkout@v4
41
+ - uses: actions/setup-python@v5
42
+ with:
43
+ python-version: ${{ matrix.python-version }}
44
+ - run: pip install -e ".[dev]"
45
+ - run: pytest tests/ --cov=src --cov-fail-under=85 -q
46
+
47
+ security:
48
+ runs-on: ubuntu-latest
49
+ steps:
50
+ - uses: actions/checkout@v4
51
+ - uses: actions/setup-python@v5
52
+ with:
53
+ python-version: "3.12"
54
+ - run: pip install pip-audit
55
+ - run: pip install -e .
56
+ - run: pip-audit
@@ -0,0 +1,62 @@
1
+ name: Release
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - "v*"
7
+
8
+ permissions:
9
+ contents: write
10
+ id-token: write
11
+
12
+ jobs:
13
+ build:
14
+ name: Build distribution
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - uses: actions/checkout@v4
18
+ - uses: actions/setup-python@v5
19
+ with:
20
+ python-version: "3.12"
21
+ - name: Install hatchling
22
+ run: pip install hatchling
23
+ - name: Build wheel and sdist
24
+ run: python -m hatchling build
25
+ - name: Upload build artifacts
26
+ uses: actions/upload-artifact@v4
27
+ with:
28
+ name: dist
29
+ path: dist/
30
+
31
+ publish-pypi:
32
+ name: Publish to PyPI
33
+ needs: build
34
+ runs-on: ubuntu-latest
35
+ environment:
36
+ name: pypi
37
+ url: https://pypi.org/project/${{ github.event.repository.name }}/
38
+ steps:
39
+ - name: Download build artifacts
40
+ uses: actions/download-artifact@v4
41
+ with:
42
+ name: dist
43
+ path: dist/
44
+ - name: Publish to PyPI
45
+ uses: pypa/gh-action-pypi-publish@release/v1
46
+
47
+ github-release:
48
+ name: Create GitHub Release
49
+ needs: build
50
+ runs-on: ubuntu-latest
51
+ steps:
52
+ - uses: actions/checkout@v4
53
+ - name: Download build artifacts
54
+ uses: actions/download-artifact@v4
55
+ with:
56
+ name: dist
57
+ path: dist/
58
+ - name: Create GitHub Release
59
+ uses: softprops/action-gh-release@v2
60
+ with:
61
+ files: dist/*
62
+ generate_release_notes: true
@@ -0,0 +1,70 @@
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
+ build/
12
+ develop-eggs/
13
+ dist/
14
+ downloads/
15
+ eggs/
16
+ .eggs/
17
+ lib/
18
+ lib64/
19
+ parts/
20
+ sdist/
21
+ var/
22
+ wheels/
23
+ *.egg-info/
24
+ *.egg
25
+
26
+ # Virtual environments
27
+ .venv/
28
+ venv/
29
+ ENV/
30
+
31
+ # IDE
32
+ .idea/
33
+ .vscode/
34
+ *.swp
35
+ *.swo
36
+ *~
37
+
38
+ # Testing / coverage
39
+ htmlcov/
40
+ .tox/
41
+ .nox/
42
+ .coverage
43
+ .coverage.*
44
+ .cache
45
+ nosetests.xml
46
+ coverage.xml
47
+ *.cover
48
+ *.py,cover
49
+ .hypothesis/
50
+ .pytest_cache/
51
+
52
+ # mypy
53
+ .mypy_cache/
54
+ dmypy.json
55
+ dmypy.txt
56
+
57
+ # ruff
58
+ .ruff_cache/
59
+
60
+ # Environments
61
+ .env
62
+ .env.local
63
+ *.env
64
+
65
+ # OS
66
+ .DS_Store
67
+ Thumbs.db
68
+
69
+ # Jupyter
70
+ .ipynb_checkpoints/
@@ -0,0 +1,21 @@
1
+ # Changelog
2
+
3
+ All notable changes to agent-vertical are documented here.
4
+
5
+ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
6
+ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [Unreleased]
9
+
10
+ ## [0.1.0] - 2026-02-26
11
+
12
+ ### Added
13
+
14
+ - Initial project scaffold via AumOS bootstrap system
15
+ - Plugin registry with entry-point loading
16
+ - Click-based CLI entry point
17
+ - Full CI/CD pipeline (GitHub Actions)
18
+ - mypy strict + ruff lint configuration
19
+
20
+ [Unreleased]: https://github.com/aumos-ai/agent-vertical/compare/v0.1.0...HEAD
21
+ [0.1.0]: https://github.com/aumos-ai/agent-vertical/releases/tag/v0.1.0
@@ -0,0 +1,13 @@
1
+ # Code of Conduct
2
+
3
+ This project follows the AumOS organisation Code of Conduct.
4
+
5
+ Please read the full text at:
6
+ https://github.com/aumos-ai/.github/blob/main/CODE_OF_CONDUCT.md
7
+
8
+ In summary: be respectful, assume good faith, and keep discussions
9
+ focused on the technical work. Harassment and discrimination of any
10
+ kind are not tolerated.
11
+
12
+ To report a violation contact the maintainers via the email listed
13
+ in the organisation security policy.
@@ -0,0 +1,73 @@
1
+ # Contributing to agent-vertical
2
+
3
+ Thank you for contributing to agent-vertical, part of the AumOS portfolio.
4
+
5
+ ## Organisation-Wide Guidelines
6
+
7
+ Please read the AumOS organisation contributing guidelines first:
8
+ https://github.com/aumos-ai/.github/blob/main/CONTRIBUTING.md
9
+
10
+ The following sections cover project-specific conventions.
11
+
12
+ ## Development Setup
13
+
14
+ ```bash
15
+ git clone https://github.com/aumos-ai/agent-vertical.git
16
+ cd agent-vertical
17
+ pip install -e ".[dev]"
18
+ ```
19
+
20
+ ## Running the Test Suite
21
+
22
+ ```bash
23
+ make test # run all tests with coverage
24
+ make lint # ruff lint + format check
25
+ make typecheck # mypy strict
26
+ make ci # full CI suite locally
27
+ ```
28
+
29
+ ## Branch Naming
30
+
31
+ - Features: `feature/<short-description>`
32
+ - Bug fixes: `fix/<short-description>`
33
+ - Documentation: `docs/<short-description>`
34
+
35
+ Branch from `main`. Squash-merge PRs to keep history linear.
36
+
37
+ ## Commit Messages
38
+
39
+ Use conventional commits:
40
+
41
+ ```
42
+ feat: add plugin hot-reload support
43
+ fix: handle missing registry key gracefully
44
+ refactor: extract validation to separate module
45
+ docs: update architecture diagram
46
+ test: cover registry edge cases
47
+ chore: bump ruff to 0.4
48
+ ```
49
+
50
+ Commit messages explain WHY, not WHAT.
51
+
52
+ ## Pull Request Checklist
53
+
54
+ - [ ] Tests added or updated for all changed behaviour
55
+ - [ ] `make ci` passes locally
56
+ - [ ] Type hints present on all new function signatures
57
+ - [ ] Docstrings on all public symbols
58
+ - [ ] CHANGELOG.md updated under `[Unreleased]`
59
+
60
+ ## Code Style
61
+
62
+ This project enforces ruff (lint + format) and mypy strict. Run
63
+ `make format` to auto-fix formatting before committing.
64
+
65
+ ## Security Issues
66
+
67
+ Do not open a public issue for security vulnerabilities. See
68
+ [SECURITY.md](SECURITY.md) for the responsible disclosure process.
69
+
70
+ ## License
71
+
72
+ By contributing you agree that your contributions will be licensed
73
+ under the Apache 2.0 License.
@@ -0,0 +1,185 @@
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 made available under
36
+ the License, as indicated by a copyright notice that is included in
37
+ or attached to the work (an example is provided in the Appendix below).
38
+
39
+ "Derivative Works" shall mean any work, whether in Source or Object
40
+ form, that is based on (or derived from) the Work and for which the
41
+ editorial revisions, annotations, elaborations, or other modifications
42
+ represent, as a whole, an original work of authorship. For the purposes
43
+ of this License, Derivative Works shall not include works that remain
44
+ separable from, or merely link (or bind by name) to the interfaces of,
45
+ the Work and Derivative Works thereof.
46
+
47
+ "Contribution" shall mean, as submitted to the Licensor for inclusion
48
+ in the Work by the copyright owner or by an individual or Legal Entity
49
+ authorized to submit on behalf of the copyright owner, any Derivative
50
+ Works of the Work.
51
+
52
+ "Contributor" shall mean Licensor and any Legal Entity on behalf of
53
+ whom a Contribution has been received by the Licensor and included
54
+ within the Work.
55
+
56
+ 2. Grant of Copyright License. Subject to the terms and conditions of
57
+ this License, each Contributor hereby grants to You a perpetual,
58
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
59
+ copyright license to reproduce, prepare Derivative Works of,
60
+ publicly display, publicly perform, sublicense, and distribute the
61
+ Work and such Derivative Works in Source or Object form.
62
+
63
+ 3. Grant of Patent License. Subject to the terms and conditions of
64
+ this License, each Contributor hereby grants to You a perpetual,
65
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
66
+ (except as stated in this section) patent license to make, have made,
67
+ use, offer to sell, sell, import, and otherwise transfer the Work,
68
+ where such license applies only to those patent claims licensable
69
+ by such Contributor that are necessarily infringed by their
70
+ Contribution(s) alone or by the combination of their Contribution(s)
71
+ with the Work to which such Contribution(s) was submitted. If You
72
+ institute patent litigation against any entity (including a cross-claim
73
+ or counterclaim in a lawsuit) alleging that the Work or any
74
+ Contribution embodied within the Work constitutes direct or contributory
75
+ patent infringement, then any patent licenses granted to You under
76
+ this License for that Work shall terminate as of the date such
77
+ litigation is filed.
78
+
79
+ 4. Redistribution. You may reproduce and distribute copies of the
80
+ Work or Derivative Works thereof in any medium, with or without
81
+ modifications, and in Source or Object form, provided that You
82
+ meet the following conditions:
83
+
84
+ (a) You must give any other recipients of the Work or Derivative
85
+ Works a copy of this License; and
86
+
87
+ (b) You must cause any modified files to carry prominent notices
88
+ stating that You changed the files; and
89
+
90
+ (c) You must retain, in the Source form of any Derivative Works
91
+ that You distribute, all copyright, patent, trademark, and
92
+ attribution notices from the Source form of the Work,
93
+ excluding those notices that do not pertain to any part of
94
+ the Derivative Works; and
95
+
96
+ (d) If the Work includes a "NOTICE" text file as part of its
97
+ distribution, You must include a readable copy of the
98
+ attribution notices contained within such NOTICE file, in
99
+ at least one of the following places: within a NOTICE text
100
+ file distributed as part of the Derivative Works; within
101
+ the Source form or documentation, if provided along with the
102
+ Derivative Works; or, within a display generated by the
103
+ Derivative Works, if and wherever such third-party notices
104
+ normally appear. The contents of the NOTICE file are for
105
+ informational purposes only and do not modify the License.
106
+ You may add Your own attribution notices within Derivative
107
+ Works that You distribute, alongside or as an addendum to
108
+ the NOTICE text from the Work, provided that such additional
109
+ attribution notices cannot be construed as modifying the License.
110
+
111
+ You may add Your own license statement for Your modifications and
112
+ may provide additional grant of rights to use, copy, modify, merge,
113
+ publish, distribute, sublicense, and/or sell copies of the
114
+ Derivative Works, as required.
115
+
116
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
117
+ any Contribution intentionally submitted for inclusion in the Work
118
+ by You to the Licensor shall be under the terms and conditions of
119
+ this License, without any additional terms or conditions.
120
+ Notwithstanding the above, nothing herein shall supersede or modify
121
+ the terms of any separate license agreement you may have executed
122
+ with Licensor regarding such Contributions.
123
+
124
+ 6. Trademarks. This License does not grant permission to use the trade
125
+ names, trademarks, service marks, or product names of the Licensor,
126
+ except as required for reasonable and customary use in describing the
127
+ origin of the Work and reproducing the content of the NOTICE file.
128
+
129
+ 7. Disclaimer of Warranty. Unless required by applicable law or
130
+ agreed to in writing, Licensor provides the Work (and each
131
+ Contributor provides its Contributions) on an "AS IS" BASIS,
132
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
133
+ implied, including, without limitation, any warranties or conditions
134
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
135
+ PARTICULAR PURPOSE. You are solely responsible for determining the
136
+ appropriateness of using or reproducing the Work and assume any
137
+ risks associated with Your exercise of permissions under this License.
138
+
139
+ 8. Limitation of Liability. In no event and under no legal theory,
140
+ whether in tort (including negligence), contract, or otherwise,
141
+ unless required by applicable law (such as deliberate and grossly
142
+ negligent acts) or agreed to in writing, shall any Contributor be
143
+ liable to You for damages, including any direct, indirect, special,
144
+ incidental, or exemplary damages of any character arising as a
145
+ result of this License or out of the use or inability to use the
146
+ Work (including but not limited to damages for loss of goodwill,
147
+ work stoppage, computer failure or malfunction, or all other
148
+ commercial damages or losses), even if such Contributor has been
149
+ advised of the possibility of such damages.
150
+
151
+ 9. Accepting Warranty or Liability. While redistributing the Work or
152
+ Derivative Works thereof, You may choose to offer, and charge a fee
153
+ for, acceptance of support, warranty, indemnity, or other liability
154
+ obligations and/or rights consistent with this License. However, in
155
+ accepting such obligations, You may offer such conditions only on
156
+ Your own behalf and on Your sole responsibility, not on behalf of
157
+ any other Contributor, and only if You agree to indemnify, defend,
158
+ and hold each Contributor harmless for any liability incurred by,
159
+ or claims asserted against, such Contributor by reason of your
160
+ accepting any warranty or additional liability.
161
+
162
+ END OF TERMS AND CONDITIONS
163
+
164
+ APPENDIX: How to apply the Apache License to your work.
165
+
166
+ To apply the Apache License to your work, attach the following
167
+ boilerplate notice, with the fields enclosed by brackets "[]"
168
+ replaced with your own identifying information. (Don't include
169
+ the brackets!) The text should be enclosed in the appropriate
170
+ comment syntax for the file format in question. Please also
171
+ include a "NOTICE" file as specified above.
172
+
173
+ Copyright [yyyy] [name of copyright owner]
174
+
175
+ Licensed under the Apache License, Version 2.0 (the "License");
176
+ you may not use this file except in compliance with the License.
177
+ You may obtain a copy of the License at
178
+
179
+ http://www.apache.org/licenses/LICENSE-2.0
180
+
181
+ Unless required by applicable law or agreed to in writing, software
182
+ distributed under the License is distributed on an "AS IS" BASIS,
183
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
184
+ See the License for the specific language governing permissions and
185
+ limitations under the License.
@@ -0,0 +1,27 @@
1
+ .PHONY: install test lint typecheck format security ci clean
2
+
3
+ install:
4
+ pip install -e ".[dev]"
5
+
6
+ test:
7
+ pytest tests/ -v
8
+
9
+ lint:
10
+ ruff check src/ tests/
11
+ ruff format --check src/ tests/
12
+
13
+ typecheck:
14
+ mypy src/
15
+
16
+ format:
17
+ ruff format src/ tests/
18
+ ruff check --fix src/ tests/
19
+
20
+ security:
21
+ pip-audit
22
+
23
+ ci: lint typecheck test security
24
+
25
+ clean:
26
+ rm -rf dist/ build/ *.egg-info .pytest_cache .mypy_cache .ruff_cache htmlcov/
27
+ find . -type d -name __pycache__ -exec rm -rf {} +