graincheck 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 (37) hide show
  1. graincheck-0.1.0/LICENSE +97 -0
  2. graincheck-0.1.0/PKG-INFO +838 -0
  3. graincheck-0.1.0/README.md +718 -0
  4. graincheck-0.1.0/graincheck/__init__.py +5 -0
  5. graincheck-0.1.0/graincheck/__main__.py +299 -0
  6. graincheck-0.1.0/graincheck/_deps.py +45 -0
  7. graincheck-0.1.0/graincheck/coverage.py +438 -0
  8. graincheck-0.1.0/graincheck/emit.py +83 -0
  9. graincheck-0.1.0/graincheck/exceptions.py +167 -0
  10. graincheck-0.1.0/graincheck/explain.py +403 -0
  11. graincheck-0.1.0/graincheck/history.py +118 -0
  12. graincheck-0.1.0/graincheck/incumbent.py +151 -0
  13. graincheck-0.1.0/graincheck/limits.py +156 -0
  14. graincheck-0.1.0/graincheck/project.py +1217 -0
  15. graincheck-0.1.0/graincheck/remediation.py +255 -0
  16. graincheck-0.1.0/graincheck/render.py +579 -0
  17. graincheck-0.1.0/graincheck/report.py +433 -0
  18. graincheck-0.1.0/graincheck/rules.py +2620 -0
  19. graincheck-0.1.0/graincheck/scanner.py +1035 -0
  20. graincheck-0.1.0/graincheck/surrogate.py +308 -0
  21. graincheck-0.1.0/graincheck.egg-info/PKG-INFO +838 -0
  22. graincheck-0.1.0/graincheck.egg-info/SOURCES.txt +35 -0
  23. graincheck-0.1.0/graincheck.egg-info/dependency_links.txt +1 -0
  24. graincheck-0.1.0/graincheck.egg-info/entry_points.txt +2 -0
  25. graincheck-0.1.0/graincheck.egg-info/requires.txt +3 -0
  26. graincheck-0.1.0/graincheck.egg-info/top_level.txt +1 -0
  27. graincheck-0.1.0/pyproject.toml +58 -0
  28. graincheck-0.1.0/setup.cfg +4 -0
  29. graincheck-0.1.0/tests/test_cli_and_io.py +724 -0
  30. graincheck-0.1.0/tests/test_explain_and_report.py +324 -0
  31. graincheck-0.1.0/tests/test_join_key_coverage.py +492 -0
  32. graincheck-0.1.0/tests/test_project_lineage.py +981 -0
  33. graincheck-0.1.0/tests/test_render.py +339 -0
  34. graincheck-0.1.0/tests/test_resolver_unit.py +658 -0
  35. graincheck-0.1.0/tests/test_rules.py +1329 -0
  36. graincheck-0.1.0/tests/test_surrogate_adversarial.py +238 -0
  37. graincheck-0.1.0/tests/test_tier1.py +246 -0
@@ -0,0 +1,97 @@
1
+ Business Source License 1.1
2
+
3
+ License text copyright (c) 2017 MariaDB Corporation Ab, All Rights Reserved.
4
+ "Business Source License" is a trademark of MariaDB Corporation Ab.
5
+
6
+ -----------------------------------------------------------------------------
7
+
8
+ Parameters
9
+
10
+ Licensor: Prem Burugupally
11
+
12
+ Licensed Work: graincheck
13
+ The Licensed Work is (c) 2026 Prem Burugupally
14
+
15
+ Additional Use Grant: You may use the Licensed Work to analyse SQL and to
16
+ produce, publish and act on its output for any purpose,
17
+ including commercially. You may run it in development,
18
+ in continuous integration and in production pipelines
19
+ inside your own organisation.
20
+
21
+ You may not provide the Licensed Work to third parties
22
+ as a hosted or managed service, embed it in a product
23
+ or service you offer to third parties, or offer a
24
+ commercial SQL-review service whose delivery depends on
25
+ the Licensed Work, without a separate commercial licence
26
+ from the Licensor.
27
+
28
+ Change Date: 2030-09-28
29
+
30
+ Change License: Apache License, Version 2.0
31
+
32
+ -----------------------------------------------------------------------------
33
+
34
+ Terms
35
+
36
+ The Licensor hereby grants you the right to copy, modify, create derivative
37
+ works, redistribute, and make non-production use of the Licensed Work. The
38
+ Licensor may make an Additional Use Grant, above, permitting limited
39
+ production use.
40
+
41
+ Effective on the Change Date, or the fourth anniversary of the first publicly
42
+ available distribution of a specific version of the Licensed Work under this
43
+ License, whichever comes first, the Licensor hereby grants you rights under
44
+ the terms of the Change License, and the rights granted in the paragraph
45
+ above terminate.
46
+
47
+ If your use of the Licensed Work does not comply with the requirements
48
+ currently in effect as described in this License, you must purchase a
49
+ commercial license from the Licensor, its affiliated entities, or authorized
50
+ resellers, or you must refrain from using the Licensed Work.
51
+
52
+ All copies of the original and modified Licensed Work, and derivative works
53
+ of the Licensed Work, are subject to this License. This License applies
54
+ separately for each version of the Licensed Work and the Change Date may vary
55
+ for each version of the Licensed Work released by Licensor.
56
+
57
+ You must conspicuously display this License on each original or modified copy
58
+ of the Licensed Work. If you receive the Licensed Work in original or
59
+ modified form from a third party, the terms and conditions set forth in this
60
+ License apply to your use of that work.
61
+
62
+ Any use of the Licensed Work in violation of this License will automatically
63
+ terminate your rights under this License for the current and all other
64
+ versions of the Licensed Work.
65
+
66
+ This License does not grant you any right in any trademark or logo of
67
+ Licensor or its affiliates (provided that you may use a trademark or logo of
68
+ Licensor as expressly required by this License).
69
+
70
+ TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON
71
+ AN "AS IS" BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS,
72
+ EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF
73
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND
74
+ TITLE.
75
+
76
+ -----------------------------------------------------------------------------
77
+
78
+ Covenants of Licensor
79
+
80
+ In consideration of the right to use the "Business Source License" name and
81
+ trademark, Licensor covenants to MariaDB, and to all other recipients of the
82
+ licensed work to be provided by Licensor:
83
+
84
+ 1. To specify as the Change License the GPL Version 2.0 or any later version,
85
+ or a license that is compatible with GPL Version 2.0 or a later version,
86
+ where "compatible" means that software provided under the Change License can
87
+ be included in a program with software provided under GPL Version 2.0 or a
88
+ later version. Licensor may specify additional Change Licenses without
89
+ limitation.
90
+
91
+ 2. To either: (a) specify an additional grant of rights to use that does not
92
+ impose any additional restriction on the right granted in this License, as
93
+ the Additional Use Grant; or (b) insert the text "None".
94
+
95
+ 3. To specify a Change Date.
96
+
97
+ 4. Not to modify this License in any other way.