wolfhece 2.0.3__py3-none-any.whl → 2.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.
- wolfhece/PyDraw.py +1 -1
- wolfhece/PyGui.py +1 -1
- wolfhece/RatingCurve_xml.py +1 -1
- wolfhece/cli.py +57 -0
- wolfhece/fonts/arial.ttf +0 -0
- wolfhece/fonts/helvetica.ttf +0 -0
- wolfhece/fonts/sanserif.ttf +0 -0
- wolfhece/libs/GL/gl.h +1044 -0
- wolfhece/libs/GL/glaux.h +272 -0
- wolfhece/libs/GL/glcorearb.h +3597 -0
- wolfhece/libs/GL/glext.h +11771 -0
- wolfhece/libs/GL/glu.h +255 -0
- wolfhece/libs/GL/glxext.h +926 -0
- wolfhece/libs/GL/wglext.h +840 -0
- wolfhece/libs/WolfOGL.c +28187 -0
- wolfhece/locales/{en-GB/LC_MESSAGES/base.po → base.pot} +19 -11
- wolfhece/models/HECE_169.pptx +0 -0
- wolfhece/models/blue.pal +9 -0
- wolfhece/models/diff16.pal +65 -0
- wolfhece/models/diff3.pal +13 -0
- wolfhece/models/red.pal +9 -0
- wolfhece/models/shields.pal +33 -0
- wolfhece/models/shields_cst.pal +21 -0
- wolfhece/models/waterdepths.pal +33 -0
- wolfhece/ui/wolf_multiselection_collapsiblepane.py +346 -0
- {wolfhece-2.0.3.dist-info → wolfhece-2.0.4.dist-info}/METADATA +9 -10
- {wolfhece-2.0.3.dist-info → wolfhece-2.0.4.dist-info}/RECORD +32 -33
- wolfhece-2.0.4.dist-info/entry_points.txt +8 -0
- wolfhece/apps/WolfPython.png +0 -0
- wolfhece/bernoulli/MQTT/CurlPython.py +0 -50
- wolfhece/bernoulli/MQTT/Example_MQTT_Epanet_Ana.py +0 -67
- wolfhece/bernoulli/MQTT/Local_File.py +0 -139
- wolfhece/bernoulli/MQTT/Local_Test_Thingsboard.py +0 -94
- wolfhece/bernoulli/MQTT/NewTestThings.py +0 -90
- wolfhece/bernoulli/MQTT/Reader_Thingsboard.py +0 -40
- wolfhece/bernoulli/MQTT/Thingsboard.py +0 -76
- wolfhece/bernoulli/Pyth_bern.cp37-win_amd64.pyd +0 -0
- wolfhece/bernoulli/exit3.png +0 -0
- wolfhece/bernoulli/exit7.png +0 -0
- wolfhece/bernoulli/exit8.png +0 -0
- wolfhece/bernoulli/fib8.cp37-win_amd64.pyd +0 -0
- wolfhece/lazviewer/libs/qt_plugins/platforms/qwindows.dll +0 -0
- wolfhece/libs/compile_wcython.py +0 -25
- wolfhece/locales/en/LC_MESSAGES/base.mo +0 -0
- wolfhece/locales/en/LC_MESSAGES/base.po +0 -53
- wolfhece/locales/en-GB/LC_MESSAGES/base.mo +0 -0
- wolfhece/locales/fr/LC_MESSAGES/base.mo +0 -0
- wolfhece/locales/fr/LC_MESSAGES/base.po +0 -62
- wolfhece/locales/fr-FR/LC_MESSAGES/base.mo +0 -0
- wolfhece/locales/fr-FR/LC_MESSAGES/base.po +0 -62
- wolfhece-2.0.3.dist-info/LICENCE +0 -19
- /wolfhece/{bernoulli/MQTT → fonts}/__init__.py +0 -0
- /wolfhece/{libs → ui}/__init__.py +0 -0
- {wolfhece-2.0.3.dist-info → wolfhece-2.0.4.dist-info}/WHEEL +0 -0
- {wolfhece-2.0.3.dist-info → wolfhece-2.0.4.dist-info}/top_level.txt +0 -0
wolfhece/PyDraw.py
CHANGED
@@ -61,7 +61,7 @@ from .lazviewer.laz_viewer import myviewer, read_laz, clip_data_xyz, xyz_laz_gri
|
|
61
61
|
from . import Lidar2002
|
62
62
|
|
63
63
|
try:
|
64
|
-
from .
|
64
|
+
from .hydrometry_hece.kiwis_hece import hydrometry_hece as hydrometry
|
65
65
|
except:
|
66
66
|
logging.warning(_('Hydrometry HECE module not found - Load hydrometry instead of hydrometry_hece'))
|
67
67
|
from .hydrometry.kiwis import hydrometry
|
wolfhece/PyGui.py
CHANGED
@@ -19,7 +19,7 @@ from .hydrology.forcedexchanges import forced_exchanges
|
|
19
19
|
from .mesh2d.wolf2dprev import *
|
20
20
|
|
21
21
|
try:
|
22
|
-
from .
|
22
|
+
from .hydrometry_hece.kiwis_hece import hydrometry_hece as hydrometry
|
23
23
|
except:
|
24
24
|
logging.warning(_('Hydrometry HECE module not found - Load hydrometry instead of hydrometry_hece'))
|
25
25
|
from .hydrometry.kiwis import hydrometry
|
wolfhece/RatingCurve_xml.py
CHANGED
@@ -17,7 +17,7 @@ from enum import Enum
|
|
17
17
|
|
18
18
|
from .PyTranslate import _
|
19
19
|
try:
|
20
|
-
from .
|
20
|
+
from .hydrometry_hece.kiwis_hece import hydrometry_hece as hydrometry
|
21
21
|
except:
|
22
22
|
logging.warning(_('Hydrometry HECE module not found - Load hydrometry instead of hydrometry_hece'))
|
23
23
|
from .hydrometry.kiwis import hydrometry
|
wolfhece/cli.py
ADDED
@@ -0,0 +1,57 @@
|
|
1
|
+
|
2
|
+
def wolf():
|
3
|
+
from .apps.wolf import main
|
4
|
+
main()
|
5
|
+
|
6
|
+
def wolf2d():
|
7
|
+
from .apps.wolf2D import main
|
8
|
+
main()
|
9
|
+
|
10
|
+
def digitizer():
|
11
|
+
from .apps.curvedigitizer import main
|
12
|
+
main()
|
13
|
+
|
14
|
+
def params():
|
15
|
+
from .apps.ManageParams import main
|
16
|
+
main()
|
17
|
+
|
18
|
+
def optihydro():
|
19
|
+
from .apps.Optimisation_hydro import main
|
20
|
+
main()
|
21
|
+
|
22
|
+
def hydro():
|
23
|
+
from .apps.wolfhydro import main
|
24
|
+
main()
|
25
|
+
|
26
|
+
def compare():
|
27
|
+
from .apps.wolfcompare2Darrays import main
|
28
|
+
from PyTranslate import _
|
29
|
+
from wolf_array import WolfArray
|
30
|
+
from pathlib import Path
|
31
|
+
import sys
|
32
|
+
from pathlib import Path
|
33
|
+
|
34
|
+
"""gestion de l'éxécution du module en tant que code principal"""
|
35
|
+
# total arguments
|
36
|
+
n = len(sys.argv)
|
37
|
+
# arguments
|
38
|
+
print("Total arguments passed:", n)
|
39
|
+
assert n in [2,3], _('Usage : wolfcompare <directory> or wolfcompare <file1> <file2>')
|
40
|
+
|
41
|
+
if n==2:
|
42
|
+
mydir = Path(sys.argv[1])
|
43
|
+
if mydir.exists():
|
44
|
+
main(mydir)
|
45
|
+
else:
|
46
|
+
print(_('Directory not found'))
|
47
|
+
elif n==3:
|
48
|
+
file1 = Path(sys.argv[1])
|
49
|
+
file2 = Path(sys.argv[2])
|
50
|
+
|
51
|
+
if file1.exists() and file2.exists():
|
52
|
+
main('', [WolfArray(file1), WolfArray(file2)])
|
53
|
+
else:
|
54
|
+
if not file1.exists():
|
55
|
+
print(_('File {} not found'.format(file1)))
|
56
|
+
if not file2.exists():
|
57
|
+
print(_('File {} not found'.format(file2)))
|
wolfhece/fonts/arial.ttf
ADDED
Binary file
|
Binary file
|
Binary file
|