featuresmith-core 0.1.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.
Files changed (45) hide show
  1. featuresmith/__init__.py +7 -0
  2. featuresmith/api.py +180 -0
  3. featuresmith/connectors/__init__.py +18 -0
  4. featuresmith/connectors/_paths.py +25 -0
  5. featuresmith/connectors/base.py +54 -0
  6. featuresmith/connectors/csv_connector.py +44 -0
  7. featuresmith/connectors/dataframe_connector.py +40 -0
  8. featuresmith/connectors/excel_connector.py +45 -0
  9. featuresmith/connectors/parquet_connector.py +44 -0
  10. featuresmith/connectors/registry.py +55 -0
  11. featuresmith/core/__init__.py +50 -0
  12. featuresmith/core/dataset.py +107 -0
  13. featuresmith/core/exceptions.py +17 -0
  14. featuresmith/core/profile_result.py +412 -0
  15. featuresmith/core/rule_finding.py +44 -0
  16. featuresmith/core/rule_result.py +49 -0
  17. featuresmith/core/schema.py +34 -0
  18. featuresmith/profiling/__init__.py +5 -0
  19. featuresmith/profiling/categorical.py +108 -0
  20. featuresmith/profiling/correlation.py +67 -0
  21. featuresmith/profiling/datetime.py +105 -0
  22. featuresmith/profiling/duplicates.py +48 -0
  23. featuresmith/profiling/missing.py +70 -0
  24. featuresmith/profiling/numeric.py +248 -0
  25. featuresmith/profiling/profiler.py +209 -0
  26. featuresmith/profiling/quality.py +29 -0
  27. featuresmith/profiling/summary.py +117 -0
  28. featuresmith/profiling/text.py +109 -0
  29. featuresmith/py.typed +1 -0
  30. featuresmith/rules/__init__.py +27 -0
  31. featuresmith/rules/base.py +69 -0
  32. featuresmith/rules/cardinality.py +95 -0
  33. featuresmith/rules/constants.py +115 -0
  34. featuresmith/rules/correlation.py +77 -0
  35. featuresmith/rules/duplicates.py +76 -0
  36. featuresmith/rules/engine.py +156 -0
  37. featuresmith/rules/leakage.py +93 -0
  38. featuresmith/rules/missing.py +83 -0
  39. featuresmith/rules/outliers.py +113 -0
  40. featuresmith/rules/registry.py +81 -0
  41. featuresmith_core-0.1.0.dist-info/METADATA +50 -0
  42. featuresmith_core-0.1.0.dist-info/RECORD +45 -0
  43. featuresmith_core-0.1.0.dist-info/WHEEL +5 -0
  44. featuresmith_core-0.1.0.dist-info/licenses/LICENSE +187 -0
  45. featuresmith_core-0.1.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,113 @@
