libs5-python 1.0.5__tar.gz → 1.0.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.
- {libs5_python-1.0.5 → libs5_python-1.0.7}/.gitignore +3 -1
- {libs5_python-1.0.5 → libs5_python-1.0.7}/PKG-INFO +1 -1
- {libs5_python-1.0.5 → libs5_python-1.0.7}/pyproject.toml +1 -1
- {libs5_python-1.0.5 → libs5_python-1.0.7}/src/net/hypki/File.py +5 -2
- {libs5_python-1.0.5 → libs5_python-1.0.7}/LICENSE +0 -0
- {libs5_python-1.0.5 → libs5_python-1.0.7}/MANIFEST.in +0 -0
- {libs5_python-1.0.5 → libs5_python-1.0.7}/README.md +0 -0
- {libs5_python-1.0.5 → libs5_python-1.0.7}/install.sh +0 -0
- {libs5_python-1.0.5 → libs5_python-1.0.7}/requirements.txt +0 -0
- {libs5_python-1.0.5 → libs5_python-1.0.7}/setup.py +0 -0
- {libs5_python-1.0.5 → libs5_python-1.0.7}/src/net/__init__.py +0 -0
- {libs5_python-1.0.5 → libs5_python-1.0.7}/src/net/hypki/Ini.py +0 -0
- {libs5_python-1.0.5 → libs5_python-1.0.7}/src/net/hypki/Logger.py +0 -0
- {libs5_python-1.0.5 → libs5_python-1.0.7}/src/net/hypki/StringUtils.py +0 -0
- {libs5_python-1.0.5 → libs5_python-1.0.7}/src/net/hypki/__init__.py +0 -0
- {libs5_python-1.0.5 → libs5_python-1.0.7}/src/net/hypki/apiutils.py +0 -0
- {libs5_python-1.0.5 → libs5_python-1.0.7}/src/net/hypki/args.py +0 -0
- {libs5_python-1.0.5 → libs5_python-1.0.7}/src/net/hypki/asserts.py +0 -0
- {libs5_python-1.0.5 → libs5_python-1.0.7}/src/net/hypki/io.py +0 -0
- {libs5_python-1.0.5 → libs5_python-1.0.7}/src/net/hypki/log.py +0 -0
- {libs5_python-1.0.5 → libs5_python-1.0.7}/src/net/hypki/math.py +0 -0
- {libs5_python-1.0.5 → libs5_python-1.0.7}/src/net/hypki/random.py +0 -0
- {libs5_python-1.0.5 → libs5_python-1.0.7}/src/net/hypki/regex.py +0 -0
- {libs5_python-1.0.5 → libs5_python-1.0.7}/src/net/hypki/system.py +0 -0
- {libs5_python-1.0.5 → libs5_python-1.0.7}/src/net/hypki/tests/__init__.py +0 -0
- {libs5_python-1.0.5 → libs5_python-1.0.7}/src/net/hypki/tests/kepler.py +0 -0
- {libs5_python-1.0.5 → libs5_python-1.0.7}/src/net/hypki/tests/numpytest.py +0 -0
|
@@ -37,4 +37,6 @@ dist/libs5_python-1.0.2.tar.gz
|
|
|
37
37
|
dist/libs5_python-1.0.3-py3-none-any.whl
|
|
38
38
|
dist/libs5_python-1.0.3.tar.gz
|
|
39
39
|
dist/libs5_python-1.0.4-py3-none-any.whl
|
|
40
|
-
dist/libs5_python-1.0.4.tar.gz
|
|
40
|
+
dist/libs5_python-1.0.4.tar.gz
|
|
41
|
+
dist/libs5_python-1.0.5-py3-none-any.whl
|
|
42
|
+
dist/libs5_python-1.0.5.tar.gz
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: libs5-python
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.7
|
|
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/
|
|
@@ -5,7 +5,6 @@ Created on Oct 14, 2025
|
|
|
5
5
|
'''
|
|
6
6
|
import os
|
|
7
7
|
import shutil
|
|
8
|
-
from pathlib import Path
|
|
9
8
|
|
|
10
9
|
class File(object):
|
|
11
10
|
'''
|
|
@@ -32,7 +31,11 @@ class File(object):
|
|
|
32
31
|
|
|
33
32
|
|
|
34
33
|
def setAbsPath(self, path):
|
|
35
|
-
|
|
34
|
+
if "~" in path:
|
|
35
|
+
home_directory = os.path.expanduser("~")
|
|
36
|
+
path = path.replace("~", home_directory + "/")
|
|
37
|
+
# self.__absPath = PosixPath(path).expanduser()
|
|
38
|
+
self.__absPath = os.path.abspath(path)
|
|
36
39
|
|
|
37
40
|
def exists(self):
|
|
38
41
|
return os.path.exists(self.__absPath)
|
|
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
|
|
File without changes
|
|
File without changes
|