spArgValidatorPy 1.0.1__py3-none-any.whl → 1.0.4__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.
- {spargvalidatorpy-1.0.1.dist-info → spargvalidatorpy-1.0.4.dist-info}/METADATA +6 -6
- spargvalidatorpy-1.0.4.dist-info/RECORD +6 -0
- spargvalidatorpy-1.0.1.dist-info/RECORD +0 -6
- {spargvalidatorpy-1.0.1.dist-info → spargvalidatorpy-1.0.4.dist-info}/WHEEL +0 -0
- {spargvalidatorpy-1.0.1.dist-info → spargvalidatorpy-1.0.4.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: spArgValidatorPy
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.4
|
|
4
4
|
Summary: A Python package for validating function arguments and either raising an exception or returning the validated value.
|
|
5
5
|
Project-URL: Homepage, https://github.com/krokoreit/spArgValidatorPy
|
|
6
6
|
Project-URL: Source Code, https://github.com/krokoreit/spArgValidatorPy
|
|
@@ -36,7 +36,7 @@ For more details, see the API reference below and the examples in examples/examp
|
|
|
36
36
|
Enjoy
|
|
37
37
|
|
|
38
38
|
 krokoreit
|
|
39
|
-
   <img src="
|
|
39
|
+
   <img src="https://github.com/krokoreit/spArgValidatorPy/blob/main/assets/krokoreit-01.svg?raw=true" width="140"/>
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
## Installation
|
|
@@ -72,7 +72,7 @@ After successful validation (no exception raised), these variables can be safely
|
|
|
72
72
|
|
|
73
73
|
### API
|
|
74
74
|
|
|
75
|
-
#### Methods
|
|
75
|
+
#### <a name="methods"></a>Methods
|
|
76
76
|
* [get_validated_int()](#get_validated_int-method)
|
|
77
77
|
* [get_validated_float()](#get_validated_float-method)
|
|
78
78
|
* [get_validated_str()](#get_validated_str-method)
|
|
@@ -80,7 +80,7 @@ After successful validation (no exception raised), these variables can be safely
|
|
|
80
80
|
</br>
|
|
81
81
|
|
|
82
82
|
|
|
83
|
-
#### get_validated_int() Method
|
|
83
|
+
#### <a name="get_validated_int-method"></a>get_validated_int() Method
|
|
84
84
|
```py
|
|
85
85
|
get_validated_int(var_name, min_value, max_value, strict, default=int_value, return_limits=boolean_value)
|
|
86
86
|
```
|
|
@@ -105,7 +105,7 @@ Returns the validated integer value or with the default or return_limits option
|
|
|
105
105
|
|
|
106
106
|
</br>
|
|
107
107
|
|
|
108
|
-
#### get_validated_float() Method
|
|
108
|
+
#### <a name="get_validated_float-method"></a>get_validated_float() Method
|
|
109
109
|
```py
|
|
110
110
|
get_validated_float(var_name, min_value, max_value, strict, default=float_value, return_limits=boolean_value)
|
|
111
111
|
```
|
|
@@ -131,7 +131,7 @@ Returns the validated float value or with the default or return_limits option us
|
|
|
131
131
|
|
|
132
132
|
</br>
|
|
133
133
|
|
|
134
|
-
#### get_validated_str() Method
|
|
134
|
+
#### <a name="get_validated_str-method"></a>get_validated_str() Method
|
|
135
135
|
```py
|
|
136
136
|
get_validated_str(var_name, min_length, strict, default=str_value)
|
|
137
137
|
```
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
spArgValidatorPy/ArgValidator.py,sha256=JCecoyrZp9Krnme3UaVIrQGbIl94PMT5bWZ7xy-AedY,10662
|
|
2
|
+
spArgValidatorPy/__init__.py,sha256=MsbSdo-oz6o-PhLXcomI11bBZkU5bDNiB-9hmreuhl8,129
|
|
3
|
+
spargvalidatorpy-1.0.4.dist-info/METADATA,sha256=1BmjXGC2HzGAcH-dgI_WfkaavtyRaGxPpLZpawebDoQ,7469
|
|
4
|
+
spargvalidatorpy-1.0.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
5
|
+
spargvalidatorpy-1.0.4.dist-info/licenses/LICENSE,sha256=OGLCoSaPB4W5LyOH3IQDWolNTYJCyW2UgpllcHnEm3c,1109
|
|
6
|
+
spargvalidatorpy-1.0.4.dist-info/RECORD,,
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
spArgValidatorPy/ArgValidator.py,sha256=JCecoyrZp9Krnme3UaVIrQGbIl94PMT5bWZ7xy-AedY,10662
|
|
2
|
-
spArgValidatorPy/__init__.py,sha256=MsbSdo-oz6o-PhLXcomI11bBZkU5bDNiB-9hmreuhl8,129
|
|
3
|
-
spargvalidatorpy-1.0.1.dist-info/METADATA,sha256=4dw1Mf_XxaIYlyVH-3Rib0H0rxa8kkPQ6tb-t4qWdgA,7347
|
|
4
|
-
spargvalidatorpy-1.0.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
5
|
-
spargvalidatorpy-1.0.1.dist-info/licenses/LICENSE,sha256=OGLCoSaPB4W5LyOH3IQDWolNTYJCyW2UgpllcHnEm3c,1109
|
|
6
|
-
spargvalidatorpy-1.0.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|