1
+ """Rule for detecting numeric outliers using the Interquartile Range (IQR) method."""
2
+
3
+ from __future__ import annotations
4
+
5
+ from featuresmith.core.profile_result import ProfileResult
6
+ from featuresmith.core.rule_finding import RuleFinding
7
+ from featuresmith.rules.base import BaseRule
8
+
9
+
10
+ class OutlierDetectionRule(BaseRule):
11
+ """Flags numeric columns that contain values outside the IQR bounds [Q1 - 1.5*IQR, Q3 + 1.5*IQR]."""
12
+
13
+ def __init__(self, factor: float = 1.5) -> None:
14
+ """Initialize the outlier detection rule.
15
+
16
+ Args:
17
+ factor: The IQR multiplier (default 1.5).
18
+ """
19
+ self.factor = factor
20
+
21
+ @property
22
+ def id(self) -> str:
23
+ return "statistical.outliers"
24
+
25
+ @property
26
+ def name(self) -> str:
27
+ return "Outlier Detection"
28
+
29
+ @property
30
+ def description(self) -> str:
31
+ return (
32
+ "Detects columns containing numeric outliers outside "
33
+ "the standard IQR boundaries."
34
+ )
35
+
36
+ @property
37
+ def category(self) -> str:
38
+ return "statistical"
39
+
40
+ @property
41
+ def severity(self) -> str:
42
+ return "warning"
43
+
44
+ @property
45
+ def enabled_by_default(self) -> bool:
46
+ return True
47
+
48
+ def evaluate(self, profile: ProfileResult) -> list[RuleFinding]:
49
+ findings: list[RuleFinding] = []
50
+
51
+ for col_name, num_prof in profile.numeric_profiles.items():
52
+ q1 = num_prof.q1
53
+ q3 = num_prof.q3
54
+ iqr = num_prof.iqr
55
+ minimum = num_prof.minimum
56
+ maximum = num_prof.maximum
57
+
58
+ if (
59
+ q1 is not None
60
+ and q3 is not None
61
+ and iqr is not None
62
+ and minimum is not None
63
+ and maximum is not None
64
+ ):
65
+ lower_bound = q1 - self.factor * iqr
66
+ upper_bound = q3 + self.factor * iqr
67
+
68
+ has_lower_outliers = minimum < lower_bound
69
+ has_upper_outliers = maximum > upper_bound
70
+
71
+ if has_lower_outliers or has_upper_outliers:
72
+ # Collect evidence
73
+ exceeded_bounds = []
74
+ if has_lower_outliers:
75
+ exceeded_bounds.append(
76
+ f"minimum ({minimum}) < lower bound ({lower_bound:.2f})"
77
+ )
78
+ if has_upper_outliers:
79
+ exceeded_bounds.append(
80
+ f"maximum ({maximum}) > upper bound ({upper_bound:.2f})"
81
+ )
82
+
83
+ exceeded_str = " and ".join(exceeded_bounds)
84
+
85
+ findings.append(
86
+ RuleFinding(
87
+ rule_id=self.id,
88
+ rule_name=self.name,
89
+ category=self.category,
90
+ severity=self.severity,
91
+ column_name=col_name,
92
+ title=f"Outliers detected in column '{col_name}'",
93
+ description=(
94
+ f"Column '{col_name}' contains values exceeding IQR bounds. "
95
+ f"Triggered by: {exceeded_str}."
96
+ ),
97
+ evidence={
98
+ "minimum": minimum,
99
+ "maximum": maximum,
100
+ "q1": q1,
101
+ "q3": q3,
102
+ "iqr": iqr,
103
+ "lower_bound": lower_bound,
104
+ "upper_bound": upper_bound,
105
+ "factor": self.factor,
106
+ "has_lower_outliers": has_lower_outliers,
107
+ "has_upper_outliers": has_upper_outliers,
108
+ },
109
+ confidence=1.0,
110
+ )
111
+ )
112
+
113
+ return findings
@@ -0,0 +1,81 @@
1
+ """Explicit rule registry for Featuresmith rules."""
2
+
3
+ from __future__ import annotations
4
+
5
+ from collections.abc import Iterable
6
+
7
+ from featuresmith.rules.base import BaseRule
8
+
9
+
10
+ class RuleRegistry:
11
+ """Registry that holds all available rules for analysis execution.
12
+
13
+ Registration is kept explicit and static in this phase.
14
+ """
15
+
16
+ def __init__(self, rules: Iterable[BaseRule] = ()) -> None:
17
+ """Initialize registry with a set of initial rules."""
18
+ self._rules: dict[str, BaseRule] = {}
19
+ for rule in rules:
20
+ self.register(rule)
21
+
22
+ def register(self, rule: BaseRule) -> None:
23
+ """Register a new rule instance.
24
+
25
+ Args:
26
+ rule: An instance of a rule subclassing BaseRule.
27
+ """
28
+ self._rules[rule.id] = rule
29
+
30
+ def unregister(self, rule: BaseRule | str) -> None:
31
+ """Unregister a rule by instance or ID.
32
+
33
+ Args:
34
+ rule: The rule instance or rule ID to unregister.
35
+ """
36
+ rule_id = rule if isinstance(rule, str) else rule.id
37
+ if rule_id in self._rules:
38
+ del self._rules[rule_id]
39
+
40
+ def list_rules(self) -> list[BaseRule]:
41
+ """List all currently registered rules.
42
+
43
+ Returns:
44
+ A list of registered rule instances.
45
+ """
46
+ return list(self._rules.values())
47
+
48
+ def get(self, rule_id: str) -> BaseRule | None:
49
+ """Retrieve a registered rule by its ID.
50
+
51
+ Args:
52
+ rule_id: The ID of the rule.
53
+
54
+ Returns:
55
+ The registered BaseRule instance, or None if not found.
56
+ """
57
+ return self._rules.get(rule_id)
58
+
59
+
60
+ def default_registry() -> RuleRegistry:
61
+ """Return the default RuleRegistry loaded with the 8 seed rules."""
62
+ from featuresmith.rules.cardinality import HighCardinalityRule
63
+ from featuresmith.rules.constants import ConstantColumnsRule, FullyEmptyColumnsRule
64
+ from featuresmith.rules.correlation import HighCorrelationRule
65
+ from featuresmith.rules.duplicates import DuplicateRowsRule
66
+ from featuresmith.rules.leakage import LeakageRuleTargetCorrelation
67
+ from featuresmith.rules.missing import MissingValueThresholdRule
68
+ from featuresmith.rules.outliers import OutlierDetectionRule
69
+
70
+ return RuleRegistry(
71
+ (
72
+ MissingValueThresholdRule(),
73
+ DuplicateRowsRule(),
74
+ ConstantColumnsRule(),
75
+ FullyEmptyColumnsRule(),
76
+ HighCardinalityRule(),
77
+ OutlierDetectionRule(),
78
+ HighCorrelationRule(),
79
+ LeakageRuleTargetCorrelation(),
80
+ )
81
+ )
@@ -0,0 +1,50 @@
1
+ Metadata-Version: 2.4
2
+ Name: featuresmith-core
3
+ Version: 0.1.0
4
+ Summary: Deterministic tabular data profiling and quality-rule engine.
5
+ Author: Featuresmith contributors
6
+ Maintainer: Featuresmith contributors
7
+ License-Expression: Apache-2.0
8
+ Project-URL: Homepage, https://github.com/adityagangwani30/FeatureSmith
9
+ Project-URL: Documentation, https://featuresmith.adityagangwani.me
10
+ Project-URL: Repository, https://github.com/adityagangwani30/FeatureSmith
11
+ Project-URL: Issues, https://github.com/adityagangwani30/FeatureSmith/issues
12
+ Project-URL: Changelog, https://github.com/adityagangwani30/FeatureSmith/blob/main/CHANGELOG.md
13
+ Keywords: data-quality,feature-engineering,profiling,tabular-data
14
+ Classifier: Development Status :: 3 - Alpha
15
+ Classifier: Intended Audience :: Developers
16
+ Classifier: Intended Audience :: Science/Research
17
+ Classifier: Programming Language :: Python :: 3
18
+ Classifier: Programming Language :: Python :: 3.11
19
+ Classifier: Programming Language :: Python :: 3.12
20
+ Classifier: Programming Language :: Python :: 3.13
21
+ Classifier: Programming Language :: Python :: 3 :: Only
22
+ Classifier: Topic :: Scientific/Engineering :: Information Analysis
23
+ Classifier: Typing :: Typed
24
+ Requires-Python: >=3.11
25
+ Description-Content-Type: text/markdown
26
+ License-File: LICENSE
27
+ Requires-Dist: openpyxl~=3.1
28
+ Requires-Dist: pandas~=2.2
29
+ Requires-Dist: polars~=1.30
30
+ Dynamic: license-file
31
+
32
+ # featuresmith-core
33
+
34
+ `featuresmith-core` is the public Python SDK and deterministic analysis engine for Featuresmith.
35
+
36
+ It provides:
37
+
38
+ - `featuresmith.load()` for local CSV, Excel, Parquet, pandas, and Polars sources.
39
+ - `featuresmith.profile()` for reproducible tabular profiling.
40
+ - `featuresmith.analyze()` for data quality and leakage rule findings.
41
+ - Typed, serializable result dataclasses and a PEP 561 `py.typed` marker.
42
+
43
+ Install featuresmith-core directly from PyPI:
44
+
45
+ ```bash
46
+ pip install featuresmith-core
47
+ ```
48
+
49
+ For comprehensive guides and API reference, visit the official website:
50
+ <https://featuresmith.adityagangwani.me>
@@ -0,0 +1,45 @@
1
+ featuresmith/__init__.py,sha256=eOCArpNZ7uQFGWAa6KE30aKdc-2DZ6LiWz8bZbzwBiw,151
2
+ featuresmith/api.py,sha256=T3lqCbYJXlqLOft4nb8ORAGd0LeelohOaFkHuS7bwKE,6518
3
+ featuresmith/py.typed,sha256=bWew9mHgMy8LqMu7RuqQXFXLBxh2CRx0dUbSx-3wE48,27
4
+ featuresmith/connectors/__init__.py,sha256=63nFvTrEbZ-a3PoM6GVCLJFJQq6HHwVnsgDPe_nCvaw,632
5
+ featuresmith/connectors/_paths.py,sha256=sOyPn4TcK3PDqWc1wkRxVPjDMxdIxyqHFIj_M4mX41Q,912
6
+ featuresmith/connectors/base.py,sha256=dFgOxCCfC7uiIzFHTA9AMliMg6NQBi1CcxlLF1-yeXE,1588
7
+ featuresmith/connectors/csv_connector.py,sha256=U6aX5PRci-mxI-RYip66a3r61BSoO4zMqPUaSPAtmoY,1467
8
+ featuresmith/connectors/dataframe_connector.py,sha256=D54Zdq1r1HDYZ6MtMiYlgn8A9qwWBifHCpjFxai-SL8,1501
9
+ featuresmith/connectors/excel_connector.py,sha256=xf9xC6Aqxa1eJU2oDVYKkK2D5kkf4mCpMBASGzeOgP4,1566
10
+ featuresmith/connectors/parquet_connector.py,sha256=4uyLQN9c6GFDzJsG8eSFwhBBtL4IGr4_EZR0vWkJSTk,1513
11
+ featuresmith/connectors/registry.py,sha256=vSecsJHje1XUTHy8kbiGm4urZIOMRugDVYDyFNL3paY,2026
12
+ featuresmith/core/__init__.py,sha256=UL0LowJc_BRf_7ftyex5DEELLJGptwVuOt3hgrAlknk,1194
13
+ featuresmith/core/dataset.py,sha256=3sub2VjDGuP_JubP9SmYKMnDQ31-Rm76HYAUI1N0ETY,3891
14
+ featuresmith/core/exceptions.py,sha256=r6a_B5cLxouS3cdEn5uCqT96Oy7jGuBn4qNyXhpKbjg,514
15
+ featuresmith/core/profile_result.py,sha256=GnsKbM2-FlPzB-iZwdyWkp8Siquznexs2ymV7FGffGc,13857
16
+ featuresmith/core/rule_finding.py,sha256=dUSJg2-gLHdb_KBm9pj2xc9rUMt4Eq2JYURmX51DAos,1763
17
+ featuresmith/core/rule_result.py,sha256=nCKA7hw-8lb6pKBe6sCxDLu1hW-uaz7HvZ7Re-z6H3E,1798
18
+ featuresmith/core/schema.py,sha256=I2UYqx2ltzbjpQRpnDPiXe79uygmWbGeHKByeF1PPO4,854
19
+ featuresmith/profiling/__init__.py,sha256=O0doEusKFtiEWO--tQvMWRX2hHrwNcDTACzWeloTfC0,134
20
+ featuresmith/profiling/categorical.py,sha256=EWgmxO4vqREbNfoZCNOekATWjjZjBeVXCRpu9s01y20,3614
21
+ featuresmith/profiling/correlation.py,sha256=7JMZP7C67NgVvJHPnrdDXHLsNJt4Svb5TOpxHgbeBUw,2120
22
+ featuresmith/profiling/datetime.py,sha256=mXFLU4y7j_TFB2KJuJi5_BYpfSYpE3TXYdDha7vijMY,3420
23
+ featuresmith/profiling/duplicates.py,sha256=EV9Az50A60JzYgYrkaccdndsnUawNia9lwHE8JrArxA,1552
24
+ featuresmith/profiling/missing.py,sha256=GRNhfFUtWhProWJH_rh2WU4qqHM9FOspFayazSLWL_c,2541
25
+ featuresmith/profiling/numeric.py,sha256=BOYJbsiJWV7wDACYc3UPEGMlAXJqTKT9iTzmrrcUYi4,7940
26
+ featuresmith/profiling/profiler.py,sha256=C6CyQF1X_rS-r5CMP9Z3MLHu_S8LIKH86CuHmWc9QWI,7970
27
+ featuresmith/profiling/quality.py,sha256=7hwgssRQNXg1oljVpDiOFCjqSYzO70lE7OU5v3TjUpU,876
28
+ featuresmith/profiling/summary.py,sha256=4yUBhYu0dposoN2n6ssp5a5U3kULTqcVTLIt78IHwQU,3516
29
+ featuresmith/profiling/text.py,sha256=exrZQ3GIgffMjBkYk9Ilr59nnoozggz_6bb24PaKcUY,3689
30
+ featuresmith/rules/__init__.py,sha256=SgcdBUilfoR7sKf-duxUuiUjBVSBhJWf5bxrv9pIlmg,1026
31
+ featuresmith/rules/base.py,sha256=Oz14G9tYXUeHbyM57fyh75e9wXsUgulX2vU9kIUjM9c,1969
32
+ featuresmith/rules/cardinality.py,sha256=EGiMLCLb2fvn_kvqz9EFbeZWs26OMCzUCxlPcga_NY4,3828
33
+ featuresmith/rules/constants.py,sha256=rL46jr7edthhMRvwDRhShUg23LspnYexhvJK07epTn0,3628
34
+ featuresmith/rules/correlation.py,sha256=j6mQSHpNKhb6CS2GTJHU1xBggtohrRktOCji8Q68I3s,2725
35
+ featuresmith/rules/duplicates.py,sha256=EJwrjAlxOeeY2qzpBOFLop0mh8eURUYp4Xm-yKZ2auw,2493
36
+ featuresmith/rules/engine.py,sha256=q7FatVTzSUHUDiQwb4dO53EbrYkTW2dVcbhTwMbbww4,6427
37
+ featuresmith/rules/leakage.py,sha256=hoHyDP1wTfqu2-ZmVadlkQE_71_hivP1dkZm6SSI_Wo,3268
38
+ featuresmith/rules/missing.py,sha256=ECyxJRPM1UNhqlsavwrVBjYhdT1cSRU1RmqONZuhfqU,2896
39
+ featuresmith/rules/outliers.py,sha256=k96jxQx6cztz6S9WE1DgLOryCUo0jf-_QPS7-orw_8o,3980
40
+ featuresmith/rules/registry.py,sha256=Z4Jw2ZDImx2GB3kumfWKNV2tGk-0BmyGHkfpEhRJI9w,2574
41
+ featuresmith_core-0.1.0.dist-info/licenses/LICENSE,sha256=2V-SV_he4Wbt1eOFT_xNw6GpJOToqbH9L_8OJSSHUO0,10491
42
+ featuresmith_core-0.1.0.dist-info/METADATA,sha256=lVxBswvWg6fHrhXt8zxZsiTklBOk7uYRvc2n-5pKORQ,1999
43
+ featuresmith_core-0.1.0.dist-info/WHEEL,sha256=K260EYznzXsJYBQGqmI8VTxEdiZYNvDZwW9cBh9-_MA,91
44
+ featuresmith_core-0.1.0.dist-info/top_level.txt,sha256=hE4zEJ2obKUuFLmvREby9NRxw06tcrnz03UQlV1SATs,13
45
+ featuresmith_core-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (83.0.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,187 @@
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 defined by Sections 2(b), any work of
48
+ authorship, including the original version of the Work and any
49
+ modifications or additions to that Work or Derivative Works of the Work,
50
+ that is intentionally submitted to the Licensor for inclusion in the Work
51
+ by the copyright owner or by an individual or Legal Entity authorized to
52
+ submit on behalf of the copyright owner. For the purposes of this
53
+ definition, "submitted" means any form of electronic, verbal, or written
54
+ communication sent to the Licensor or its representatives, including but
55
+ not limited to communication on electronic mailing lists, source code
56
+ control systems, and issue tracking systems that are managed by, or on
57
+ behalf of, the Licensor for the purpose of discussing and improving the
58
+ Work, but excluding communication that is conspicuously marked or
59
+ otherwise designated in writing by the copyright owner as "Not a
60
+ Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any Legal Entity on behalf of
63
+ whom a Contribution has been received by the Licensor and subsequently
64
+ 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 Derivative
95
+ 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, You must include a readable copy of the
108
+ attribution notices contained within such NOTICE file, in
109
+ at least one of the following places: within a NOTICE text
110
+ file distributed as part of the Derivative Works; within
111
+ the Source form or documentation, if provided along with the
112
+ Derivative Works; or, within a display generated by the
113
+ Derivative Works, if and wherever such third-party notices
114
+ normally appear. The contents of the NOTICE file are for
115
+ informational purposes only and do not modify the License.
116
+ You may add Your own attribution notices within Derivative
117
+ Works that You distribute, alongside or as an addendum to
118
+ the NOTICE text from the Work, provided that such additional
119
+ attribution notices cannot be construed as modifying the
120
+ License.
121
+
122
+ You may add Your own license statement for Your modifications and
123
+ may provide additional grant of rights to use, copy, modify, merge,
124
+ publish, distribute, sublicense, and/or sell copies of the
125
+ Contribution, either on its own or as part of the Work.
126
+
127
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
128
+ any Contribution intentionally submitted for inclusion in the Work
129
+ by You to the Licensor shall be under the terms and conditions of
130
+ this License, without any additional terms or conditions.
131
+ Notwithstanding the above, nothing herein shall supersede or modify
132
+ the terms of any separate license agreement you may have executed
133
+ with Licensor regarding such Contributions.
134
+
135
+ 6. Trademarks. This License does not grant permission to use the trade
136
+ names, trademarks, service marks, or product names of the Licensor,
137
+ except as required for reasonable and customary use in describing the
138
+ origin of the Work and reproducing the content of the NOTICE file.
139
+
140
+ 7. Disclaimer of Warranty. Unless required by applicable law or
141
+ agreed to in writing, Licensor provides the Work (and each
142
+ Contributor provides its Contributions) on an "AS IS" BASIS,
143
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
144
+ implied, including, without limitation, any warranties or conditions
145
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
146
+ PARTICULAR PURPOSE. You are solely responsible for determining the
147
+ appropriateness of using or redistributing the Work and assume any
148
+ risks associated with Your exercise of permissions under this License.
149
+
150
+ 8. Limitation of Liability. In no event and under no legal theory,
151
+ whether in tort (including negligence), contract, or otherwise,
152
+ unless required by applicable law (such as deliberate and grossly
153
+ negligent acts) or agreed to in writing, shall any Contributor be
154
+ liable to You for damages, including any direct, indirect, special,
155
+ incidental, or exemplary damages of any character arising as a
156
+ result of this License or out of the use or inability to use the
157
+ Work (including but not limited to damages for loss of goodwill,
158
+ work stoppage, computer failure or malfunction, or all other
159
+ commercial damages or losses), even if such Contributor has been
160
+ advised of the possibility of such damages.
161
+
162
+ 9. Accepting Warranty or Additional Liability. While redistributing
163
+ the Work or Derivative Works thereof, You may choose to offer,
164
+ and charge a fee for, acceptance of support, warranty, indemnity,
165
+ or other liability obligations and/or rights consistent with this
166
+ License. However, in accepting such obligations, You may act only
167
+ on Your own behalf and on Your sole responsibility, not on behalf
168
+ of any other Contributor, and only if You agree to indemnify,
169
+ defend, and hold each Contributor harmless for any liability
170
+ incurred by, or claims asserted against, such Contributor by reason
171
+ of your accepting any such warranty or additional liability.
172
+
173
+ END OF TERMS AND CONDITIONS
174
+
175
+ Copyright 2026 Featuresmith Contributors
176
+
177
+ Licensed under the Apache License, Version 2.0 (the "License");
178
+ you may not use this file except in compliance with the License.
179
+ You may obtain a copy of the License at
180
+
181
+ http://www.apache.org/licenses/LICENSE-2.0
182
+
183
+ Unless required by applicable law or agreed to in writing, software
184
+ distributed under the License is distributed on an "AS IS" BASIS,
185
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
186
+ See the License for the specific language governing permissions and
187
+ limitations under the License.
@@ -0,0 +1 @@
1
+ featuresmith