ModelFlowIb 2.60__tar.gz → 2.61__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 (51) hide show
  1. {modelflowib-2.60 → modelflowib-2.61}/ModelFlowIb.egg-info/PKG-INFO +1 -1
  2. {modelflowib-2.60 → modelflowib-2.61}/PKG-INFO +1 -1
  3. {modelflowib-2.60 → modelflowib-2.61}/modeldashsidebar.py +3 -3
  4. {modelflowib-2.60 → modelflowib-2.61}/modelreport.py +3 -2
  5. {modelflowib-2.60 → modelflowib-2.61}/pyproject.toml +1 -1
  6. {modelflowib-2.60 → modelflowib-2.61}/ModelFlowIb.egg-info/SOURCES.txt +0 -0
  7. {modelflowib-2.60 → modelflowib-2.61}/ModelFlowIb.egg-info/dependency_links.txt +0 -0
  8. {modelflowib-2.60 → modelflowib-2.61}/ModelFlowIb.egg-info/requires.txt +0 -0
  9. {modelflowib-2.60 → modelflowib-2.61}/ModelFlowIb.egg-info/top_level.txt +0 -0
  10. {modelflowib-2.60 → modelflowib-2.61}/modelBLfunk.py +0 -0
  11. {modelflowib-2.60 → modelflowib-2.61}/model_Excel.py +0 -0
  12. {modelflowib-2.60 → modelflowib-2.61}/model_cvx.py +0 -0
  13. {modelflowib-2.60 → modelflowib-2.61}/model_doable.py +0 -0
  14. {modelflowib-2.60 → modelflowib-2.61}/model_dynare.py +0 -0
  15. {modelflowib-2.60 → modelflowib-2.61}/model_financial_stability.py +0 -0
  16. {modelflowib-2.60 → modelflowib-2.61}/model_ifrs9.py +0 -0
  17. {modelflowib-2.60 → modelflowib-2.61}/model_latex.py +0 -0
  18. {modelflowib-2.60 → modelflowib-2.61}/model_latex_class.py +0 -0
  19. {modelflowib-2.60 → modelflowib-2.61}/model_run_numba.py +0 -0
  20. {modelflowib-2.60 → modelflowib-2.61}/modelclass.py +0 -0
  21. {modelflowib-2.60 → modelflowib-2.61}/modelclass2.py +0 -0
  22. {modelflowib-2.60 → modelflowib-2.61}/modeldash.py +0 -0
  23. {modelflowib-2.60 → modelflowib-2.61}/modeldashboot.py +0 -0
  24. {modelflowib-2.60 → modelflowib-2.61}/modeldekom.py +0 -0
  25. {modelflowib-2.60 → modelflowib-2.61}/modeldiff.py +0 -0
  26. {modelflowib-2.60 → modelflowib-2.61}/modeldisplay.py +0 -0
  27. {modelflowib-2.60 → modelflowib-2.61}/modelfeedback.py +0 -0
  28. {modelflowib-2.60 → modelflowib-2.61}/modelgrab.py +0 -0
  29. {modelflowib-2.60 → modelflowib-2.61}/modelgrabwf2.py +0 -0
  30. {modelflowib-2.60 → modelflowib-2.61}/modelhelp.py +0 -0
  31. {modelflowib-2.60 → modelflowib-2.61}/modelinvert.py +0 -0
  32. {modelflowib-2.60 → modelflowib-2.61}/modeljupyter.py +0 -0
  33. {modelflowib-2.60 → modelflowib-2.61}/modeljupytermagic.py +0 -0
  34. {modelflowib-2.60 → modelflowib-2.61}/modelmacrograb.py +0 -0
  35. {modelflowib-2.60 → modelflowib-2.61}/modelmanipulation.py +0 -0
  36. {modelflowib-2.60 → modelflowib-2.61}/modelmf.py +0 -0
  37. {modelflowib-2.60 → modelflowib-2.61}/modelnet.py +0 -0
  38. {modelflowib-2.60 → modelflowib-2.61}/modelnewton.py +0 -0
  39. {modelflowib-2.60 → modelflowib-2.61}/modelnormalize.py +0 -0
  40. {modelflowib-2.60 → modelflowib-2.61}/modelpattern.py +0 -0
  41. {modelflowib-2.60 → modelflowib-2.61}/modelpatternrev.py +0 -0
  42. {modelflowib-2.60 → modelflowib-2.61}/modelsandbox.py +0 -0
  43. {modelflowib-2.60 → modelflowib-2.61}/modelsandbox_Mixin.py +0 -0
  44. {modelflowib-2.60 → modelflowib-2.61}/modeltodo.py +0 -0
  45. {modelflowib-2.60 → modelflowib-2.61}/modeluserfunk.py +0 -0
  46. {modelflowib-2.60 → modelflowib-2.61}/modeluserfunk_old.py +0 -0
  47. {modelflowib-2.60 → modelflowib-2.61}/modelvis.py +0 -0
  48. {modelflowib-2.60 → modelflowib-2.61}/modelwidget.py +0 -0
  49. {modelflowib-2.60 → modelflowib-2.61}/modelwidget_input.py +0 -0
  50. {modelflowib-2.60 → modelflowib-2.61}/modelwidget_shinypy.py +0 -0
  51. {modelflowib-2.60 → modelflowib-2.61}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ModelFlowIb
