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.
Files changed (55) hide show
  1. wolfhece/PyDraw.py +1 -1
  2. wolfhece/PyGui.py +1 -1
  3. wolfhece/RatingCurve_xml.py +1 -1
  4. wolfhece/cli.py +57 -0
  5. wolfhece/fonts/arial.ttf +0 -0
  6. wolfhece/fonts/helvetica.ttf +0 -0
  7. wolfhece/fonts/sanserif.ttf +0 -0
  8. wolfhece/libs/GL/gl.h +1044 -0
  9. wolfhece/libs/GL/glaux.h +272 -0
  10. wolfhece/libs/GL/glcorearb.h +3597 -0
  11. wolfhece/libs/GL/glext.h +11771 -0
  12. wolfhece/libs/GL/glu.h +255 -0
  13. wolfhece/libs/GL/glxext.h +926 -0
  14. wolfhece/libs/GL/wglext.h +840 -0
  15. wolfhece/libs/WolfOGL.c +28187 -0
  16. wolfhece/locales/{en-GB/LC_MESSAGES/base.po → base.pot} +19 -11
  17. wolfhece/models/HECE_169.pptx +0 -0
  18. wolfhece/models/blue.pal +9 -0
  19. wolfhece/models/diff16.pal +65 -0
  20. wolfhece/models/diff3.pal +13 -0
  21. wolfhece/models/red.pal +9 -0
  22. wolfhece/models/shields.pal +33 -0
  23. wolfhece/models/shields_cst.pal +21 -0
  24. wolfhece/models/waterdepths.pal +33 -0
  25. wolfhece/ui/wolf_multiselection_collapsiblepane.py +346 -0
  26. {wolfhece-2.0.3.dist-info → wolfhece-2.0.4.dist-info}/METADATA +9 -10
  27. {wolfhece-2.0.3.dist-info → wolfhece-2.0.4.dist-info}/RECORD +32 -33
  28. wolfhece-2.0.4.dist-info/entry_points.txt +8 -0
  29. wolfhece/apps/WolfPython.png +0 -0
  30. wolfhece/bernoulli/MQTT/CurlPython.py +0 -50
  31. wolfhece/bernoulli/MQTT/Example_MQTT_Epanet_Ana.py +0 -67
  32. wolfhece/bernoulli/MQTT/Local_File.py +0 -139
  33. wolfhece/bernoulli/MQTT/Local_Test_Thingsboard.py +0 -94
  34. wolfhece/bernoulli/MQTT/NewTestThings.py +0 -90
  35. wolfhece/bernoulli/MQTT/Reader_Thingsboard.py +0 -40
  36. wolfhece/bernoulli/MQTT/Thingsboard.py +0 -76
  37. wolfhece/bernoulli/Pyth_bern.cp37-win_amd64.pyd +0 -0
  38. wolfhece/bernoulli/exit3.png +0 -0
  39. wolfhece/bernoulli/exit7.png +0 -0
  40. wolfhece/bernoulli/exit8.png +0 -0
  41. wolfhece/bernoulli/fib8.cp37-win_amd64.pyd +0 -0
  42. wolfhece/lazviewer/libs/qt_plugins/platforms/qwindows.dll +0 -0
  43. wolfhece/libs/compile_wcython.py +0 -25
  44. wolfhece/locales/en/LC_MESSAGES/base.mo +0 -0
  45. wolfhece/locales/en/LC_MESSAGES/base.po +0 -53
  46. wolfhece/locales/en-GB/LC_MESSAGES/base.mo +0 -0
  47. wolfhece/locales/fr/LC_MESSAGES/base.mo +0 -0
  48. wolfhece/locales/fr/LC_MESSAGES/base.po +0 -62
  49. wolfhece/locales/fr-FR/LC_MESSAGES/base.mo +0 -0
  50. wolfhece/locales/fr-FR/LC_MESSAGES/base.po +0 -62
  51. wolfhece-2.0.3.dist-info/LICENCE +0 -19
  52. /wolfhece/{bernoulli/MQTT → fonts}/__init__.py +0 -0
  53. /wolfhece/{libs → ui}/__init__.py +0 -0
  54. {wolfhece-2.0.3.dist-info → wolfhece-2.0.4.dist-info}/WHEEL +0 -0
  55. {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 .hydrometry.kiwis_hece import hydrometry_hece as hydrometry
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 .hydrometry.kiwis_hece import hydrometry_hece as hydrometry
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
@@ -17,7 +17,7 @@ from enum import Enum
17
17
 
18
18
  from .PyTranslate import _
19
19
  try:
20
- from .hydrometry.kiwis_hece import hydrometry_hece as hydrometry
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)))
Binary file
Binary file
Binary file