irie 0.0.16__py3-none-any.whl → 0.0.18__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.

Potentially problematic release.


This version of irie might be problematic. Click here for more details.

Files changed (35) hide show
  1. irie/apps/events/views_events.py +4 -6
  2. irie/apps/inventory/filters.py +37 -5
  3. irie/apps/inventory/models.py +14 -1
  4. irie/apps/inventory/sitemaps.py +19 -0
  5. irie/apps/inventory/views.py +2 -7
  6. irie/apps/prediction/forms.py +4 -1
  7. irie/apps/prediction/predictor.py +5 -274
  8. irie/apps/prediction/runners/__init__.py +17 -15
  9. irie/apps/prediction/runners/hazus.py +271 -182
  10. irie/apps/prediction/runners/opensees/__init__.py +88 -11
  11. irie/apps/prediction/runners/ssid.py +168 -9
  12. irie/apps/prediction/urls.py +3 -4
  13. irie/apps/prediction/views.py +8 -85
  14. irie/apps/sitemaps.py +14 -0
  15. irie/apps/static/assets/content_images/brace/mdof.svg +1 -0
  16. irie/apps/static/assets/content_images/brace/opensees.jpg +0 -0
  17. irie/apps/static/assets/content_images/brace/sdof.svg +327 -0
  18. irie/apps/static/assets/content_images/brace/sees.png +0 -0
  19. irie/apps/templates/accounts/login.html +50 -55
  20. irie/apps/templates/inventory/asset-profile.html +0 -15
  21. irie/apps/templates/inventory/asset-table.html +38 -15
  22. irie/apps/templates/prediction/asset-predictors.html +38 -5
  23. irie/apps/templates/prediction/new-runner.html +1 -1
  24. irie/apps/templates/prediction/predictor-profile.html +11 -0
  25. irie/apps/templates/site/index.html +5 -7
  26. irie/init/__main__.py +8 -5
  27. irie/init/data/cgs-stations.json +2967 -0
  28. irie/init/getCGSData.py +9 -4
  29. irie/init/management/commands/init_assets.py +1 -1
  30. irie/init/management/commands/init_cesmd.py +25 -0
  31. {irie-0.0.16.dist-info → irie-0.0.18.dist-info}/METADATA +1 -1
  32. {irie-0.0.16.dist-info → irie-0.0.18.dist-info}/RECORD +35 -27
  33. {irie-0.0.16.dist-info → irie-0.0.18.dist-info}/WHEEL +0 -0
  34. {irie-0.0.16.dist-info → irie-0.0.18.dist-info}/entry_points.txt +0 -0
  35. {irie-0.0.16.dist-info → irie-0.0.18.dist-info}/top_level.txt +0 -0
@@ -2,7 +2,7 @@
2
2
  <html lang="en">
3
3
  <head>
4
4
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5
- <title> BRACE2 - Home</title>
5
+ <title> BRACE<sup>2</sup></title>
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
7
7
  <meta name="title" content="BRACE2 Platform">
8
8
  <meta name="author" content="Claudio M. Perez">
@@ -172,7 +172,7 @@ td.left-text{vertical-align:middle}
172
172
  <div class="d-flex align-items-center justify-content-center mb-5">
173
173
  <a href="{% url 'dashboard' %}" class="btn btn-primary d-inline-flex align-items-center me-4">
174
174
  <svg class="icon icon-xs me-2" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M3 3a1 1 0 000 2v8a2 2 0 002 2h2.586l-1.293 1.293a1 1 0 101.414 1.414L10 15.414l2.293 2.293a1 1 0 001.414-1.414L12.414 15H15a2 2 0 002-2V5a1 1 0 100-2H3zm11 4a1 1 0 10-2 0v4a1 1 0 102 0V7zm-3 1a1 1 0 10-2 0v3a1 1 0 102 0V8zM8 9a1 1 0 00-2 0v2a1 1 0 102 0V9z" clip-rule="evenodd"></path></svg>
175
- Platform
175
+ Inventory
176
176
  </a>
177
177
  </div>
178
178
  <div class="d-flex justify-content-center flex-column mb-6 mb-lg-5">
@@ -315,15 +315,13 @@ td.left-text{vertical-align:middle}
315
315
  <div class="col mb-md-0">
316
316
  <div class="d-flex text-center justify-content-center align-items-center" role="contentinfo">
317
317
  <p class="fw-normal font-small mb-0">
318
- &copy; BRACE<sup class="superscript">2</sup> 2024 - A Project by <a target="_blank"
319
- href="https://peer.berkeley.edu">PEER</a>.</p>
318
+ &copy; BRACE<sup class="superscript">2</sup> 2024 - Powered by <a target="_blank"
319
+ href="https://pypi.org/project/irie">IRiE</a>.</p>
320
320
  </div>
321
321
  </div>
322
322
  </div>
323
323
  </div>
324
324
  </footer>
325
-
326
- {% include 'includes/scripts.html' %}
327
-
325
+ {% include 'includes/scripts.html' %}
328
326
  </body>
329
327
  </html>
irie/init/__main__.py CHANGED
@@ -16,15 +16,18 @@ def init(settings):
16
16
  "migrate"
17
17
  ])
18
18
 
19
- call_command("makemigrations")
19
+ # call_command("makemigrations")
20
20
 
21
- call_command("migrate")
21
+ # call_command("migrate")
22
22
 
23
- call_command("init_assets")
23
+ # call_command("init_assets")
24
24
 
25
- call_command("init_corridors")
25
+ call_command("init_cesmd")
26
+
27
+ # call_command("init_corridors")
28
+
29
+ # call_command("init_predictors")
26
30
 
27
- call_command("init_predictors")
28
31
 
29
32
 
30
33