libs5-python 1.0.12__tar.gz → 1.0.13__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.
- {libs5_python-1.0.12 → libs5_python-1.0.13}/.gitignore +15 -1
- {libs5_python-1.0.12 → libs5_python-1.0.13}/PKG-INFO +2 -2
- libs5_python-1.0.13/_KOSZdist/libs5_python-1.0.0-py3-none-any.whl +0 -0
- libs5_python-1.0.13/_KOSZdist/libs5_python-1.0.0.tar.gz +0 -0
- libs5_python-1.0.13/_KOSZdist/libs5_python-1.0.1-py3-none-any.whl +0 -0
- libs5_python-1.0.13/_KOSZdist/libs5_python-1.0.1.tar.gz +0 -0
- libs5_python-1.0.13/_KOSZdist/libs5_python-1.0.10-py3-none-any.whl +0 -0
- libs5_python-1.0.13/_KOSZdist/libs5_python-1.0.10.tar.gz +0 -0
- libs5_python-1.0.13/_KOSZdist/libs5_python-1.0.11-py3-none-any.whl +0 -0
- libs5_python-1.0.13/_KOSZdist/libs5_python-1.0.11.tar.gz +0 -0
- libs5_python-1.0.13/_KOSZdist/libs5_python-1.0.12-py3-none-any.whl +0 -0
- libs5_python-1.0.13/_KOSZdist/libs5_python-1.0.12.tar.gz +0 -0
- libs5_python-1.0.13/_KOSZdist/libs5_python-1.0.13-py3-none-any.whl +0 -0
- libs5_python-1.0.13/_KOSZdist/libs5_python-1.0.13.tar.gz +0 -0
- libs5_python-1.0.13/_KOSZdist/libs5_python-1.0.14-py3-none-any.whl +0 -0
- libs5_python-1.0.13/_KOSZdist/libs5_python-1.0.14.tar.gz +0 -0
- libs5_python-1.0.13/_KOSZdist/libs5_python-1.0.15-py3-none-any.whl +0 -0
- libs5_python-1.0.13/_KOSZdist/libs5_python-1.0.15.tar.gz +0 -0
- libs5_python-1.0.13/_KOSZdist/libs5_python-1.0.2-py3-none-any.whl +0 -0
- libs5_python-1.0.13/_KOSZdist/libs5_python-1.0.2.tar.gz +0 -0
- libs5_python-1.0.13/_KOSZdist/libs5_python-1.0.3-py3-none-any.whl +0 -0
- libs5_python-1.0.13/_KOSZdist/libs5_python-1.0.3.tar.gz +0 -0
- libs5_python-1.0.13/_KOSZdist/libs5_python-1.0.5-py3-none-any.whl +0 -0
- libs5_python-1.0.13/_KOSZdist/libs5_python-1.0.5.tar.gz +0 -0
- libs5_python-1.0.13/_KOSZdist/libs5_python-1.0.6-py3-none-any.whl +0 -0
- libs5_python-1.0.13/_KOSZdist/libs5_python-1.0.6.tar.gz +0 -0
- libs5_python-1.0.13/_KOSZdist/libs5_python-1.0.7-py3-none-any.whl +0 -0
- libs5_python-1.0.13/_KOSZdist/libs5_python-1.0.7.tar.gz +0 -0
- libs5_python-1.0.13/_KOSZdist/libs5_python-1.0.9-py3-none-any.whl +0 -0
- libs5_python-1.0.13/_KOSZdist/libs5_python-1.0.9.tar.gz +0 -0
- libs5_python-1.0.13/install.sh +3 -0
- {libs5_python-1.0.12 → libs5_python-1.0.13}/pyproject.toml +1 -1
- {libs5_python-1.0.12 → libs5_python-1.0.13}/src/net/hypki/StringUtils.py +6 -1
- {libs5_python-1.0.12 → libs5_python-1.0.13}/src/net/hypki/args.py +8 -1
- {libs5_python-1.0.12 → libs5_python-1.0.13}/src/net/hypki/regex.py +2 -2
- libs5_python-1.0.12/install.sh +0 -3
- {libs5_python-1.0.12 → libs5_python-1.0.13}/LICENSE +0 -0
- {libs5_python-1.0.12 → libs5_python-1.0.13}/MANIFEST.in +0 -0
- {libs5_python-1.0.12 → libs5_python-1.0.13}/README.md +0 -0
- {libs5_python-1.0.12 → libs5_python-1.0.13}/requirements.txt +0 -0
- {libs5_python-1.0.12 → libs5_python-1.0.13}/setup.py +0 -0
- {libs5_python-1.0.12 → libs5_python-1.0.13}/src/net/__init__.py +0 -0
- {libs5_python-1.0.12 → libs5_python-1.0.13}/src/net/hypki/File.py +0 -0
- {libs5_python-1.0.12 → libs5_python-1.0.13}/src/net/hypki/Ini.py +0 -0
- {libs5_python-1.0.12 → libs5_python-1.0.13}/src/net/hypki/Logger.py +0 -0
- {libs5_python-1.0.12 → libs5_python-1.0.13}/src/net/hypki/UserIO.py +0 -0
- {libs5_python-1.0.12 → libs5_python-1.0.13}/src/net/hypki/__init__.py +0 -0
- {libs5_python-1.0.12 → libs5_python-1.0.13}/src/net/hypki/apiutils.py +0 -0
- {libs5_python-1.0.12 → libs5_python-1.0.13}/src/net/hypki/asserts.py +0 -0
- {libs5_python-1.0.12 → libs5_python-1.0.13}/src/net/hypki/io.py +0 -0
- {libs5_python-1.0.12 → libs5_python-1.0.13}/src/net/hypki/log.py +0 -0
- {libs5_python-1.0.12 → libs5_python-1.0.13}/src/net/hypki/math.py +0 -0
- {libs5_python-1.0.12 → libs5_python-1.0.13}/src/net/hypki/random.py +0 -0
- {libs5_python-1.0.12 → libs5_python-1.0.13}/src/net/hypki/system.py +0 -0
- {libs5_python-1.0.12 → libs5_python-1.0.13}/src/net/hypki/tests/__init__.py +0 -0
- {libs5_python-1.0.12 → libs5_python-1.0.13}/src/net/hypki/tests/kepler.py +0 -0
- {libs5_python-1.0.12 → libs5_python-1.0.13}/src/net/hypki/tests/numpytest.py +0 -0
|
@@ -51,4 +51,18 @@ dist/libs5_python-1.0.9.tar.gz
|
|
|
51
51
|
dist/libs5_python-1.0.10-py3-none-any.whl
|
|
52
52
|
dist/libs5_python-1.0.10.tar.gz
|
|
53
53
|
dist/libs5_python-1.0.11-py3-none-any.whl
|
|
54
|
-
dist/libs5_python-1.0.11.tar.gz
|
|
54
|
+
dist/libs5_python-1.0.11.tar.gz
|
|
55
|
+
dist/libs5_python-1.0.12-py3-none-any.whl
|
|
56
|
+
dist/libs5_python-1.0.12.tar.gz
|
|
57
|
+
src/net/__pycache__/__init__.cpython-314.pyc
|
|
58
|
+
src/net/hypki/__pycache__/File.cpython-314.pyc
|
|
59
|
+
src/net/hypki/__pycache__/Ini.cpython-314.pyc
|
|
60
|
+
src/net/hypki/__pycache__/Logger.cpython-314.pyc
|
|
61
|
+
src/net/hypki/__pycache__/StringUtils.cpython-314.pyc
|
|
62
|
+
src/net/hypki/__pycache__/__init__.cpython-314.pyc
|
|
63
|
+
src/net/hypki/__pycache__/args.cpython-314.pyc
|
|
64
|
+
src/net/hypki/__pycache__/io.cpython-314.pyc
|
|
65
|
+
src/net/hypki/__pycache__/log.cpython-314.pyc
|
|
66
|
+
src/net/hypki/__pycache__/regex.cpython-314.pyc
|
|
67
|
+
src/net/hypki/__pycache__/UserIO.cpython-314.pyc
|
|
68
|
+
src/net/hypki/__pycache__/apiutils.cpython-314.pyc
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
2
|
Name: libs5-python
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.13
|
|
4
4
|
Summary: libs5 python scripts, and helper classes (useg e.g. in BEANS software)
|
|
5
5
|
Project-URL: Homepage, https://gitlab.com/ahypki/libs5-python
|
|
6
6
|
Project-URL: Issues, https://gitlab.com/ahypki/libs5-python/-/issues/
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -20,4 +20,9 @@ class StringUtils(object):
|
|
|
20
20
|
return not StringUtils.isEmpty(s) #len(s.strip()) > 0 if s is not None else False
|
|
21
21
|
|
|
22
22
|
def isEmpty(s): # @NoSelf
|
|
23
|
-
|
|
23
|
+
if s is None:
|
|
24
|
+
return True
|
|
25
|
+
if len(s.strip()) == 0:
|
|
26
|
+
return True
|
|
27
|
+
else:
|
|
28
|
+
return False
|
|
@@ -32,4 +32,11 @@ class ArgUtils:
|
|
|
32
32
|
return len(sys.argv)
|
|
33
33
|
|
|
34
34
|
def getArg(idx): # @NoSelf
|
|
35
|
-
return sys.argv[idx]
|
|
35
|
+
return sys.argv[idx]
|
|
36
|
+
|
|
37
|
+
def getArgNames(): # @NoSelf
|
|
38
|
+
names = []
|
|
39
|
+
for i in range(len(sys.argv)):
|
|
40
|
+
if sys.argv[i].startswith("--"):
|
|
41
|
+
names.append(sys.argv[i][2:])
|
|
42
|
+
return names
|
|
@@ -30,10 +30,10 @@ def allGroups(s, regex):
|
|
|
30
30
|
return ""
|
|
31
31
|
|
|
32
32
|
def isLong(strNumber):
|
|
33
|
-
return matches(strNumber, "^[
|
|
33
|
+
return matches(strNumber, "^[\\d]+$")
|
|
34
34
|
|
|
35
35
|
def isDouble(strNumber):
|
|
36
|
-
return matches(strNumber, "[
|
|
36
|
+
return matches(strNumber, "^[\\d]+\\.[\\d\\+\\-eE]+$")
|
|
37
37
|
|
|
38
38
|
def matches(s, regex):
|
|
39
39
|
r = re.compile(regex)
|
libs5_python-1.0.12/install.sh
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|