floodmodeller-api 0.4.2.post1__tar.gz → 0.4.4__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.
Files changed (210) hide show
  1. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/LICENSE.txt +13 -13
  2. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/MANIFEST.in +10 -8
  3. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/PKG-INFO +85 -82
  4. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/README.md +64 -64
  5. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/__init__.py +8 -9
  6. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/_base.py +169 -176
  7. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/backup.py +273 -273
  8. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/dat.py +889 -831
  9. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/diff.py +136 -119
  10. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/ied.py +302 -306
  11. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/ief.py +553 -637
  12. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/ief_flags.py +253 -253
  13. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/inp.py +260 -266
  14. floodmodeller_api-0.4.4/floodmodeller_api/libs/libifcoremd.dll +0 -0
  15. floodmodeller_api-0.4.4/floodmodeller_api/libs/libifcoremt.so.5 +0 -0
  16. floodmodeller_api-0.4.4/floodmodeller_api/libs/libifport.so.5 +0 -0
  17. floodmodeller_api-0.4.2.post1/floodmodeller_api/libmmd.dll → floodmodeller_api-0.4.4/floodmodeller_api/libs/libimf.so +0 -0
  18. floodmodeller_api-0.4.4/floodmodeller_api/libs/libintlc.so.5 +0 -0
  19. floodmodeller_api-0.4.4/floodmodeller_api/libs/libmmd.dll +0 -0
  20. floodmodeller_api-0.4.4/floodmodeller_api/libs/libsvml.so +0 -0
  21. floodmodeller_api-0.4.4/floodmodeller_api/libs/libzzn_read.so +0 -0
  22. floodmodeller_api-0.4.4/floodmodeller_api/libs/zzn_read.dll +0 -0
  23. floodmodeller_api-0.4.4/floodmodeller_api/logs/__init__.py +2 -0
  24. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/logs/lf.py +364 -312
  25. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/logs/lf_helpers.py +354 -352
  26. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/logs/lf_params.py +643 -529
  27. floodmodeller_api-0.4.4/floodmodeller_api/mapping.py +84 -0
  28. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/__init__.py +4 -4
  29. floodmodeller_api-0.4.4/floodmodeller_api/test/conftest.py +16 -0
  30. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_backup.py +117 -117
  31. floodmodeller_api-0.4.4/floodmodeller_api/test/test_conveyance.py +107 -0
  32. floodmodeller_api-0.4.4/floodmodeller_api/test/test_dat.py +222 -0
  33. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/All Units 4_6.DAT +1081 -1081
  34. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/All Units 4_6.feb +1081 -1081
  35. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/BRIDGE.DAT +926 -926
  36. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/Culvert_Inlet_Outlet.dat +36 -36
  37. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/Culvert_Inlet_Outlet.feb +36 -36
  38. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/DamBreakADI.xml +52 -52
  39. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/DamBreakFAST.xml +58 -58
  40. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/DamBreakFAST_dy.xml +53 -53
  41. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/DamBreakTVD.xml +55 -55
  42. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/DefenceBreach.xml +53 -53
  43. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/DefenceBreachFAST.xml +60 -60
  44. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/DefenceBreachFAST_dy.xml +55 -55
  45. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/Domain1+2_QH.xml +76 -76
  46. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/Domain1_H.xml +41 -41
  47. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/Domain1_Q.xml +41 -41
  48. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/Domain1_Q_FAST.xml +48 -48
  49. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/Domain1_Q_FAST_dy.xml +48 -48
  50. floodmodeller_api-0.4.4/floodmodeller_api/test/test_data/Domain1_Q_xml_expected.json +263 -0
  51. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/Domain1_W.xml +41 -41
  52. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/EX1.DAT +321 -321
  53. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/EX1.ext +107 -107
  54. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/EX1.feb +320 -320
  55. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/EX1.gxy +107 -107
  56. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/EX17.DAT +421 -422
  57. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/EX17.ext +213 -213
  58. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/EX17.feb +422 -422
  59. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/EX18.DAT +375 -375
  60. floodmodeller_api-0.4.4/floodmodeller_api/test/test_data/EX18_DAT_expected.json +3876 -0
  61. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/EX2.DAT +302 -302
  62. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/EX3.DAT +926 -926
  63. floodmodeller_api-0.4.4/floodmodeller_api/test/test_data/EX3_DAT_expected.json +16235 -0
  64. floodmodeller_api-0.4.4/floodmodeller_api/test/test_data/EX3_IEF_expected.json +61 -0
  65. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/EX6.DAT +2084 -2084
  66. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/EX6.ext +532 -532
  67. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/EX6.feb +2084 -2084
  68. floodmodeller_api-0.4.4/floodmodeller_api/test/test_data/EX6_DAT_expected.json +31647 -0
  69. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/Event Data Example.DAT +336 -336
  70. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/Event Data Example.ext +107 -107
  71. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/Event Data Example.feb +336 -336
  72. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/Linked1D2D.xml +52 -52
  73. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/Linked1D2DFAST.xml +53 -53
  74. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/Linked1D2DFAST_dy.xml +48 -48
  75. floodmodeller_api-0.4.4/floodmodeller_api/test/test_data/Linked1D2D_xml_expected.json +313 -0
  76. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/blockage.dat +50 -50
  77. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/blockage.ext +45 -45
  78. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/blockage.feb +9 -9
  79. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/blockage.gxy +71 -71
  80. floodmodeller_api-0.4.4/floodmodeller_api/test/test_data/conveyance_test.dat +165 -0
  81. floodmodeller_api-0.4.4/floodmodeller_api/test/test_data/conveyance_test.feb +116 -0
  82. floodmodeller_api-0.4.4/floodmodeller_api/test/test_data/conveyance_test.gxy +85 -0
  83. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/defaultUnits.dat +127 -127
  84. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/defaultUnits.ext +45 -45
  85. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/defaultUnits.feb +9 -9
  86. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/defaultUnits.fmpx +58 -58
  87. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/defaultUnits.gxy +85 -85
  88. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/ex3.ief +20 -20
  89. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/ex3.lf1 +2800 -2800
  90. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/ex4.DAT +1374 -1374
  91. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/ex4_changed.DAT +1374 -1374
  92. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/example1.inp +329 -329
  93. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/example2.inp +158 -158
  94. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/example3.inp +297 -297
  95. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/example4.inp +388 -388
  96. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/example5.inp +147 -147
  97. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/example6.inp +154 -154
  98. floodmodeller_api-0.4.4/floodmodeller_api/test/test_data/expected_conveyance.csv +60 -0
  99. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/jump.dat +176 -176
  100. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/network.dat +1374 -1374
  101. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/network.ext +45 -45
  102. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/network.exy +1 -1
  103. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/network.feb +45 -45
  104. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/network.ied +45 -45
  105. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/network.ief +20 -20
  106. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/network.inp +147 -147
  107. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/network.pxy +57 -57
  108. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/network.zzd +122 -122
  109. floodmodeller_api-0.4.4/floodmodeller_api/test/test_data/network_dat_expected.json +21837 -0
  110. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/network_from_tabularCSV.csv +87 -87
  111. floodmodeller_api-0.4.4/floodmodeller_api/test/test_data/network_ied_expected.json +287 -0
  112. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/rnweir.dat +9 -9
  113. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/rnweir.ext +45 -45
  114. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/rnweir.feb +9 -9
  115. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/rnweir.gxy +45 -45
  116. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/rnweir_default.dat +74 -74
  117. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/rnweir_default.ext +45 -45
  118. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/rnweir_default.feb +9 -9
  119. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/rnweir_default.fmpx +58 -58
  120. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/rnweir_default.gxy +53 -53
  121. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/unit checks.dat +16 -16
  122. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_ied.py +29 -29
  123. floodmodeller_api-0.4.4/floodmodeller_api/test/test_ief.py +136 -0
  124. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_inp.py +47 -48
  125. floodmodeller_api-0.4.4/floodmodeller_api/test/test_json.py +114 -0
  126. floodmodeller_api-0.4.4/floodmodeller_api/test/test_logs_lf.py +102 -0
  127. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_tool.py +165 -152
  128. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_toolbox_structure_log.py +234 -239
  129. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_xml2d.py +151 -156
  130. floodmodeller_api-0.4.4/floodmodeller_api/test/test_zzn.py +36 -0
  131. floodmodeller_api-0.4.4/floodmodeller_api/to_from_json.py +230 -0
  132. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/tool.py +332 -329
  133. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/toolbox/__init__.py +5 -5
  134. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/toolbox/example_tool.py +45 -45
  135. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/toolbox/model_build/__init__.py +2 -2
  136. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/toolbox/model_build/add_siltation_definition.py +100 -98
  137. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/toolbox/model_build/structure_log/__init__.py +1 -1
  138. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/toolbox/model_build/structure_log/structure_log.py +287 -289
  139. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/toolbox/model_build/structure_log_definition.py +76 -76
  140. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/units/__init__.py +10 -10
  141. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/units/_base.py +214 -212
  142. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/units/boundaries.py +467 -467
  143. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/units/comment.py +52 -55
  144. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/units/conduits.py +382 -402
  145. floodmodeller_api-0.4.4/floodmodeller_api/units/conveyance.py +301 -0
  146. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/units/helpers.py +123 -131
  147. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/units/iic.py +107 -101
  148. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/units/losses.py +305 -306
  149. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/units/sections.py +465 -446
  150. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/units/structures.py +1690 -1683
  151. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/units/units.py +93 -104
  152. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/units/unsupported.py +44 -44
  153. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/units/variables.py +87 -89
  154. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/urban1d/__init__.py +11 -11
  155. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/urban1d/_base.py +188 -179
  156. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/urban1d/conduits.py +93 -85
  157. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/urban1d/general_parameters.py +58 -58
  158. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/urban1d/junctions.py +81 -79
  159. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/urban1d/losses.py +81 -74
  160. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/urban1d/outfalls.py +114 -110
  161. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/urban1d/raingauges.py +111 -111
  162. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/urban1d/subsections.py +92 -98
  163. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/urban1d/xsections.py +147 -144
  164. floodmodeller_api-0.4.4/floodmodeller_api/util.py +119 -0
  165. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/validation/parameters.py +660 -660
  166. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/validation/urban_parameters.py +388 -404
  167. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/validation/validation.py +110 -108
  168. floodmodeller_api-0.4.4/floodmodeller_api/version.py +1 -0
  169. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/xml2d.py +632 -673
  170. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/xml2d_template.py +37 -37
  171. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/zzn.py +414 -363
  172. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api.egg-info/PKG-INFO +85 -82
  173. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api.egg-info/SOURCES.txt +27 -10
  174. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api.egg-info/requires.txt +4 -1
  175. floodmodeller_api-0.4.4/pyproject.toml +43 -0
  176. floodmodeller_api-0.4.4/requirements.txt +22 -0
  177. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/setup.cfg +4 -4
  178. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/setup.py +57 -53
  179. floodmodeller_api-0.4.2.post1/code-of-conduct.md +0 -102
  180. floodmodeller_api-0.4.2.post1/floodmodeller_api/libifcoremd.dll +0 -0
  181. floodmodeller_api-0.4.2.post1/floodmodeller_api/logs/__init__.py +0 -2
  182. floodmodeller_api-0.4.2.post1/floodmodeller_api/test/conftest.py +0 -8
  183. floodmodeller_api-0.4.2.post1/floodmodeller_api/test/test_dat.py +0 -92
  184. floodmodeller_api-0.4.2.post1/floodmodeller_api/test/test_data/EX3.bmp +0 -0
  185. floodmodeller_api-0.4.2.post1/floodmodeller_api/test/test_data/test_output.csv +0 -87
  186. floodmodeller_api-0.4.2.post1/floodmodeller_api/test/test_ief.py +0 -24
  187. floodmodeller_api-0.4.2.post1/floodmodeller_api/test/test_logs_lf.py +0 -51
  188. floodmodeller_api-0.4.2.post1/floodmodeller_api/test/test_zzn.py +0 -34
  189. floodmodeller_api-0.4.2.post1/floodmodeller_api/util.py +0 -21
  190. floodmodeller_api-0.4.2.post1/floodmodeller_api/version.py +0 -1
  191. floodmodeller_api-0.4.2.post1/floodmodeller_api/zzn_read.dll +0 -0
  192. floodmodeller_api-0.4.2.post1/pyproject.toml +0 -3
  193. floodmodeller_api-0.4.2.post1/requirements.txt +0 -15
  194. floodmodeller_api-0.4.2.post1/scripts/fmapi-toolbox.bat +0 -2
  195. floodmodeller_api-0.4.2.post1/scripts/fmapi-toolbox.py +0 -41
  196. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/network.mmm +0 -0
  197. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/network.uic +0 -0
  198. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/network.zzl +0 -0
  199. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/network.zzn +0 -0
  200. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/network.zzu +0 -0
  201. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/test/test_data/network.zzx +0 -0
  202. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/toolbox/gui/bg.PNG +0 -0
  203. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/toolbox/gui/logo.PNG +0 -0
  204. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/toolbox/model_conversion/__init__.py +0 -0
  205. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/toolbox/model_review/__init__.py +0 -0
  206. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/toolbox/results_analysis/__init__.py +0 -0
  207. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api/validation/__init__.py +0 -0
  208. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api.egg-info/dependency_links.txt +0 -0
  209. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api.egg-info/entry_points.txt +0 -0
  210. {floodmodeller_api-0.4.2.post1 → floodmodeller_api-0.4.4}/floodmodeller_api.egg-info/top_level.txt +0 -0
