enforce-rules 3.3.8__tar.gz → 3.4.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 (19) hide show
  1. {enforce_rules-3.3.8/src/enforce_rules.egg-info → enforce_rules-3.4.0}/PKG-INFO +3 -3
  2. {enforce_rules-3.3.8 → enforce_rules-3.4.0}/README.md +2 -2
  3. {enforce_rules-3.3.8 → enforce_rules-3.4.0}/pyproject.toml +1 -1
  4. {enforce_rules-3.3.8 → enforce_rules-3.4.0}/src/enforce_rules/enforce_rules.pyi +3 -3
  5. {enforce_rules-3.3.8 → enforce_rules-3.4.0/src/enforce_rules.egg-info}/PKG-INFO +3 -3
  6. {enforce_rules-3.3.8 → enforce_rules-3.4.0}/.gitignore +0 -0
  7. {enforce_rules-3.3.8 → enforce_rules-3.4.0}/LICENSE +0 -0
  8. {enforce_rules-3.3.8 → enforce_rules-3.4.0}/MANIFEST.in +0 -0
  9. {enforce_rules-3.3.8 → enforce_rules-3.4.0}/requirements.txt +0 -0
  10. {enforce_rules-3.3.8 → enforce_rules-3.4.0}/setup.cfg +0 -0
  11. {enforce_rules-3.3.8 → enforce_rules-3.4.0}/src/enforce_rules/__init__.py +0 -0
  12. {enforce_rules-3.3.8 → enforce_rules-3.4.0}/src/enforce_rules/__init__.pyi +0 -0
  13. {enforce_rules-3.3.8 → enforce_rules-3.4.0}/src/enforce_rules/enforce_rules.py +0 -0
  14. {enforce_rules-3.3.8 → enforce_rules-3.4.0}/src/enforce_rules/py.typed +0 -0
  15. {enforce_rules-3.3.8 → enforce_rules-3.4.0}/src/enforce_rules.egg-info/SOURCES.txt +0 -0
  16. {enforce_rules-3.3.8 → enforce_rules-3.4.0}/src/enforce_rules.egg-info/dependency_links.txt +0 -0
  17. {enforce_rules-3.3.8 → enforce_rules-3.4.0}/src/enforce_rules.egg-info/requires.txt +0 -0
  18. {enforce_rules-3.3.8 → enforce_rules-3.4.0}/src/enforce_rules.egg-info/top_level.txt +0 -0
  19. {enforce_rules-3.3.8 → enforce_rules-3.4.0}/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.3.8
3
+ Version: 3.4.0
4
4
  Summary: Runtime rule validation for Python using dictionary-based constraints.
5
5
  Author: Jake Loepker, Microsoft Copilot (AI Assistant), Claude (AI Assistant)
6
6
  License: BSD 3-Clause License
@@ -69,9 +69,9 @@ Version #
69
69
  ----------------
70
70
  MAJOR: 3
71
71
 
72
- MINOR: 3
72
+ MINOR: 4
73
73
 
74
- PATCH: 8
74
+ PATCH: 0
75
75
 
76
76
  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).
77
77
 
@@ -5,9 +5,9 @@ Version #
5
5
  ----------------
6
6
  MAJOR: 3
7
7
 
8
- MINOR: 3
8
+ MINOR: 4
9
9
 
10
- PATCH: 8
10
+ PATCH: 0
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
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "enforce-rules"
3
- version = "3.3.8"
3
+ version = "3.4.0"
4
4
  description = "Runtime rule validation for Python using dictionary-based constraints."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
@@ -4,7 +4,7 @@ from datetime import datetime
4
4
 
5
5
  _T = TypeVar("_T")
6
6
 
7
- class _ValidateDict(TypedDict, total=False):
7
+ class ValidateDict(TypedDict, total=False):
8
8
  length: int
9
9
  min_length: int
10
10
  max_length: int
@@ -33,5 +33,5 @@ class _ValidateDict(TypedDict, total=False):
33
33
  chess_symbol: Literal["p", "n", "b", "r", "q", "k", "P", "N", "B", "R", "Q", "K"]
34
34
  is_password: bool
35
35
 
36
- def validate(value: _T, rules: _ValidateDict) -> _T: ...
37
- def is_valid(value: _T, rules: _ValidateDict) -> _T: ...
36
+ def validate(value: _T, rules: ValidateDict) -> _T: ...
37
+ def is_valid(value: _T, rules: ValidateDict) -> _T: ...
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: enforce-rules
3
- Version: 3.3.8
3
+ Version: 3.4.0
4
4
  Summary: Runtime rule validation for Python using dictionary-based constraints.
5
5
  Author: Jake Loepker, Microsoft Copilot (AI Assistant), Claude (AI Assistant)
6
6
  License: BSD 3-Clause License
@@ -69,9 +69,9 @@ Version #
69
69
  ----------------
70
70
  MAJOR: 3
71
71
 
72
- MINOR: 3
72
+ MINOR: 4
73
73
 
74
- PATCH: 8
74
+ PATCH: 0
75
75
 
76
76
  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).
77
77
 
File without changes
File without changes
File without changes
File without changes