rai-audit-kit 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.
@@ -0,0 +1,55 @@
1
+ # Python
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+ *.so
6
+ .Python
7
+
8
+ # Virtual environments
9
+ .venv/
10
+ venv/
11
+ env/
12
+
13
+ # Packaging / build
14
+ build/
15
+ dist/
16
+ *.egg-info/
17
+ *.egg
18
+ pip-wheel-metadata/
19
+ *.whl
20
+
21
+ # Test / coverage / type checking
22
+ .pytest_cache/
23
+ .coverage
24
+ .coverage.*
25
+ htmlcov/
26
+ .mypy_cache/
27
+ .ruff_cache/
28
+ .hypothesis/
29
+
30
+ # Audit runtime artifacts
31
+ .rai-audit/
32
+ *_audit_report.html
33
+ *_audit_report.md
34
+ *_audit_report.json
35
+ loan_audit_report.*
36
+
37
+ # Environment / secrets
38
+ .env
39
+ .env.*
40
+ !.env.example
41
+
42
+ # IDE / editor
43
+ .vscode/
44
+ .idea/
45
+ *.swp
46
+ *.swo
47
+ *~
48
+
49
+ # OS
50
+ .DS_Store
51
+ Thumbs.db
52
+ Desktop.ini
53
+
54
+ # Typical dev data
55
+ dev-data/
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Sai Teja Erukude
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,50 @@
1
+ Metadata-Version: 2.4
2
+ Name: rai-audit-kit
3
+ Version: 0.1.0
4
+ Summary: Responsible AI (RAI) Audit Kit — evidence-grade audits for responsible, secure, and trustworthy AI systems
5
+ Author: Sai Teja Erukude
6
+ License: MIT License
7
+
8
+ Copyright (c) 2026 Sai Teja Erukude
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ of this software and associated documentation files (the "Software"), to deal
12
+ in the Software without restriction, including without limitation the rights
13
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
+ copies of the Software, and to permit persons to whom the Software is
15
+ furnished to do so, subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be included in all
18
+ copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
+ SOFTWARE.
27
+ License-File: LICENSE
28
+ Keywords: audit,fairness,responsible-ai,robustness,security,trustworthy-ai
29
+ Classifier: Development Status :: 3 - Alpha
30
+ Classifier: Intended Audience :: Developers
31
+ Classifier: Intended Audience :: Science/Research
32
+ Classifier: License :: OSI Approved :: MIT License
33
+ Classifier: Programming Language :: Python :: 3
34
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
35
+ Requires-Python: >=3.10
36
+ Requires-Dist: rai-audit-core>=0.1.0
37
+ Requires-Dist: rai-audit-ml>=0.1.0
38
+ Provides-Extra: agents
39
+ Requires-Dist: rai-audit-agents>=0.1.0; extra == 'agents'
40
+ Provides-Extra: all
41
+ Requires-Dist: rai-audit-agents>=0.1.0; extra == 'all'
42
+ Requires-Dist: rai-audit-dl>=0.1.0; extra == 'all'
43
+ Requires-Dist: rai-audit-llm>=0.1.0; extra == 'all'
44
+ Provides-Extra: dl
45
+ Requires-Dist: rai-audit-dl>=0.1.0; extra == 'dl'
46
+ Provides-Extra: llm
47
+ Requires-Dist: rai-audit-llm>=0.1.0; extra == 'llm'
48
+ Description-Content-Type: text/markdown
49
+
50
+ # rai-audit-kit
@@ -0,0 +1 @@
1
+ # rai-audit-kit
@@ -0,0 +1,44 @@
1
+ [build-system]
2
+ requires = ["hatchling"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "rai-audit-kit"
7
+ version = "0.1.0"
8
+ description = "Responsible AI (RAI) Audit Kit — evidence-grade audits for responsible, secure, and trustworthy AI systems"
9
+ readme = "README.md"
10
+ license = { file = "LICENSE" }
11
+ authors = [{ name = "Sai Teja Erukude" }]
12
+ requires-python = ">=3.10"
13
+ keywords = ["responsible-ai", "fairness", "robustness", "security", "trustworthy-ai", "audit"]
14
+ classifiers = [
15
+ "Development Status :: 3 - Alpha",
16
+ "Intended Audience :: Developers",
17
+ "Intended Audience :: Science/Research",
18
+ "License :: OSI Approved :: MIT License",
19
+ "Programming Language :: Python :: 3",
20
+ "Topic :: Scientific/Engineering :: Artificial Intelligence",
21
+ ]
22
+ dependencies = [
23
+ "rai-audit-core>=0.1.0",
24
+ "rai-audit-ml>=0.1.0",
25
+ ]
26
+
27
+ [project.optional-dependencies]
28
+ dl = ["rai-audit-dl>=0.1.0"]
29
+ llm = ["rai-audit-llm>=0.1.0"]
30
+ agents = ["rai-audit-agents>=0.1.0"]
31
+ all = [
32
+ "rai-audit-dl>=0.1.0",
33
+ "rai-audit-llm>=0.1.0",
34
+ "rai-audit-agents>=0.1.0",
35
+ ]
36
+
37
+ [project.scripts]
38
+ rai-audit = "rai_audit.kit.cli:app"
39
+
40
+ [tool.hatch.build.targets.wheel]
41
+ packages = ["src/rai_audit"]
42
+
43
+ [tool.hatch.build.targets.wheel.sources]
44
+ "src" = ""
@@ -0,0 +1 @@
1
+ __version__ = "0.1.0"
@@ -0,0 +1,39 @@
1
+ """
2
+ Unified CLI entry point for rai-audit-kit.
3
+
4
+ Assembles the core commands and all available module subcommands
5
+ by loading registered plugins via entry points.
6
+ """
7
+ from __future__ import annotations
8
+
9
+ import importlib.metadata
10
+
11
+ import typer
12
+
13
+ from rai_audit.core.cli import app as core_app
14
+
15
+ app = typer.Typer(
16
+ name="rai-audit",
17
+ help="Responsible AI (RAI) Audit Kit — evidence-grade audits for responsible AI systems.",
18
+ no_args_is_help=True,
19
+ )
20
+
21
+ # Mount core commands directly on the kit app
22
+ for command in core_app.registered_commands:
23
+ app.registered_commands.append(command)
24
+
25
+ # Discover and mount plugin subcommands registered via entry points
26
+ def _load_plugins() -> None:
27
+ try:
28
+ eps = importlib.metadata.entry_points(group="rai_audit.plugins")
29
+ except Exception:
30
+ return
31
+ for ep in eps:
32
+ try:
33
+ register_fn = ep.load()
34
+ register_fn(app)
35
+ except Exception as exc:
36
+ typer.echo(f"[warning] Could not load plugin '{ep.name}': {exc}", err=True)
37
+
38
+
39
+ _load_plugins()