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
@@ -1,76 +0,0 @@
1
- # Importing models and REST client class from Community Edition version
2
- from tb_rest_client.rest_client_ce import *
3
-
4
- #insert the following information
5
- username = "t.pirard@uliege.be"
6
- password = "111122"
7
- DeviceToken = "jnWbsYRMF5sEaMwLUqXM"
8
- url = 'http://iot4h2o.mv.uni-kl.de:8080/api/auth/login'
9
- url = 'http://iot4h2o.mv.uni-kl.de:8080'
10
- headers = {'Content-Type': 'application/json', 'Accept': 'application/json'}
11
-
12
- #Partie télémétrie en vue d'ajouter et de recevoir des informations de télémétrie
13
- """
14
- logging.basicConfig(level=logging.DEBUG)
15
- telemetry_with_ts = {"ts": int(round(time() * 1000)), "values": {"temperature": 42.1, "humidity": 70}}
16
- attributes = {"sensorModel": "DHT-22", "attribute_2": "value"}
17
- client = TBDeviceMqttClient(url, DeviceToken)
18
- client.connect()
19
- Test=1
20
- client.stop()
21
- """
22
-
23
- # Python 3 implementation of the approach
24
-
25
- # Array to store the numbers used
26
- # to form the required sum
27
- dp = [0 for i in range(200)]
28
- count = 0
29
-
30
- # Function to print the array which contains
31
- # the unique partitions which are used
32
- # to form the required sum
33
- def print1(idx):
34
- for i in range(1,idx,1):
35
- print(dp[i],end = " ")
36
- print("\n",end = "")
37
-
38
- # Function to find all the unique partitions
39
- # remSum = remaining sum to form
40
- # maxVal is the maximum number that
41
- # can be used to make the partition
42
- def solve(remSum,maxVal,idx,count):
43
- # If remSum == 0 that means the sum
44
- # is achieved so print the array
45
- if (remSum == 0):
46
- print1(idx)
47
- count += 1
48
- return
49
- # i will begin from maxVal which is the
50
- # maximum value which can be used to form the sum
51
- i = maxVal
52
- while(i >= 1):
53
- if (i > remSum):
54
- i -= 1
55
- continue
56
- elif (i <= remSum):
57
- # Store the number used in forming
58
- # sum gradually in the array
59
- dp[idx] = i
60
-
61
- # Since i used the rest of partition
62
- # cant have any number greater than i
63
- # hence second parameter is i
64
- solve(remSum - i, i, idx + 1, count)
65
- i -= 1
66
-
67
- # Driver code
68
-
69
- n = 7
70
- count = 0
71
-
72
- solve(n, n, 1, count)
73
- Test=1
74
- # This code is contributed by
75
- # Surendra_Gangwar
76
-
Binary file
Binary file
Binary file
Binary file
@@ -1,25 +0,0 @@
1
- """
2
- Compilation de la librairie wolfogl via Cython
3
- si la librairie fournie n'est pas compatible avec la version locale de Python3 (!=3.9)
4
-
5
- Il faut lancer le script via votre interpréteur Python3 dans une ligne de commande ou un Powershell
6
-
7
- Todo :
8
-
9
- python compile_wcython.py build_ext --inplace
10
-
11
- --or--
12
-
13
- python3 compile_wcython.py build_ext --inplace
14
-
15
- Result :
16
- wolfogl.cp3xx-win_amd64.pyd où xx est la sous-version du Python local
17
-
18
- """
19
- from distutils.core import Extension,setup
20
- from Cython.Build import cythonize
21
-
22
- ext=Extension(name="wolfogl", sources=["WolfOGL.pyx"], libraries = ['opengl32']) #, extra_compile_args=['-O3'])
23
- setup(
24
- ext_modules = cythonize(ext)
25
- )
Binary file
@@ -1,53 +0,0 @@
1
- # SOME DESCRIPTIVE TITLE.
2
- # Copyright (C) YEAR ORGANIZATION
3
- # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
4
- #
5
- msgid ""
6
- msgstr ""
7
- "Project-Id-Version: PACKAGE VERSION\n"
8
- "POT-Creation-Date: 2021-11-22 16:32+0100\n"
9
- "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
10
- "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
11
- "Language-Team: LANGUAGE <LL@li.org>\n"
12
- "MIME-Version: 1.0\n"
13
- "Content-Type: text/plain; charset=cp1252\n"
14
- "Content-Transfer-Encoding: 8bit\n"
15
- "Generated-By: pygettext.py 1.5\n"
16
-
17
-
18
- #: PyGuiHydrology.py:12
19
- msgid "General parameters"
20
- msgstr ""
21
-
22
- #: PyGuiHydrology.py:12
23
- msgid "Main model"
24
- msgstr ""
25
-
26
- #: PyGuiHydrology.py:13
27
- msgid "Basin"
28
- msgstr ""
29
-
30
- #: PyGuiHydrology.py:13
31
- msgid "Basin parameters"
32
- msgstr ""
33
-
34
- #: PyGuiHydrology.py:14
35
- msgid "&Parameters"
36
- msgstr "&Paramstt"
37
-
38
- #: PyGuiHydrology.py:17
39
- msgid "My new tool..."
40
- msgstr ""
41
-
42
- #: PyGuiHydrology.py:17
43
- msgid "New tool"
44
- msgstr ""
45
-
46
- #: PyGuiHydrology.py:18
47
- msgid "&Tools"
48
- msgstr ""
49
-
50
- #: PyGuiHydrology.py:29
51
- msgid "Do anything !!"
52
- msgstr ""
53
-
Binary file
Binary file
@@ -1,62 +0,0 @@
1
- # SOME DESCRIPTIVE TITLE.
2
- # Copyright (C) YEAR ORGANIZATION
3
- # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
4
- #
5
- msgid ""
6
- msgstr ""
7
- "Project-Id-Version: \n"
8
- "POT-Creation-Date: 2021-11-22 17:39+0100\n"
9
- "PO-Revision-Date: 2021-11-22 17:54+0100\n"
10
- "Language-Team: \n"
11
- "MIME-Version: 1.0\n"
12
- "Content-Type: text/plain; charset=UTF-8\n"
13
- "Content-Transfer-Encoding: 8bit\n"
14
- "Generated-By: pygettext.py 1.5\n"
15
- "X-Generator: Poedit 3.0\n"
16
- "Last-Translator: \n"
17
- "Plural-Forms: nplurals=2; plural=(n > 1);\n"
18
- "Language: fr\n"
19
-
20
- #: PyDraw.py:207
21
- msgid "Open"
22
- msgstr "Ouvrir"
23
-
24
- #: PyDraw.py:208
25
- msgid "Save"
26
- msgstr "Sauver"
27
-
28
- #: PyGuiHydrology.py:14
29
- msgid "General parameters"
30
- msgstr "Paramètres généraux"
31
-
32
- #: PyGuiHydrology.py:14
33
- msgid "Main model"
34
- msgstr "Modèle principal"
35
-
36
- #: PyGuiHydrology.py:15
37
- msgid "Basin"
38
- msgstr "Bassin versant"
39
-
40
- #: PyGuiHydrology.py:15
41
- msgid "Basin parameters"
42
- msgstr "Paramètres du bassin"
43
-
44
- #: PyGuiHydrology.py:16
45
- msgid "&Parameters"
46
- msgstr "&Paramètres"
47
-
48
- #: PyGuiHydrology.py:19
49
- msgid "My new tool..."
50
- msgstr "Mon nouvel outil..."
51
-
52
- #: PyGuiHydrology.py:19
53
- msgid "New tool"
54
- msgstr "Nouvel outil"
55
-
56
- #: PyGuiHydrology.py:20
57
- msgid "&Tools"
58
- msgstr "&OUTILS"
59
-
60
- #: PyGuiHydrology.py:31
61
- msgid "Do anything !!"
62
- msgstr "A faire !!"
Binary file
@@ -1,62 +0,0 @@
1
- # SOME DESCRIPTIVE TITLE.
2
- # Copyright (C) YEAR ORGANIZATION
3
- # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
4
- #
5
- msgid ""
6
- msgstr ""
7
- "Project-Id-Version: \n"
8
- "POT-Creation-Date: 2021-11-22 17:39+0100\n"
9
- "PO-Revision-Date: 2021-11-22 17:54+0100\n"
10
- "Language-Team: \n"
11
- "MIME-Version: 1.0\n"
12
- "Content-Type: text/plain; charset=UTF-8\n"
13
- "Content-Transfer-Encoding: 8bit\n"
14
- "Generated-By: pygettext.py 1.5\n"
15
- "X-Generator: Poedit 3.0\n"
16
- "Last-Translator: \n"
17
- "Plural-Forms: nplurals=2; plural=(n > 1);\n"
18
- "Language: fr\n"
19
-
20
- #: PyDraw.py:207
21
- msgid "Open"
22
- msgstr "Ouvrir"
23
-
24
- #: PyDraw.py:208
25
- msgid "Save"
26
- msgstr "Sauver"
27
-
28
- #: PyGuiHydrology.py:14
29
- msgid "General parameters"
30
- msgstr "Paramètres généraux"
31
-
32
- #: PyGuiHydrology.py:14
33
- msgid "Main model"
34
- msgstr "Modèle principal"
35
-
36
- #: PyGuiHydrology.py:15
37
- msgid "Basin"
38
- msgstr "Bassin versant"
39
-
40
- #: PyGuiHydrology.py:15
41
- msgid "Basin parameters"
42
- msgstr "Paramètres du bassin"
43
-
44
- #: PyGuiHydrology.py:16
45
- msgid "&Parameters"
46
- msgstr "&Paramètres"
47
-
48
- #: PyGuiHydrology.py:19
49
- msgid "My new tool..."
50
- msgstr "Mon nouvel outil..."
51
-
52
- #: PyGuiHydrology.py:19
53
- msgid "New tool"
54
- msgstr "Nouvel outil"
55
-
56
- #: PyGuiHydrology.py:20
57
- msgid "&Tools"
58
- msgstr "&OUTILS"
59
-
60
- #: PyGuiHydrology.py:31
61
- msgid "Do anything !!"
62
- msgstr "A faire !!"
@@ -1,19 +0,0 @@
1
- Copyright (c) 2021 HECE ULiege
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining a copy
4
- of this software and associated documentation files (the "Software"), to deal
5
- in the Software without restriction, including without limitation the rights
6
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
- copies of the Software, and to permit persons to whom the Software is
8
- furnished to do so, subject to the following conditions:
9
-
10
- The above copyright notice and this permission notice shall be included in all
11
- copies or substantial portions of the Software.
12
-
13
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
- SOFTWARE.
File without changes
File without changes