3
- Version: 2.60
3
+ Version: 2.61
4
4
  Summary: A tool to solve and manage dynamic economic models
5
5
  Author-email: Ib Hansen <your@email.com>
6
6
  License: MIT
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ModelFlowIb
3
- Version: 2.60
3
+ Version: 2.61
4
4
  Summary: A tool to solve and manage dynamic economic models
5
5
  Author-email: Ib Hansen <your@email.com>
6
6
  License: MIT
@@ -123,14 +123,14 @@ def app_run(app,jupyter=False,debug=False,port=5000,inline=False):
123
123
  # print(f'{jupyter=} {inline=}')
124
124
  if jupyter:
125
125
  if inline:
126
- xx = app.run_server(debug=debug,port=port,mode='inline')
126
+ xx = app.run(debug=debug,port=port,mode='inline')
127
127
  else:
128
128
  if first_call or 1:
129
129
  Timer(1, open_browser).start()
130
130
  first_call = False
131
131
  # print('ko')
132
132
 
133
- xx =app.run_server(debug=debug,port=port,jupyter_mode='external')
133
+ xx =app.run(debug=debug,port=port,jupyter_mode='external')
134
134
  # print('gris')
135
135
 
136
136
  # print(f'{xx=}')
@@ -138,7 +138,7 @@ def app_run(app,jupyter=False,debug=False,port=5000,inline=False):
138
138
  else:
139
139
  Timer(1, open_browser).start()
140
140
 
141
- xx = app.run_server(debug=debug,port=port,mode="external")
141
+ xx = app.run(debug=debug,port=port,mode="external")
142
142
 
143
143
 
144
144
 
@@ -556,8 +556,9 @@ class DisplayDef:
556
556
  try:
557
557
  repo = LatexRepo(self.latex ,name=self.name)
558
558
  return repo.pdf(pdfopen,show,width,height,typesetter)
559
- except:
560
- return None
559
+ except Exception as e:
560
+ print(f"⚠️ Warning: PDF generation failed: {e}")
561
+ return None
561
562
 
562
563
  def __add__(self, other):
563
564
  """
@@ -7,7 +7,7 @@ where = ["."]
7
7
 
8
8
  [project]
9
9
  name = "ModelFlowIb"
10
- version = "2.60"
10
+ version = "2.61"
11
11
  description = "A tool to solve and manage dynamic economic models"
12
12
  authors = [{name = "Ib Hansen", email = "your@email.com"}]
13
13
  license = { text = "MIT" }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes