iack-framework 0.2.0__py3-none-any.whl
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.
- iack/__init__.py +0 -0
- iack/mappings/__init__.py +0 -0
- iack/mappings/csf_mapping.py +87 -0
- iack/metrics/__init__.py +0 -0
- iack/metrics/model.py +81 -0
- iack/outputs/__init__.py +0 -0
- iack/outputs/report_writer.py +90 -0
- iack/validators/__init__.py +0 -0
- iack/validators/assessment_validator.py +95 -0
- iack_framework-0.2.0.dist-info/METADATA +86 -0
- iack_framework-0.2.0.dist-info/RECORD +15 -0
- iack_framework-0.2.0.dist-info/WHEEL +5 -0
- iack_framework-0.2.0.dist-info/entry_points.txt +5 -0
- iack_framework-0.2.0.dist-info/licenses/LICENSE +176 -0
- iack_framework-0.2.0.dist-info/top_level.txt +1 -0
iack/__init__.py
ADDED
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import json
|
|
2
|
+
import sys
|
|
3
|
+
from pathlib import Path
|
|
4
|
+
|
|
5
|
+
from iack.metrics.model import score_assessment
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
DOMAIN_TO_CSF = {
|
|
9
|
+
"confidentiality": {
|
|
10
|
+
"csf_function": "Protect",
|
|
11
|
+
"csf_code": "PR",
|
|
12
|
+
"rationale": "Confidentiality safeguards align to data protection and access control outcomes."
|
|
13
|
+
},
|
|
14
|
+
"authenticity": {
|
|
15
|
+
"csf_function": "Protect",
|
|
16
|
+
"csf_code": "PR",
|
|
17
|
+
"rationale": "Authenticity supports trusted identities, credentials, and protective safeguards."
|
|
18
|
+
},
|
|
19
|
+
"integrity": {
|
|
20
|
+
"csf_function": "Detect",
|
|
21
|
+
"csf_code": "DE",
|
|
22
|
+
"rationale": "Integrity issues often require monitoring, verification, and detection of unauthorized changes."
|
|
23
|
+
},
|
|
24
|
+
"governance": {
|
|
25
|
+
"csf_function": "Govern",
|
|
26
|
+
"csf_code": "GV",
|
|
27
|
+
"rationale": "Governance metrics align to risk strategy, policy, and oversight."
|
|
28
|
+
},
|
|
29
|
+
"asset_management": {
|
|
30
|
+
"csf_function": "Identify",
|
|
31
|
+
"csf_code": "ID",
|
|
32
|
+
"rationale": "Asset understanding and risk context align to identification outcomes."
|
|
33
|
+
},
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
def apply_csf_mapping(result: dict) -> dict:
|
|
38
|
+
mapped_results = []
|
|
39
|
+
|
|
40
|
+
for metric in result["metric_results"]:
|
|
41
|
+
domain = metric["domain"]
|
|
42
|
+
mapping = DOMAIN_TO_CSF.get(
|
|
43
|
+
domain,
|
|
44
|
+
{
|
|
45
|
+
"csf_function": "Identify",
|
|
46
|
+
"csf_code": "ID",
|
|
47
|
+
"rationale": "Default mapping used until a domain-specific mapping is defined."
|
|
48
|
+
},
|
|
49
|
+
)
|
|
50
|
+
|
|
51
|
+
enriched_metric = dict(metric)
|
|
52
|
+
enriched_metric.update(mapping)
|
|
53
|
+
mapped_results.append(enriched_metric)
|
|
54
|
+
|
|
55
|
+
result_with_mapping = dict(result)
|
|
56
|
+
result_with_mapping["metric_results"] = mapped_results
|
|
57
|
+
return result_with_mapping
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
def main() -> int:
|
|
61
|
+
if len(sys.argv) < 2:
|
|
62
|
+
print("Usage: python -m iack.mappings.csf_mapping <input_json>")
|
|
63
|
+
return 1
|
|
64
|
+
|
|
65
|
+
input_path = Path(sys.argv[1])
|
|
66
|
+
if not input_path.exists():
|
|
67
|
+
print(f"Input file not found: {input_path}")
|
|
68
|
+
return 1
|
|
69
|
+
|
|
70
|
+
with input_path.open("r", encoding="utf-8-sig") as f:
|
|
71
|
+
data = json.load(f)
|
|
72
|
+
|
|
73
|
+
scored_result = score_assessment(data)
|
|
74
|
+
mapped_result = apply_csf_mapping(scored_result)
|
|
75
|
+
|
|
76
|
+
output_dir = Path("data/output")
|
|
77
|
+
output_dir.mkdir(parents=True, exist_ok=True)
|
|
78
|
+
|
|
79
|
+
output_path = output_dir / "assessment_result_mapped.json"
|
|
80
|
+
output_path.write_text(json.dumps(mapped_result, indent=2), encoding="utf-8-sig")
|
|
81
|
+
|
|
82
|
+
print(f"Wrote: {output_path}")
|
|
83
|
+
return 0
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
if __name__ == "__main__":
|
|
87
|
+
raise SystemExit(main())
|
iack/metrics/__init__.py
ADDED
|
File without changes
|
iack/metrics/model.py
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import json
|
|
2
|
+
import sys
|
|
3
|
+
from pathlib import Path
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
def confidence_from_evidence_count(evidence_count: int) -> str:
|
|
7
|
+
if evidence_count >= 3:
|
|
8
|
+
return "high"
|
|
9
|
+
if evidence_count == 2:
|
|
10
|
+
return "medium"
|
|
11
|
+
return "low"
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def score_assessment(data: dict) -> dict:
|
|
15
|
+
metrics = data["metrics"]
|
|
16
|
+
weighted_score = 0.0
|
|
17
|
+
scored_metrics = []
|
|
18
|
+
|
|
19
|
+
passed_metrics = 0
|
|
20
|
+
failed_metrics = 0
|
|
21
|
+
|
|
22
|
+
for metric in metrics:
|
|
23
|
+
score = float(metric["score"])
|
|
24
|
+
weight = float(metric["weight"])
|
|
25
|
+
threshold = float(metric["threshold"])
|
|
26
|
+
evidence = metric.get("evidence", [])
|
|
27
|
+
|
|
28
|
+
weighted_score += score * weight
|
|
29
|
+
passed = score >= threshold
|
|
30
|
+
confidence = confidence_from_evidence_count(len(evidence))
|
|
31
|
+
|
|
32
|
+
if passed:
|
|
33
|
+
passed_metrics += 1
|
|
34
|
+
else:
|
|
35
|
+
failed_metrics += 1
|
|
36
|
+
|
|
37
|
+
scored_metrics.append(
|
|
38
|
+
{
|
|
39
|
+
"metric_id": metric["metric_id"],
|
|
40
|
+
"metric_name": metric["metric_name"],
|
|
41
|
+
"domain": metric["domain"],
|
|
42
|
+
"score": round(score, 4),
|
|
43
|
+
"weight": round(weight, 4),
|
|
44
|
+
"threshold": round(threshold, 4),
|
|
45
|
+
"passed": passed,
|
|
46
|
+
"confidence": confidence,
|
|
47
|
+
"evidence_count": len(evidence),
|
|
48
|
+
}
|
|
49
|
+
)
|
|
50
|
+
|
|
51
|
+
return {
|
|
52
|
+
"assessment_id": data["assessment_id"],
|
|
53
|
+
"system_name": data["system_name"],
|
|
54
|
+
"assessment_date": data["assessment_date"],
|
|
55
|
+
"overall_weighted_score": round(weighted_score, 4),
|
|
56
|
+
"metrics_passed": passed_metrics,
|
|
57
|
+
"metrics_failed": failed_metrics,
|
|
58
|
+
"metric_results": scored_metrics,
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
def main() -> int:
|
|
63
|
+
if len(sys.argv) < 2:
|
|
64
|
+
print("Usage: python -m iack.metrics.model <input_json>")
|
|
65
|
+
return 1
|
|
66
|
+
|
|
67
|
+
input_path = Path(sys.argv[1])
|
|
68
|
+
if not input_path.exists():
|
|
69
|
+
print(f"Input file not found: {input_path}")
|
|
70
|
+
return 1
|
|
71
|
+
|
|
72
|
+
with input_path.open("r", encoding="utf-8-sig") as f:
|
|
73
|
+
data = json.load(f)
|
|
74
|
+
|
|
75
|
+
result = score_assessment(data)
|
|
76
|
+
print(json.dumps(result, indent=2))
|
|
77
|
+
return 0
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
if __name__ == "__main__":
|
|
81
|
+
raise SystemExit(main())
|
iack/outputs/__init__.py
ADDED
|
File without changes
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import csv
|
|
2
|
+
import json
|
|
3
|
+
import sys
|
|
4
|
+
from pathlib import Path
|
|
5
|
+
|
|
6
|
+
from iack.metrics.model import score_assessment
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
def write_json(output_path: Path, data: dict) -> None:
|
|
10
|
+
output_path.write_text(json.dumps(data, indent=2), encoding="utf-8")
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def write_csv(output_path: Path, metric_results: list[dict]) -> None:
|
|
14
|
+
with output_path.open("w", newline="", encoding="utf-8") as f:
|
|
15
|
+
writer = csv.DictWriter(
|
|
16
|
+
f,
|
|
17
|
+
fieldnames=[
|
|
18
|
+
"metric_id",
|
|
19
|
+
"metric_name",
|
|
20
|
+
"domain",
|
|
21
|
+
"score",
|
|
22
|
+
"weight",
|
|
23
|
+
"threshold",
|
|
24
|
+
"passed",
|
|
25
|
+
"confidence",
|
|
26
|
+
"evidence_count",
|
|
27
|
+
],
|
|
28
|
+
)
|
|
29
|
+
writer.writeheader()
|
|
30
|
+
writer.writerows(metric_results)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
def write_markdown(output_path: Path, result: dict) -> None:
|
|
34
|
+
lines = [
|
|
35
|
+
f"# IACK Assessment Report: {result['assessment_id']}",
|
|
36
|
+
"",
|
|
37
|
+
f"- System: {result['system_name']}",
|
|
38
|
+
f"- Assessment date: {result['assessment_date']}",
|
|
39
|
+
f"- Overall weighted score: {result['overall_weighted_score']}",
|
|
40
|
+
f"- Metrics passed: {result['metrics_passed']}",
|
|
41
|
+
f"- Metrics failed: {result['metrics_failed']}",
|
|
42
|
+
"",
|
|
43
|
+
"## Metric results",
|
|
44
|
+
"",
|
|
45
|
+
"| Metric ID | Metric Name | Domain | Score | Threshold | Passed | Confidence | Evidence Count |",
|
|
46
|
+
"|---|---|---|---:|---:|---|---|---:|",
|
|
47
|
+
]
|
|
48
|
+
|
|
49
|
+
for metric in result["metric_results"]:
|
|
50
|
+
lines.append(
|
|
51
|
+
f"| {metric['metric_id']} | {metric['metric_name']} | {metric['domain']} | "
|
|
52
|
+
f"{metric['score']} | {metric['threshold']} | {metric['passed']} | "
|
|
53
|
+
f"{metric['confidence']} | {metric['evidence_count']} |"
|
|
54
|
+
)
|
|
55
|
+
|
|
56
|
+
output_path.write_text("\n".join(lines) + "\n", encoding="utf-8")
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
def main() -> int:
|
|
60
|
+
if len(sys.argv) < 2:
|
|
61
|
+
print("Usage: python -m iack.outputs.report_writer <input_json>")
|
|
62
|
+
return 1
|
|
63
|
+
|
|
64
|
+
input_path = Path(sys.argv[1])
|
|
65
|
+
if not input_path.exists():
|
|
66
|
+
print(f"Input file not found: {input_path}")
|
|
67
|
+
return 1
|
|
68
|
+
|
|
69
|
+
with input_path.open("r", encoding="utf-8-sig") as f:
|
|
70
|
+
data = json.load(f)
|
|
71
|
+
|
|
72
|
+
result = score_assessment(data)
|
|
73
|
+
|
|
74
|
+
output_dir = Path("data/output")
|
|
75
|
+
output_dir.mkdir(parents=True, exist_ok=True)
|
|
76
|
+
|
|
77
|
+
write_json(output_dir / "assessment_result.json", result)
|
|
78
|
+
write_csv(output_dir / "assessment_result.csv", result["metric_results"])
|
|
79
|
+
write_markdown(output_dir / "assessment_result.md", result)
|
|
80
|
+
|
|
81
|
+
print("Wrote:")
|
|
82
|
+
print("- data/output/assessment_result.json")
|
|
83
|
+
print("- data/output/assessment_result.csv")
|
|
84
|
+
print("- data/output/assessment_result.md")
|
|
85
|
+
return 0
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
if __name__ == "__main__":
|
|
89
|
+
raise SystemExit(main())
|
|
90
|
+
|
|
File without changes
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import json
|
|
2
|
+
import sys
|
|
3
|
+
from pathlib import Path
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
REQUIRED_TOP_LEVEL = ["assessment_id", "system_name", "assessment_date", "metrics"]
|
|
7
|
+
REQUIRED_METRIC_FIELDS = [
|
|
8
|
+
"metric_id",
|
|
9
|
+
"metric_name",
|
|
10
|
+
"domain",
|
|
11
|
+
"weight",
|
|
12
|
+
"threshold",
|
|
13
|
+
"confidence_rule",
|
|
14
|
+
"score",
|
|
15
|
+
"evidence",
|
|
16
|
+
]
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
def validate_assessment(data: dict) -> list[str]:
|
|
20
|
+
errors = []
|
|
21
|
+
|
|
22
|
+
for field in REQUIRED_TOP_LEVEL:
|
|
23
|
+
if field not in data:
|
|
24
|
+
errors.append(f"Missing top-level field: {field}")
|
|
25
|
+
|
|
26
|
+
metrics = data.get("metrics", [])
|
|
27
|
+
if not isinstance(metrics, list) or not metrics:
|
|
28
|
+
errors.append("metrics must be a non-empty list")
|
|
29
|
+
return errors
|
|
30
|
+
|
|
31
|
+
total_weight = 0.0
|
|
32
|
+
|
|
33
|
+
for index, metric in enumerate(metrics, start=1):
|
|
34
|
+
for field in REQUIRED_METRIC_FIELDS:
|
|
35
|
+
if field not in metric:
|
|
36
|
+
errors.append(f"Metric #{index} missing field: {field}")
|
|
37
|
+
|
|
38
|
+
metric_id = metric.get("metric_id", f"Metric #{index}")
|
|
39
|
+
weight = metric.get("weight")
|
|
40
|
+
threshold = metric.get("threshold")
|
|
41
|
+
score = metric.get("score")
|
|
42
|
+
evidence = metric.get("evidence", [])
|
|
43
|
+
|
|
44
|
+
if isinstance(weight, (int, float)):
|
|
45
|
+
total_weight += weight
|
|
46
|
+
if not 0 <= weight <= 1:
|
|
47
|
+
errors.append(f"{metric_id} weight must be between 0 and 1")
|
|
48
|
+
else:
|
|
49
|
+
errors.append(f"{metric_id} weight must be numeric")
|
|
50
|
+
|
|
51
|
+
if not isinstance(threshold, (int, float)) or not 0 <= threshold <= 1:
|
|
52
|
+
errors.append(f"{metric_id} threshold must be between 0 and 1")
|
|
53
|
+
|
|
54
|
+
if not isinstance(score, (int, float)) or not 0 <= score <= 1:
|
|
55
|
+
errors.append(f"{metric_id} score must be between 0 and 1")
|
|
56
|
+
|
|
57
|
+
if not isinstance(evidence, list):
|
|
58
|
+
errors.append(f"{metric_id} evidence must be a list")
|
|
59
|
+
elif len(evidence) == 0:
|
|
60
|
+
errors.append(f"{metric_id} must include at least one evidence item")
|
|
61
|
+
|
|
62
|
+
if round(total_weight, 2) != 1.00:
|
|
63
|
+
errors.append(f"Metric weights must sum to 1.00, got {total_weight:.2f}")
|
|
64
|
+
|
|
65
|
+
return errors
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
def main() -> int:
|
|
69
|
+
if len(sys.argv) < 2:
|
|
70
|
+
print("Usage: python -m iack.validators.assessment_validator <input_json>")
|
|
71
|
+
return 1
|
|
72
|
+
|
|
73
|
+
input_path = Path(sys.argv[1])
|
|
74
|
+
|
|
75
|
+
if not input_path.exists():
|
|
76
|
+
print(f"Input file not found: {input_path}")
|
|
77
|
+
return 1
|
|
78
|
+
|
|
79
|
+
with input_path.open("r", encoding="utf-8-sig") as f:
|
|
80
|
+
data = json.load(f)
|
|
81
|
+
|
|
82
|
+
errors = validate_assessment(data)
|
|
83
|
+
|
|
84
|
+
if errors:
|
|
85
|
+
print("Validation failed:")
|
|
86
|
+
for error in errors:
|
|
87
|
+
print(f"- {error}")
|
|
88
|
+
return 1
|
|
89
|
+
|
|
90
|
+
print("Validation passed.")
|
|
91
|
+
return 0
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
if __name__ == "__main__":
|
|
95
|
+
raise SystemExit(main())
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: iack-framework
|
|
3
|
+
Version: 0.2.0
|
|
4
|
+
Summary: Integrity-Authenticity-Confidentiality-Key management cybersecurity framework
|
|
5
|
+
Author-email: Felix Cepeda <felicepeda@hotmail.com>
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Requires-Python: >=3.11
|
|
8
|
+
Description-Content-Type: text/markdown
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Provides-Extra: dev
|
|
11
|
+
Requires-Dist: pytest>=8.0; extra == "dev"
|
|
12
|
+
Requires-Dist: ruff>=0.5.0; extra == "dev"
|
|
13
|
+
Dynamic: license-file
|
|
14
|
+
|
|
15
|
+
# IACK Framework
|
|
16
|
+
|
|
17
|
+
IACK is an Integrity-Authenticity-Confidentiality-Key management framework for cybersecurity assessment and validation.
|
|
18
|
+
|
|
19
|
+
## Install
|
|
20
|
+
|
|
21
|
+
```powershell
|
|
22
|
+
python -m pip install -e .
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## CLI usage
|
|
26
|
+
|
|
27
|
+
The IACK package exposes four CLI commands for validation, scoring, CSF mapping, and report generation.
|
|
28
|
+
|
|
29
|
+
```powershell
|
|
30
|
+
python -m pip install -e .
|
|
31
|
+
iack-validate .\examples\assessment-input.json
|
|
32
|
+
iack-score .\examples\assessment-input.json
|
|
33
|
+
iack-map-csf .\examples\assessment-input.json
|
|
34
|
+
iack-report .\examples\assessment-input.json
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
### Output files
|
|
38
|
+
|
|
39
|
+
- `data/output/assessment_result.json`
|
|
40
|
+
- `data/output/assessment_result.csv`
|
|
41
|
+
- `data/output/assessment_result.md`
|
|
42
|
+
- `data/output/assessment_result_mapped.json`
|
|
43
|
+
|
|
44
|
+
## Assessment flow
|
|
45
|
+
|
|
46
|
+
```python
|
|
47
|
+
import json
|
|
48
|
+
from pathlib import Path
|
|
49
|
+
|
|
50
|
+
from iack.validators.assessment_validator import validate_assessment
|
|
51
|
+
from iack.metrics.model import score_assessment
|
|
52
|
+
from iack.mappings.csf_mapping import apply_csf_mapping
|
|
53
|
+
from iack.outputs.report_writer import write_json, write_csv, write_markdown
|
|
54
|
+
|
|
55
|
+
input_path = Path("examples/assessment-input.json")
|
|
56
|
+
data = json.loads(input_path.read_text(encoding="utf-8-sig"))
|
|
57
|
+
|
|
58
|
+
errors = validate_assessment(data)
|
|
59
|
+
if errors:
|
|
60
|
+
raise ValueError(f"Assessment validation failed: {errors}")
|
|
61
|
+
|
|
62
|
+
result = score_assessment(data)
|
|
63
|
+
mapped_result = apply_csf_mapping(result)
|
|
64
|
+
|
|
65
|
+
output_dir = Path("data/output")
|
|
66
|
+
output_dir.mkdir(parents=True, exist_ok=True)
|
|
67
|
+
|
|
68
|
+
write_json(output_dir / "assessment_result.json", mapped_result)
|
|
69
|
+
write_csv(output_dir / "assessment_result.csv", mapped_result["metric_results"])
|
|
70
|
+
write_markdown(output_dir / "assessment_result.md", mapped_result)
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
## Example inputs
|
|
74
|
+
|
|
75
|
+
- `examples/assessment-input.json`
|
|
76
|
+
- `examples/expected-output.json`
|
|
77
|
+
|
|
78
|
+
## Run tests
|
|
79
|
+
|
|
80
|
+
```powershell
|
|
81
|
+
pytest
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
## Package layout
|
|
85
|
+
|
|
86
|
+
The installable package lives under `src/iack/`. Root-level files such as `README.md`, `pyproject.toml`, `tests/`, and `examples/` support packaging, documentation, and validation.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
iack/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
iack/mappings/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
iack/mappings/csf_mapping.py,sha256=9q0S8kZFtq0zwImksBrB_np8auy90TbFXxGyFjJE-pI,2562
|
|
4
|
+
iack/metrics/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
iack/metrics/model.py,sha256=F5lCaUoQEoCP8jW1JjDXnVASA9UOk9KFutiqCL5ohsc,2179
|
|
6
|
+
iack/outputs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
|
+
iack/outputs/report_writer.py,sha256=XrS6uB5SQ1EQk1wloCuIP494AzT7JVdxIu0wE7tq2yc,2783
|
|
8
|
+
iack/validators/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
|
+
iack/validators/assessment_validator.py,sha256=lVI1xe6FGjpo86HsUymfglAnhuw8qpZnEIP3xyRHp1o,2717
|
|
10
|
+
iack_framework-0.2.0.dist-info/licenses/LICENSE,sha256=DkqViPwgfB3LeoCU3Jny3D7k4_ES2-9Qhc842xZUjLo,9159
|
|
11
|
+
iack_framework-0.2.0.dist-info/METADATA,sha256=56RVLfjKaK7XQ59ULEI4zy8qVoaAPpmnLUBjJHQpILA,2406
|
|
12
|
+
iack_framework-0.2.0.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
|
|
13
|
+
iack_framework-0.2.0.dist-info/entry_points.txt,sha256=BKWV7U6AAN7zKlvxcv4wcSI9jXbBN1U0qFkKEHK0UpY,205
|
|
14
|
+
iack_framework-0.2.0.dist-info/top_level.txt,sha256=bLp_pTU_CbrIWOIhrmh3mr-URd2ttR3FoMwQiCL9uxo,5
|
|
15
|
+
iack_framework-0.2.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,176 @@
|
|
|
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 not
|
|
32
|
+
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 of
|
|
171
|
+
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
iack
|