@@ -1,13 +1,13 @@
1
- Flood Modeller Python API
2
- Copyright (C) 2023 Jacobs U.K. Limited
3
-
4
- This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License
5
- as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
6
-
7
- This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
8
- of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
9
-
10
- You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.
11
-
12
- If you have any query about this program or this License, please contact us at support@floodmodeller.com or write to the following
13
- address: Jacobs UK Limited, Flood Modeller, Cottons Centre, Cottons Lane, London, SE1 2QG, United Kingdom.
1
+ Flood Modeller Python API
2
+ Copyright (C) 2024 Jacobs U.K. Limited
3
+
4
+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License
5
+ as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
6
+
7
+ This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
8
+ of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
9
+
10
+ You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.
11
+
12
+ If you have any query about this program or this License, please contact us at support@floodmodeller.com or write to the following
13
+ address: Jacobs UK Limited, Flood Modeller, Cottons Centre, Cottons Lane, London, SE1 2QG, United Kingdom.
@@ -1,8 +1,10 @@
1
- include license.txt
2
- include code-of-conduct.md
3
- include requirements.txt
4
- include floodmodeller_api/test/test_data/*
5
- include floodmodeller_api/toolbox/gui/*
6
- recursive-include floodmodeller_api *.dll
7
- exclude sample_code/*
8
-
1
+ include license.txt
2
+ include code-of-conduct.md
3
+ include requirements.txt
4
+ include floodmodeller_api/test/test_data/*
5
+ include floodmodeller_api/toolbox/gui/*
6
+ recursive-include floodmodeller_api *.dll
7
+ recursive-include floodmodeller_api *.so
8
+ recursive-include floodmodeller_api *.so.5
9
+ exclude sample_code/*
10
+
@@ -1,82 +1,85 @@
1
- Metadata-Version: 2.1
2
- Name: floodmodeller_api
3
- Version: 0.4.2.post1
4
- Summary: Extends the functionality of Flood Modeller to python users
5
- Author: Jacobs
6
- Author-email: joe.pierce@jacobs.com
7
- License: GNU General Public License V3. Copyright (C) 2023 Jacobs U.K. Limited.
8
- Project-URL: API Documentation, https://api.floodmodeller.com/api/
9
- Project-URL: Flood Modeller Homepage, https://www.floodmodeller.com/
10
- Project-URL: Contact & Support, https://www.floodmodeller.com/contact
11
- Description-Content-Type: text/markdown
12
- License-File: LICENSE.txt
13
- Requires-Dist: pandas<3,>1
14
- Requires-Dist: lxml==4.*
15
- Requires-Dist: tqdm==4.*
16
- Requires-Dist: pytest<8,>4
17
- Requires-Dist: pytest-mock==3.*
18
-
19
- ![FM Logo](https://raw.githubusercontent.com/People-Places-Solutions/floodmodeller-api/main/docs/source/_static/flood-modeller-logo-hero-image.png)
20
-
21
-
22
- [![PyPI Latest Release](https://img.shields.io/pypi/v/floodmodeller-api.svg)](https://pypi.org/project/floodmodeller-api/)
23
- [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://github.com/People-Places-Solutions/floodmodeller-api/blob/main/LICENSE.txt)
24
- ![Unit Tests](https://github.com/People-Places-Solutions/floodmodeller-api/actions/workflows/run_tests.yml/badge.svg)
25
- ![Lint](https://github.com/People-Places-Solutions/floodmodeller-api/actions/workflows/run_linters.yml/badge.svg)
26
- [![Downloads](https://static.pepy.tech/personalized-badge/floodmodeller-api?period=month&units=international_system&left_color=black&right_color=orange&left_text=PyPI%20downloads%20per%20month)](https://pepy.tech/project/floodmodeller-api)
27
- [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
28
-
29
-
30
-
31
- # Flood Modeller Python API
32
- [![Try in GitHub Codespaces!](https://github.com/codespaces/badge.svg)](https://github.com/codespaces/new?hide_repo_select=true&ref=39-try-api-link&repo=473959586&machine=basicLinux32gb&devcontainer_path=.devcontainer%2Fdevcontainer.json&location=WestEurope)
33
-
34
- This python package is designed to be used in conjunction with your installation of Flood Modeller to provide users with a set of tools to extend the capabilities of Flood Modeller and build into automated workflows.
35
-
36
- ![API Overview](https://raw.githubusercontent.com/People-Places-Solutions/floodmodeller-api/main/docs/source/getting_started/api_overview_small.png)
37
-
38
- ## Installation
39
- You can install the floodmodeller_api package from PyPI with the following command:
40
-
41
- ```
42
- pip install floodmodeller-api
43
- ```
44
-
45
- Python 3.9 or greater is required.
46
-
47
- Once you have installed floodmodeller_api to your python environment, you can import the package with:
48
-
49
- ```python
50
- import floodmodeller_api # imports the full package
51
- from floodmodeller_api import DAT, ZZN, IEF, IED # imports individual classes (recommended)
52
- ```
53
- ## How to use
54
-
55
- The best place to start is to go directly to the [Flood Modeller Python API Documentation](https://api.floodmodeller.com/api/)
56
-
57
- The Flood Modeller Python API is designed for users already familiar with both Flood Modeller and Python. The API is built up using distinct python classes for each of the key Flood Modeller file formats as well as key themes. The purpose of the API is not to provide ready-to-use tools for specific tasks, as there is an extensive set of tools already provided within Flood Modeller, many of which can be called from both within and outside of the Flood Modeller software. **Instead, this API provides the building blocks for users to build their own custom workflows and tools which can integrate seamlessly with Flood Modeller.**
58
-
59
- ## [Show and Tell](https://github.com/People-Places-Solutions/floodmodeller-api/discussions)
60
- In the spirit of open source, we encourage you to share any interesting scripts or tools you have developed using the Flood Modeller Python API.
61
- To do this, please get involved [in the discussions section here](https://github.com/People-Places-Solutions/floodmodeller-api/discussions). This
62
- is also a great place to explore different ways that people have used the API.
63
-
64
- --------------------
65
-
66
- ### Youtube mini tutorials
67
- These videos give you a quick overview of some of the basics of using the Flood Modeller API
68
-
69
- **Running a simulation**
70
-
71
- <a href="https://www.youtube.com/watch?v=WfCNkC44shI?vq=1080p" target="_blank"><img src="https://github-production-user-asset-6210df.s3.amazonaws.com/56606086/253010465-8a714e5b-9364-4073-9af5-679dab0a8249.png" width="400"></a>
72
-
73
- **Using the codespace**
74
-
75
- <a href="https://www.youtube.com/watch?v=BWV3A7R0fbM?vq=1080p" target="_blank"><img src="https://github-production-user-asset-6210df.s3.amazonaws.com/56606086/257823093-545e0b61-4252-4ed3-8870-405fa869461d.png" width="400"></a>
76
-
77
- **Extract ReFH2 csv data into IEDs and QTBDYs**
78
-
79
- <a href="https://www.youtube.com/watch?v=E9JMQ2DKr0c?vq=1080p" target="_blank"><img src="https://github-production-user-asset-6210df.s3.amazonaws.com/56606086/257824500-39c991cd-8bad-4e08-bd39-0f26981d173b.png" width="400"></a>
80
-
81
-
82
-
1
+ Metadata-Version: 2.1
2
+ Name: floodmodeller_api
3
+ Version: 0.4.4
4
+ Summary: Extends the functionality of Flood Modeller to python users
5
+ Author: Jacobs
6
+ Author-email: joe.pierce@jacobs.com
7
+ License: GNU General Public License V3. Copyright (C) 2024 Jacobs U.K. Limited.
8
+ Project-URL: API Documentation, https://api.floodmodeller.com/api/
9
+ Project-URL: Flood Modeller Homepage, https://www.floodmodeller.com/
10
+ Project-URL: Contact & Support, https://www.floodmodeller.com/contact
11
+ Description-Content-Type: text/markdown
12
+ License-File: LICENSE.txt
13
+ Requires-Dist: pandas<3,>1
14
+ Requires-Dist: lxml==5.*
15
+ Requires-Dist: tqdm==4.*
16
+ Requires-Dist: pytest<8,>4
17
+ Requires-Dist: pytest-mock==3.*
18
+ Requires-Dist: shapely==2.*
19
+ Requires-Dist: scipy==1.*
20
+ Requires-Dist: freezegun==1.*
21
+
22
+ ![FM Logo](https://raw.githubusercontent.com/People-Places-Solutions/floodmodeller-api/main/docs/source/_static/flood-modeller-logo-hero-image.png)
23
+
24
+
25
+ [![PyPI Latest Release](https://img.shields.io/pypi/v/floodmodeller-api.svg)](https://pypi.org/project/floodmodeller-api/)
26
+ [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://github.com/People-Places-Solutions/floodmodeller-api/blob/main/LICENSE.txt)
27
+ ![Unit Tests](https://github.com/People-Places-Solutions/floodmodeller-api/actions/workflows/run_tests.yml/badge.svg)
28
+ ![Lint](https://github.com/People-Places-Solutions/floodmodeller-api/actions/workflows/run_linters.yml/badge.svg)
29
+ [![Downloads](https://static.pepy.tech/personalized-badge/floodmodeller-api?period=month&units=international_system&left_color=black&right_color=orange&left_text=PyPI%20downloads%20per%20month)](https://pepy.tech/project/floodmodeller-api)
30
+ [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
31
+
32
+
33
+
34
+ # Flood Modeller Python API
35
+ [![Try in GitHub Codespaces!](https://github.com/codespaces/badge.svg)](https://github.com/codespaces/new?hide_repo_select=true&repo=473959586&quickstart=1)
36
+
37
+ This python package is designed to be used in conjunction with your installation of Flood Modeller to provide users with a set of tools to extend the capabilities of Flood Modeller and build into automated workflows.
38
+
39
+ ![API Overview](https://raw.githubusercontent.com/People-Places-Solutions/floodmodeller-api/main/docs/source/getting_started/api_overview_small.png)
40
+
41
+ ## Installation
42
+ You can install the floodmodeller_api package from PyPI with the following command:
43
+
44
+ ```
45
+ pip install floodmodeller-api
46
+ ```
47
+
48
+ Python 3.9 or greater is required.
49
+
50
+ Once you have installed floodmodeller_api to your python environment, you can import the package with:
51
+
52
+ ```python
53
+ import floodmodeller_api # imports the full package
54
+ from floodmodeller_api import DAT, ZZN, IEF, IED # imports individual classes (recommended)
55
+ ```
56
+ ## How to use
57
+
58
+ The best place to start is to go directly to the [Flood Modeller Python API Documentation](https://api.floodmodeller.com/api/)
59
+
60
+ The Flood Modeller Python API is designed for users already familiar with both Flood Modeller and Python. The API is built up using distinct python classes for each of the key Flood Modeller file formats as well as key themes. The purpose of the API is not to provide ready-to-use tools for specific tasks, as there is an extensive set of tools already provided within Flood Modeller, many of which can be called from both within and outside of the Flood Modeller software. **Instead, this API provides the building blocks for users to build their own custom workflows and tools which can integrate seamlessly with Flood Modeller.**
61
+
62
+ ## [Show and Tell](https://github.com/People-Places-Solutions/floodmodeller-api/discussions)
63
+ In the spirit of open source, we encourage you to share any interesting scripts or tools you have developed using the Flood Modeller Python API.
64
+ To do this, please get involved [in the discussions section here](https://github.com/People-Places-Solutions/floodmodeller-api/discussions). This
65
+ is also a great place to explore different ways that people have used the API.
66
+
67
+ --------------------
68
+
69
+ ### Youtube mini tutorials
70
+ These videos give you a quick overview of some of the basics of using the Flood Modeller API
71
+
72
+ **Running a simulation**
73
+
74
+ <a href="https://www.youtube.com/watch?v=WfCNkC44shI?vq=1080p" target="_blank"><img src="https://github-production-user-asset-6210df.s3.amazonaws.com/56606086/253010465-8a714e5b-9364-4073-9af5-679dab0a8249.png" width="400"></a>
75
+
76
+ **Using the codespace**
77
+
78
+ <a href="https://www.youtube.com/watch?v=BWV3A7R0fbM?vq=1080p" target="_blank"><img src="https://github-production-user-asset-6210df.s3.amazonaws.com/56606086/257823093-545e0b61-4252-4ed3-8870-405fa869461d.png" width="400"></a>
79
+
80
+ **Extract ReFH2 csv data into IEDs and QTBDYs**
81
+
82
+ <a href="https://www.youtube.com/watch?v=E9JMQ2DKr0c?vq=1080p" target="_blank"><img src="https://github-production-user-asset-6210df.s3.amazonaws.com/56606086/257824500-39c991cd-8bad-4e08-bd39-0f26981d173b.png" width="400"></a>
83
+
84
+
85
+
@@ -1,64 +1,64 @@
1
- ![FM Logo](https://raw.githubusercontent.com/People-Places-Solutions/floodmodeller-api/main/docs/source/_static/flood-modeller-logo-hero-image.png)
2
-
3
-
4
- [![PyPI Latest Release](https://img.shields.io/pypi/v/floodmodeller-api.svg)](https://pypi.org/project/floodmodeller-api/)
5
- [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://github.com/People-Places-Solutions/floodmodeller-api/blob/main/LICENSE.txt)
6
- ![Unit Tests](https://github.com/People-Places-Solutions/floodmodeller-api/actions/workflows/run_tests.yml/badge.svg)
7
- ![Lint](https://github.com/People-Places-Solutions/floodmodeller-api/actions/workflows/run_linters.yml/badge.svg)
8
- [![Downloads](https://static.pepy.tech/personalized-badge/floodmodeller-api?period=month&units=international_system&left_color=black&right_color=orange&left_text=PyPI%20downloads%20per%20month)](https://pepy.tech/project/floodmodeller-api)
9
- [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
10
-
11
-
12
-
13
- # Flood Modeller Python API
14
- [![Try in GitHub Codespaces!](https://github.com/codespaces/badge.svg)](https://github.com/codespaces/new?hide_repo_select=true&ref=39-try-api-link&repo=473959586&machine=basicLinux32gb&devcontainer_path=.devcontainer%2Fdevcontainer.json&location=WestEurope)
15
-
16
- This python package is designed to be used in conjunction with your installation of Flood Modeller to provide users with a set of tools to extend the capabilities of Flood Modeller and build into automated workflows.
17
-
18
- ![API Overview](https://raw.githubusercontent.com/People-Places-Solutions/floodmodeller-api/main/docs/source/getting_started/api_overview_small.png)
19
-
20
- ## Installation
21
- You can install the floodmodeller_api package from PyPI with the following command:
22
-
23
- ```
24
- pip install floodmodeller-api
25
- ```
26
-
27
- Python 3.9 or greater is required.
28
-
29
- Once you have installed floodmodeller_api to your python environment, you can import the package with:
30
-
31
- ```python
32
- import floodmodeller_api # imports the full package
33
- from floodmodeller_api import DAT, ZZN, IEF, IED # imports individual classes (recommended)
34
- ```
35
- ## How to use
36
-
37
- The best place to start is to go directly to the [Flood Modeller Python API Documentation](https://api.floodmodeller.com/api/)
38
-
39
- The Flood Modeller Python API is designed for users already familiar with both Flood Modeller and Python. The API is built up using distinct python classes for each of the key Flood Modeller file formats as well as key themes. The purpose of the API is not to provide ready-to-use tools for specific tasks, as there is an extensive set of tools already provided within Flood Modeller, many of which can be called from both within and outside of the Flood Modeller software. **Instead, this API provides the building blocks for users to build their own custom workflows and tools which can integrate seamlessly with Flood Modeller.**
40
-
41
- ## [Show and Tell](https://github.com/People-Places-Solutions/floodmodeller-api/discussions)
42
- In the spirit of open source, we encourage you to share any interesting scripts or tools you have developed using the Flood Modeller Python API.
43
- To do this, please get involved [in the discussions section here](https://github.com/People-Places-Solutions/floodmodeller-api/discussions). This
44
- is also a great place to explore different ways that people have used the API.
45
-
46
- --------------------
47
-
48
- ### Youtube mini tutorials
49
- These videos give you a quick overview of some of the basics of using the Flood Modeller API
50
-
51
- **Running a simulation**
52
-
53
- <a href="https://www.youtube.com/watch?v=WfCNkC44shI?vq=1080p" target="_blank"><img src="https://github-production-user-asset-6210df.s3.amazonaws.com/56606086/253010465-8a714e5b-9364-4073-9af5-679dab0a8249.png" width="400"></a>
54
-
55
- **Using the codespace**
56
-
57
- <a href="https://www.youtube.com/watch?v=BWV3A7R0fbM?vq=1080p" target="_blank"><img src="https://github-production-user-asset-6210df.s3.amazonaws.com/56606086/257823093-545e0b61-4252-4ed3-8870-405fa869461d.png" width="400"></a>
58
-
59
- **Extract ReFH2 csv data into IEDs and QTBDYs**
60
-
61
- <a href="https://www.youtube.com/watch?v=E9JMQ2DKr0c?vq=1080p" target="_blank"><img src="https://github-production-user-asset-6210df.s3.amazonaws.com/56606086/257824500-39c991cd-8bad-4e08-bd39-0f26981d173b.png" width="400"></a>
62
-
63
-
64
-
1
+ ![FM Logo](https://raw.githubusercontent.com/People-Places-Solutions/floodmodeller-api/main/docs/source/_static/flood-modeller-logo-hero-image.png)
2
+
3
+
4
+ [![PyPI Latest Release](https://img.shields.io/pypi/v/floodmodeller-api.svg)](https://pypi.org/project/floodmodeller-api/)
5
+ [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://github.com/People-Places-Solutions/floodmodeller-api/blob/main/LICENSE.txt)
6
+ ![Unit Tests](https://github.com/People-Places-Solutions/floodmodeller-api/actions/workflows/run_tests.yml/badge.svg)
7
+ ![Lint](https://github.com/People-Places-Solutions/floodmodeller-api/actions/workflows/run_linters.yml/badge.svg)
8
+ [![Downloads](https://static.pepy.tech/personalized-badge/floodmodeller-api?period=month&units=international_system&left_color=black&right_color=orange&left_text=PyPI%20downloads%20per%20month)](https://pepy.tech/project/floodmodeller-api)
9
+ [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
10
+
11
+
12
+
13
+ # Flood Modeller Python API
14
+ [![Try in GitHub Codespaces!](https://github.com/codespaces/badge.svg)](https://github.com/codespaces/new?hide_repo_select=true&repo=473959586&quickstart=1)
15
+
16
+ This python package is designed to be used in conjunction with your installation of Flood Modeller to provide users with a set of tools to extend the capabilities of Flood Modeller and build into automated workflows.
17
+
18
+ ![API Overview](https://raw.githubusercontent.com/People-Places-Solutions/floodmodeller-api/main/docs/source/getting_started/api_overview_small.png)
19
+
20
+ ## Installation
21
+ You can install the floodmodeller_api package from PyPI with the following command:
22
+
23
+ ```
24
+ pip install floodmodeller-api
25
+ ```
26
+
27
+ Python 3.9 or greater is required.
28
+
29
+ Once you have installed floodmodeller_api to your python environment, you can import the package with:
30
+
31
+ ```python
32
+ import floodmodeller_api # imports the full package
33
+ from floodmodeller_api import DAT, ZZN, IEF, IED # imports individual classes (recommended)
34
+ ```
35
+ ## How to use
36
+
37
+ The best place to start is to go directly to the [Flood Modeller Python API Documentation](https://api.floodmodeller.com/api/)
38
+
39
+ The Flood Modeller Python API is designed for users already familiar with both Flood Modeller and Python. The API is built up using distinct python classes for each of the key Flood Modeller file formats as well as key themes. The purpose of the API is not to provide ready-to-use tools for specific tasks, as there is an extensive set of tools already provided within Flood Modeller, many of which can be called from both within and outside of the Flood Modeller software. **Instead, this API provides the building blocks for users to build their own custom workflows and tools which can integrate seamlessly with Flood Modeller.**
40
+
41
+ ## [Show and Tell](https://github.com/People-Places-Solutions/floodmodeller-api/discussions)
42
+ In the spirit of open source, we encourage you to share any interesting scripts or tools you have developed using the Flood Modeller Python API.
43
+ To do this, please get involved [in the discussions section here](https://github.com/People-Places-Solutions/floodmodeller-api/discussions). This
44
+ is also a great place to explore different ways that people have used the API.
45
+
46
+ --------------------
47
+
48
+ ### Youtube mini tutorials
49
+ These videos give you a quick overview of some of the basics of using the Flood Modeller API
50
+
51
+ **Running a simulation**
52
+
53
+ <a href="https://www.youtube.com/watch?v=WfCNkC44shI?vq=1080p" target="_blank"><img src="https://github-production-user-asset-6210df.s3.amazonaws.com/56606086/253010465-8a714e5b-9364-4073-9af5-679dab0a8249.png" width="400"></a>
54
+
55
+ **Using the codespace**
56
+
57
+ <a href="https://www.youtube.com/watch?v=BWV3A7R0fbM?vq=1080p" target="_blank"><img src="https://github-production-user-asset-6210df.s3.amazonaws.com/56606086/257823093-545e0b61-4252-4ed3-8870-405fa869461d.png" width="400"></a>
58
+
59
+ **Extract ReFH2 csv data into IEDs and QTBDYs**
60
+
61
+ <a href="https://www.youtube.com/watch?v=E9JMQ2DKr0c?vq=1080p" target="_blank"><img src="https://github-production-user-asset-6210df.s3.amazonaws.com/56606086/257824500-39c991cd-8bad-4e08-bd39-0f26981d173b.png" width="400"></a>
62
+
63
+
64
+
@@ -1,9 +1,8 @@
1
- from .dat import DAT
2
- from .ied import IED
3
- from .ief import IEF
4
- from .inp import INP
5
- from .logs import LF1, LF2
6
- from .util import open_docs
7
- from .version import __version__
8
- from .xml2d import XML2D
9
- from .zzn import ZZN
1
+ from .dat import DAT
2
+ from .ied import IED
3
+ from .ief import IEF
4
+ from .inp import INP
5
+ from .logs import LF1, LF2
6
+ from .version import __version__
7
+ from .xml2d import XML2D
8
+ from .zzn import ZZN