enforce-rules 3.2.5__tar.gz → 3.2.7__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.
- {enforce_rules-3.2.5/src/enforce_rules.egg-info → enforce_rules-3.2.7}/PKG-INFO +4 -3
- {enforce_rules-3.2.5 → enforce_rules-3.2.7}/README.md +3 -2
- {enforce_rules-3.2.5 → enforce_rules-3.2.7}/pyproject.toml +1 -1
- {enforce_rules-3.2.5 → enforce_rules-3.2.7}/src/enforce_rules/enforce_rules.py +1 -1
- {enforce_rules-3.2.5 → enforce_rules-3.2.7/src/enforce_rules.egg-info}/PKG-INFO +4 -3
- {enforce_rules-3.2.5 → enforce_rules-3.2.7}/LICENSE +0 -0
- {enforce_rules-3.2.5 → enforce_rules-3.2.7}/setup.cfg +0 -0
- {enforce_rules-3.2.5 → enforce_rules-3.2.7}/src/enforce_rules/__init__.py +0 -0
- {enforce_rules-3.2.5 → enforce_rules-3.2.7}/src/enforce_rules.egg-info/SOURCES.txt +0 -0
- {enforce_rules-3.2.5 → enforce_rules-3.2.7}/src/enforce_rules.egg-info/dependency_links.txt +0 -0
- {enforce_rules-3.2.5 → enforce_rules-3.2.7}/src/enforce_rules.egg-info/top_level.txt +0 -0
- {enforce_rules-3.2.5 → enforce_rules-3.2.7}/tests/test_enforce_rules.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: enforce-rules
|
|
3
|
-
Version: 3.2.
|
|
3
|
+
Version: 3.2.7
|
|
4
4
|
Summary: Runtime rule validation for Python using dictionary-based constraints.
|
|
5
5
|
Author: Jake Loepker, Microsoft Copilot (AI Assistant)
|
|
6
6
|
License: BSD 3-Clause License
|
|
@@ -63,7 +63,7 @@ MAJOR: 3
|
|
|
63
63
|
|
|
64
64
|
MINOR: 2
|
|
65
65
|
|
|
66
|
-
PATCH:
|
|
66
|
+
PATCH: 7
|
|
67
67
|
|
|
68
68
|
If you need to catch up, you can see the full version history in the [CHANGELOG](https://github.com/Loepker-James/enforce-rules/blob/main/CHANGELOG.md).
|
|
69
69
|
|
|
@@ -117,7 +117,8 @@ If the value passes, PER returns the original value unchanged.
|
|
|
117
117
|
|
|
118
118
|
This means validated values behave exactly like normal Python values.
|
|
119
119
|
|
|
120
|
-
Keywords and Usage
|
|
120
|
+
# Keywords and Usage
|
|
121
|
+
|
|
121
122
|
Below are all supported keywords.
|
|
122
123
|
|
|
123
124
|
## length
|
|
@@ -7,7 +7,7 @@ MAJOR: 3
|
|
|
7
7
|
|
|
8
8
|
MINOR: 2
|
|
9
9
|
|
|
10
|
-
PATCH:
|
|
10
|
+
PATCH: 7
|
|
11
11
|
|
|
12
12
|
If you need to catch up, you can see the full version history in the [CHANGELOG](https://github.com/Loepker-James/enforce-rules/blob/main/CHANGELOG.md).
|
|
13
13
|
|
|
@@ -61,7 +61,8 @@ If the value passes, PER returns the original value unchanged.
|
|
|
61
61
|
|
|
62
62
|
This means validated values behave exactly like normal Python values.
|
|
63
63
|
|
|
64
|
-
Keywords and Usage
|
|
64
|
+
# Keywords and Usage
|
|
65
|
+
|
|
65
66
|
Below are all supported keywords.
|
|
66
67
|
|
|
67
68
|
## length
|
|
@@ -191,7 +191,7 @@ class ValidateDict(TypedDict, total=False):
|
|
|
191
191
|
element_max: Number
|
|
192
192
|
regex: str
|
|
193
193
|
regex_flags: object
|
|
194
|
-
must_be_true: Callable[[
|
|
194
|
+
must_be_true: Callable[[T], bool]
|
|
195
195
|
before_date: datetime
|
|
196
196
|
after_date: datetime
|
|
197
197
|
piece_color: bool
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: enforce-rules
|
|
3
|
-
Version: 3.2.
|
|
3
|
+
Version: 3.2.7
|
|
4
4
|
Summary: Runtime rule validation for Python using dictionary-based constraints.
|
|
5
5
|
Author: Jake Loepker, Microsoft Copilot (AI Assistant)
|
|
6
6
|
License: BSD 3-Clause License
|
|
@@ -63,7 +63,7 @@ MAJOR: 3
|
|
|
63
63
|
|
|
64
64
|
MINOR: 2
|
|
65
65
|
|
|
66
|
-
PATCH:
|
|
66
|
+
PATCH: 7
|
|
67
67
|
|
|
68
68
|
If you need to catch up, you can see the full version history in the [CHANGELOG](https://github.com/Loepker-James/enforce-rules/blob/main/CHANGELOG.md).
|
|
69
69
|
|
|
@@ -117,7 +117,8 @@ If the value passes, PER returns the original value unchanged.
|
|
|
117
117
|
|
|
118
118
|
This means validated values behave exactly like normal Python values.
|
|
119
119
|
|
|
120
|
-
Keywords and Usage
|
|
120
|
+
# Keywords and Usage
|
|
121
|
+
|
|
121
122
|
Below are all supported keywords.
|
|
122
123
|
|
|
123
124
|
## length
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|