safeshield 1.0.0__tar.gz → 1.0.1__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.
Potentially problematic release.
This version of safeshield might be problematic. Click here for more details.
- {safeshield-1.0.0 → safeshield-1.0.1}/PKG-INFO +4 -1
- safeshield-1.0.1/README.md +5 -0
- {safeshield-1.0.0 → safeshield-1.0.1}/safeshield.egg-info/PKG-INFO +4 -1
- {safeshield-1.0.0 → safeshield-1.0.1}/safeshield.egg-info/requires.txt +0 -3
- {safeshield-1.0.0 → safeshield-1.0.1}/setup.py +1 -1
- safeshield-1.0.1/validator/database/__init__.py +5 -0
- {safeshield-1.0.0 → safeshield-1.0.1}/validator/factory.py +2 -2
- {safeshield-1.0.0 → safeshield-1.0.1}/validator/rules/__init__.py +1 -1
- {safeshield-1.0.0 → safeshield-1.0.1}/validator/rules/array.py +1 -1
- {safeshield-1.0.0 → safeshield-1.0.1}/validator/rules/base.py +1 -1
- {safeshield-1.0.0 → safeshield-1.0.1}/validator/rules/basic.py +1 -1
- {safeshield-1.0.0 → safeshield-1.0.1}/validator/rules/comparison.py +1 -1
- {safeshield-1.0.0 → safeshield-1.0.1}/validator/rules/conditional.py +1 -1
- {safeshield-1.0.0 → safeshield-1.0.1}/validator/rules/date.py +1 -1
- {safeshield-1.0.0 → safeshield-1.0.1}/validator/rules/files.py +1 -1
- {safeshield-1.0.0 → safeshield-1.0.1}/validator/rules/format.py +1 -1
- {safeshield-1.0.0 → safeshield-1.0.1}/validator/rules/string.py +1 -1
- {safeshield-1.0.0 → safeshield-1.0.1}/validator/rules/type.py +1 -1
- {safeshield-1.0.0 → safeshield-1.0.1}/validator/rules/utilities.py +1 -1
- safeshield-1.0.1/validator/services/__init__.py +5 -0
- safeshield-1.0.0/README.md +0 -2
- safeshield-1.0.0/validator/database/__init__.py +0 -5
- safeshield-1.0.0/validator/services/__init__.py +0 -5
- {safeshield-1.0.0 → safeshield-1.0.1}/LICENSE +0 -0
- {safeshield-1.0.0 → safeshield-1.0.1}/safeshield.egg-info/SOURCES.txt +0 -0
- {safeshield-1.0.0 → safeshield-1.0.1}/safeshield.egg-info/dependency_links.txt +0 -0
- {safeshield-1.0.0 → safeshield-1.0.1}/safeshield.egg-info/top_level.txt +0 -0
- {safeshield-1.0.0 → safeshield-1.0.1}/setup.cfg +0 -0
- {safeshield-1.0.0 → safeshield-1.0.1}/validator/__init__.py +0 -0
- {safeshield-1.0.0 → safeshield-1.0.1}/validator/core/__init__.py +0 -0
- {safeshield-1.0.0 → safeshield-1.0.1}/validator/core/validator.py +0 -0
- {safeshield-1.0.0 → safeshield-1.0.1}/validator/database/detector.py +0 -0
- {safeshield-1.0.0 → safeshield-1.0.1}/validator/database/manager.py +0 -0
- {safeshield-1.0.0 → safeshield-1.0.1}/validator/exceptions.py +0 -0
- {safeshield-1.0.0 → safeshield-1.0.1}/validator/services/rule_conflict.py +0 -0
- {safeshield-1.0.0 → safeshield-1.0.1}/validator/services/rule_error_handler.py +0 -0
- {safeshield-1.0.0 → safeshield-1.0.1}/validator/services/rule_preparer.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: safeshield
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.1
|
|
4
4
|
Summary: Library for Help Validation Control
|
|
5
5
|
Home-page: https://github.com/WunsunTarniho/py-guard
|
|
6
6
|
Author: Wunsun Tarniho
|
|
@@ -19,3 +19,6 @@ License-File: LICENSE
|
|
|
19
19
|
|
|
20
20
|
## License
|
|
21
21
|
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details
|
|
22
|
+
|
|
23
|
+
## v1.0.1 (2024-07-20)
|
|
24
|
+
- Fixed: Bug when import `validator`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: safeshield
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.1
|
|
4
4
|
Summary: Library for Help Validation Control
|
|
5
5
|
Home-page: https://github.com/WunsunTarniho/py-guard
|
|
6
6
|
Author: Wunsun Tarniho
|
|
@@ -19,3 +19,6 @@ License-File: LICENSE
|
|
|
19
19
|
|
|
20
20
|
## License
|
|
21
21
|
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details
|
|
22
|
+
|
|
23
|
+
## v1.0.1 (2024-07-20)
|
|
24
|
+
- Fixed: Bug when import `validator`.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# factory.py
|
|
2
2
|
from typing import Type, Dict, List
|
|
3
|
-
from .rules import all_rules
|
|
4
|
-
from .rules.base import ValidationRule
|
|
3
|
+
from validator.rules import all_rules
|
|
4
|
+
from validator.rules.base import ValidationRule
|
|
5
5
|
|
|
6
6
|
class RuleFactory:
|
|
7
7
|
_rules: Dict[str, Type[ValidationRule]] = all_rules
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import inspect
|
|
2
2
|
from .base import ValidationRule
|
|
3
|
-
from
|
|
3
|
+
from validator.utils.string import pascal_to_snake
|
|
4
4
|
from . import array, basic, comparison, date, type, files, format, conditional, string, utilities
|
|
5
5
|
|
|
6
6
|
def _collect_rules():
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
from abc import ABC, abstractmethod
|
|
2
2
|
from typing import Any, Dict, List, Optional, Set, Union, Tuple, Type
|
|
3
3
|
from enum import Enum
|
|
4
|
-
from
|
|
4
|
+
from validator.utils.string import pascal_to_snake
|
|
5
5
|
import inspect
|
|
6
6
|
|
|
7
7
|
class ValidationRule(ABC):
|
safeshield-1.0.0/README.md
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|