irispie-ce 0.70.0__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 (183) hide show
  1. irispie_ce-0.70.0/.gitignore +15 -0
  2. irispie_ce-0.70.0/LICENCE +36 -0
  3. irispie_ce-0.70.0/NOTICE +52 -0
  4. irispie_ce-0.70.0/PKG-INFO +110 -0
  5. irispie_ce-0.70.0/README.md +79 -0
  6. irispie_ce-0.70.0/pyproject.toml +30 -0
  7. irispie_ce-0.70.0/src/irispie/__init__.py +117 -0
  8. irispie_ce-0.70.0/src/irispie/aldi/__init__.py +4 -0
  9. irispie_ce-0.70.0/src/irispie/aldi/adaptations.py +45 -0
  10. irispie_ce-0.70.0/src/irispie/aldi/differentiators.py +446 -0
  11. irispie_ce-0.70.0/src/irispie/aldi/finite_differentiators.py +113 -0
  12. irispie_ce-0.70.0/src/irispie/aldi/invariators.py +153 -0
  13. irispie_ce-0.70.0/src/irispie/aldi/maps.py +199 -0
  14. irispie_ce-0.70.0/src/irispie/attributes.py +35 -0
  15. irispie_ce-0.70.0/src/irispie/chartpacks/main.py +661 -0
  16. irispie_ce-0.70.0/src/irispie/contexts.py +31 -0
  17. irispie_ce-0.70.0/src/irispie/conveniences/__init__.py +4 -0
  18. irispie_ce-0.70.0/src/irispie/conveniences/copies.py +23 -0
  19. irispie_ce-0.70.0/src/irispie/conveniences/descriptions.py +96 -0
  20. irispie_ce-0.70.0/src/irispie/conveniences/flyweights.py +31 -0
  21. irispie_ce-0.70.0/src/irispie/conveniences/iterators.py +27 -0
  22. irispie_ce-0.70.0/src/irispie/conveniences/views.py +68 -0
  23. irispie_ce-0.70.0/src/irispie/databoxes/__init__.py +13 -0
  24. irispie_ce-0.70.0/src/irispie/databoxes/_exports.py +431 -0
  25. irispie_ce-0.70.0/src/irispie/databoxes/_fred.py +152 -0
  26. irispie_ce-0.70.0/src/irispie/databoxes/_imports.py +374 -0
  27. irispie_ce-0.70.0/src/irispie/databoxes/_imports2.py +342 -0
  28. irispie_ce-0.70.0/src/irispie/databoxes/_merge.py +212 -0
  29. irispie_ce-0.70.0/src/irispie/databoxes/_views.py +97 -0
  30. irispie_ce-0.70.0/src/irispie/databoxes/main.py +1612 -0
  31. irispie_ce-0.70.0/src/irispie/dataslates/__init__.py +10 -0
  32. irispie_ce-0.70.0/src/irispie/dataslates/_invariants.py +213 -0
  33. irispie_ce-0.70.0/src/irispie/dataslates/_slatables.py +29 -0
  34. irispie_ce-0.70.0/src/irispie/dataslates/_variants.py +206 -0
  35. irispie_ce-0.70.0/src/irispie/dataslates/main.py +533 -0
  36. irispie_ce-0.70.0/src/irispie/dates.py +2838 -0
  37. irispie_ce-0.70.0/src/irispie/equations.py +407 -0
  38. irispie_ce-0.70.0/src/irispie/equators/__init__.py +0 -0
  39. irispie_ce-0.70.0/src/irispie/equators/plain.py +133 -0
  40. irispie_ce-0.70.0/src/irispie/evaluators/__init__.py +0 -0
  41. irispie_ce-0.70.0/src/irispie/evaluators/base.py +37 -0
  42. irispie_ce-0.70.0/src/irispie/executables/__init__.py +3 -0
  43. irispie_ce-0.70.0/src/irispie/executables/libgcc_s.1.dylib +0 -0
  44. irispie_ce-0.70.0/src/irispie/executables/libgfortran.3.dylib +0 -0
  45. irispie_ce-0.70.0/src/irispie/executables/libquadmath.0.dylib +0 -0
  46. irispie_ce-0.70.0/src/irispie/executables/template.spc +20 -0
  47. irispie_ce-0.70.0/src/irispie/executables/x12awin.exe +0 -0
  48. irispie_ce-0.70.0/src/irispie/executables/x13asmac +0 -0
  49. irispie_ce-0.70.0/src/irispie/executables/x13asunix +0 -0
  50. irispie_ce-0.70.0/src/irispie/executables/x13aswin.exe +0 -0
  51. irispie_ce-0.70.0/src/irispie/explanatories/__init__.py +7 -0
  52. irispie_ce-0.70.0/src/irispie/explanatories/_transforms.py +167 -0
  53. irispie_ce-0.70.0/src/irispie/explanatories/main.py +248 -0
  54. irispie_ce-0.70.0/src/irispie/ez_plotly/__init__.py +12 -0
  55. irispie_ce-0.70.0/src/irispie/ez_plotly/chartboxes.py +254 -0
  56. irispie_ce-0.70.0/src/irispie/ez_plotly/main.py +424 -0
  57. irispie_ce-0.70.0/src/irispie/file_io.py +149 -0
  58. irispie_ce-0.70.0/src/irispie/fords/__init__.py +19 -0
  59. irispie_ce-0.70.0/src/irispie/fords/covariances.py +465 -0
  60. irispie_ce-0.70.0/src/irispie/fords/descriptors.py +772 -0
  61. irispie_ce-0.70.0/src/irispie/fords/initializers.py +151 -0
  62. irispie_ce-0.70.0/src/irispie/fords/kalmans.py +1391 -0
  63. irispie_ce-0.70.0/src/irispie/fords/least_squares.py +139 -0
  64. irispie_ce-0.70.0/src/irispie/fords/shock_simulators.py +87 -0
  65. irispie_ce-0.70.0/src/irispie/fords/simulators.py +666 -0
  66. irispie_ce-0.70.0/src/irispie/fords/solutions.py +621 -0
  67. irispie_ce-0.70.0/src/irispie/fords/std_simulators.py +103 -0
  68. irispie_ce-0.70.0/src/irispie/fords/steadiers.py +111 -0
  69. irispie_ce-0.70.0/src/irispie/fords/systems.py +126 -0
  70. irispie_ce-0.70.0/src/irispie/fords/terminators.py +179 -0
  71. irispie_ce-0.70.0/src/irispie/frames.py +298 -0
  72. irispie_ce-0.70.0/src/irispie/has_invariant.py +26 -0
  73. irispie_ce-0.70.0/src/irispie/has_variants.py +294 -0
  74. irispie_ce-0.70.0/src/irispie/incidences/_dulmage_mendelsohn.py +161 -0
  75. irispie_ce-0.70.0/src/irispie/incidences/blazer.py +416 -0
  76. irispie_ce-0.70.0/src/irispie/incidences/cells.py +33 -0
  77. irispie_ce-0.70.0/src/irispie/incidences/main.py +140 -0
  78. irispie_ce-0.70.0/src/irispie/iter_printers.py +346 -0
  79. irispie_ce-0.70.0/src/irispie/jacobians/__init__.py +0 -0
  80. irispie_ce-0.70.0/src/irispie/jacobians/base.py +156 -0
  81. irispie_ce-0.70.0/src/irispie/keywords.py +55 -0
  82. irispie_ce-0.70.0/src/irispie/makers.py +46 -0
  83. irispie_ce-0.70.0/src/irispie/namings.py +71 -0
  84. irispie_ce-0.70.0/src/irispie/parsers/__init__.py +4 -0
  85. irispie_ce-0.70.0/src/irispie/parsers/_lists.py +79 -0
  86. irispie_ce-0.70.0/src/irispie/parsers/_pseudofunctions.py +153 -0
  87. irispie_ce-0.70.0/src/irispie/parsers/_shifts.py +19 -0
  88. irispie_ce-0.70.0/src/irispie/parsers/_substitutions.py +50 -0
  89. irispie_ce-0.70.0/src/irispie/parsers/common.py +42 -0
  90. irispie_ce-0.70.0/src/irispie/parsers/models.py +266 -0
  91. irispie_ce-0.70.0/src/irispie/parsers/preparser.py +491 -0
  92. irispie_ce-0.70.0/src/irispie/period_by_period/_equators.py +15 -0
  93. irispie_ce-0.70.0/src/irispie/period_by_period/_evaluators.py +115 -0
  94. irispie_ce-0.70.0/src/irispie/period_by_period/_iter_printers.py +65 -0
  95. irispie_ce-0.70.0/src/irispie/period_by_period/_jacobians.py +88 -0
  96. irispie_ce-0.70.0/src/irispie/period_by_period/simulators.py +244 -0
  97. irispie_ce-0.70.0/src/irispie/plans/__init__.py +16 -0
  98. irispie_ce-0.70.0/src/irispie/plans/_indexes.py +52 -0
  99. irispie_ce-0.70.0/src/irispie/plans/_pretty.py +92 -0
  100. irispie_ce-0.70.0/src/irispie/plans/_registers.py +77 -0
  101. irispie_ce-0.70.0/src/irispie/plans/simulation_plans.py +941 -0
  102. irispie_ce-0.70.0/src/irispie/plans/steady_plans.py +259 -0
  103. irispie_ce-0.70.0/src/irispie/plans/transforms.py +257 -0
  104. irispie_ce-0.70.0/src/irispie/portables.py +22 -0
  105. irispie_ce-0.70.0/src/irispie/progress_bars.py +120 -0
  106. irispie_ce-0.70.0/src/irispie/pyrightconfig.json +4 -0
  107. irispie_ce-0.70.0/src/irispie/quantities.py +555 -0
  108. irispie_ce-0.70.0/src/irispie/red_vars/__init__.py +17 -0
  109. irispie_ce-0.70.0/src/irispie/red_vars/_dimensions.py +42 -0
  110. irispie_ce-0.70.0/src/irispie/red_vars/_estimators.py +237 -0
  111. irispie_ce-0.70.0/src/irispie/red_vars/_invariants.py +143 -0
  112. irispie_ce-0.70.0/src/irispie/red_vars/_simulators.py +221 -0
  113. irispie_ce-0.70.0/src/irispie/red_vars/_slatable_protocols.py +108 -0
  114. irispie_ce-0.70.0/src/irispie/red_vars/_variants.py +313 -0
  115. irispie_ce-0.70.0/src/irispie/red_vars/main.py +269 -0
  116. irispie_ce-0.70.0/src/irispie/red_vars/prior_obs.py +302 -0
  117. irispie_ce-0.70.0/src/irispie/sequentials/__init__.py +8 -0
  118. irispie_ce-0.70.0/src/irispie/sequentials/_assigns.py +187 -0
  119. irispie_ce-0.70.0/src/irispie/sequentials/_get.py +31 -0
  120. irispie_ce-0.70.0/src/irispie/sequentials/_invariants.py +178 -0
  121. irispie_ce-0.70.0/src/irispie/sequentials/_plannable_protocols.py +46 -0
  122. irispie_ce-0.70.0/src/irispie/sequentials/_simulate.py +411 -0
  123. irispie_ce-0.70.0/src/irispie/sequentials/_slatable_protocols.py +75 -0
  124. irispie_ce-0.70.0/src/irispie/sequentials/_variants.py +49 -0
  125. irispie_ce-0.70.0/src/irispie/sequentials/main.py +597 -0
  126. irispie_ce-0.70.0/src/irispie/series/__init__.py +14 -0
  127. irispie_ce-0.70.0/src/irispie/series/_categories.py +20 -0
  128. irispie_ce-0.70.0/src/irispie/series/_conversions.py +485 -0
  129. irispie_ce-0.70.0/src/irispie/series/_elementwise.py +82 -0
  130. irispie_ce-0.70.0/src/irispie/series/_ell_one.py +128 -0
  131. irispie_ce-0.70.0/src/irispie/series/_extrapolate.py +184 -0
  132. irispie_ce-0.70.0/src/irispie/series/_filling.py +294 -0
  133. irispie_ce-0.70.0/src/irispie/series/_functionalize.py +16 -0
  134. irispie_ce-0.70.0/src/irispie/series/_hp.py +470 -0
  135. irispie_ce-0.70.0/src/irispie/series/_indexing.py +142 -0
  136. irispie_ce-0.70.0/src/irispie/series/_moving.py +224 -0
  137. irispie_ce-0.70.0/src/irispie/series/_plotly.py +340 -0
  138. irispie_ce-0.70.0/src/irispie/series/_statistics.py +84 -0
  139. irispie_ce-0.70.0/src/irispie/series/_temporal.py +668 -0
  140. irispie_ce-0.70.0/src/irispie/series/_views.py +63 -0
  141. irispie_ce-0.70.0/src/irispie/series/_x13.py +660 -0
  142. irispie_ce-0.70.0/src/irispie/series/arip.py +370 -0
  143. irispie_ce-0.70.0/src/irispie/series/functions.py +55 -0
  144. irispie_ce-0.70.0/src/irispie/series/main.py +1462 -0
  145. irispie_ce-0.70.0/src/irispie/series/plotly_styles/plain_layout.json +35 -0
  146. irispie_ce-0.70.0/src/irispie/simultaneous/__init__.py +10 -0
  147. irispie_ce-0.70.0/src/irispie/simultaneous/_assigns.py +132 -0
  148. irispie_ce-0.70.0/src/irispie/simultaneous/_covariances.py +302 -0
  149. irispie_ce-0.70.0/src/irispie/simultaneous/_flags.py +77 -0
  150. irispie_ce-0.70.0/src/irispie/simultaneous/_get.py +536 -0
  151. irispie_ce-0.70.0/src/irispie/simultaneous/_invariants.py +624 -0
  152. irispie_ce-0.70.0/src/irispie/simultaneous/_io.py +154 -0
  153. irispie_ce-0.70.0/src/irispie/simultaneous/_kalmans.py +97 -0
  154. irispie_ce-0.70.0/src/irispie/simultaneous/_logly.py +53 -0
  155. irispie_ce-0.70.0/src/irispie/simultaneous/_plannable_protocols.py +115 -0
  156. irispie_ce-0.70.0/src/irispie/simultaneous/_pretty.py +268 -0
  157. irispie_ce-0.70.0/src/irispie/simultaneous/_processors.py +64 -0
  158. irispie_ce-0.70.0/src/irispie/simultaneous/_simulate.py +249 -0
  159. irispie_ce-0.70.0/src/irispie/simultaneous/_slatable_protocols.py +188 -0
  160. irispie_ce-0.70.0/src/irispie/simultaneous/_steady.py +630 -0
  161. irispie_ce-0.70.0/src/irispie/simultaneous/_steady_boxable_protocols.py +94 -0
  162. irispie_ce-0.70.0/src/irispie/simultaneous/_tolerance.py +63 -0
  163. irispie_ce-0.70.0/src/irispie/simultaneous/_variants.py +259 -0
  164. irispie_ce-0.70.0/src/irispie/simultaneous/main.py +773 -0
  165. irispie_ce-0.70.0/src/irispie/sources.py +381 -0
  166. irispie_ce-0.70.0/src/irispie/stacked_time/_equators.py +15 -0
  167. irispie_ce-0.70.0/src/irispie/stacked_time/_evaluators.py +169 -0
  168. irispie_ce-0.70.0/src/irispie/stacked_time/_iter_printers.py +64 -0
  169. irispie_ce-0.70.0/src/irispie/stacked_time/_jacobians.py +139 -0
  170. irispie_ce-0.70.0/src/irispie/stacked_time/simulators.py +338 -0
  171. irispie_ce-0.70.0/src/irispie/stackers/__init__.py +7 -0
  172. irispie_ce-0.70.0/src/irispie/stackers/_invariants.py +167 -0
  173. irispie_ce-0.70.0/src/irispie/stackers/_slatable_protocols.py +89 -0
  174. irispie_ce-0.70.0/src/irispie/stackers/_variants.py +154 -0
  175. irispie_ce-0.70.0/src/irispie/stackers/main.py +325 -0
  176. irispie_ce-0.70.0/src/irispie/steadiers/_equators.py +99 -0
  177. irispie_ce-0.70.0/src/irispie/steadiers/_iter_printers.py +110 -0
  178. irispie_ce-0.70.0/src/irispie/steadiers/_jacobian.py +158 -0
  179. irispie_ce-0.70.0/src/irispie/steadiers/evaluators.py +391 -0
  180. irispie_ce-0.70.0/src/irispie/steadiers/solver_dispatcher.py +146 -0
  181. irispie_ce-0.70.0/src/irispie/struct_vars/__init__.py +13 -0
  182. irispie_ce-0.70.0/src/irispie/struct_vars/main.py +40 -0
  183. irispie_ce-0.70.0/src/irispie/wrongdoings.py +260 -0
@@ -0,0 +1,15 @@
1
+ __pycache__
2
+ .pytype
3
+
4
+ .DS_Store
5
+ .idea/
6
+ env_irispie/dist/
7
+ dist/
8
+
9
+ .ipynb*
10
+ *.zip
11
+ .obsidian
12
+ sandbox
13
+ session
14
+ issues/
15
+ *.log
@@ -0,0 +1,36 @@
1
+
2
+ ================================================================================
3
+ == OGResearch Community License 1.0 ==
4
+ ================================================================================
5
+
6
+ SPDX-License-Identifier: OGResearch-Community-1.0
7
+
8
+ Copyright (c) 2025 OGResearch s.r.o.
9
+
10
+ Permission is hereby granted, free of charge, to any natural person acting in a
11
+ personal capacity (not on behalf of a company, institution, organization, or
12
+ government) to use and modify this software for personal, educational, or other
13
+ non-commercial purposes, subject to the following conditions:
14
+
15
+ 1. Redistribution prohibited. You may not publish, redistribute, sublicense, or
16
+ otherwise make the software available, in source or binary form, to any
17
+ third party.
18
+ 2. This license does not grant trademark rights, brand rights, or rights to
19
+ sublicense the software.
20
+ 3. Commercial, institutional, or organizational use is not permitted under this
21
+ license. Such use requires a separate Registered License agreement with the
22
+ copyright holders.
23
+
24
+ This software is provided "as is", without warranty of any kind, express or
25
+ implied, including but not limited to the warranties of merchantability,
26
+ fitness for a particular purpose, and noninfringement. In no event shall the
27
+ authors or copyright holders be liable for any claim, damages, or other
28
+ liability, whether in an action of contract, tort, or otherwise, arising from,
29
+ out of, or in connection with the software or the use or other dealings in the
30
+ software.
31
+
32
+ This license is not an OSI-approved open source license. It is a source-available
33
+ license intended for community (non-commercial) use only.
34
+
35
+ ================================================================================
36
+
@@ -0,0 +1,52 @@
1
+
2
+ ================================================================================
3
+ == NOTICE ==
4
+ ================================================================================
5
+
6
+ Project: IrisPie (Python package for macroeconomic modeling)
7
+ Copyright (c) 2025 OGResearch s.r.o.
8
+
9
+ --------------------------------------------------------------------------------
10
+ Licensing
11
+ --------------------------------------------------------------------------------
12
+
13
+ This project is distributed under three coordinated source-available licenses:
14
+
15
+ 1. OGResearch Community License 1.0
16
+ - For personal, educational, and other non-commercial use by individuals.
17
+ - No redistribution permitted.
18
+
19
+ 2. OGResearch Registered License 1.0
20
+ - For companies, institutions, and government agencies that have completed
21
+ registration with OGResearch.
22
+ - Permits internal organizational use and redistribution.
23
+ - External redistribution prohibited.
24
+
25
+ 3. OGResearch Private License 1.0
26
+ - For internal use within OGResearch by its employees and contractors only.
27
+ - No redistribution permitted.
28
+
29
+ Full license texts are provided in the LICENSES/ directory.
30
+
31
+ --------------------------------------------------------------------------------
32
+ Disclaimer
33
+ --------------------------------------------------------------------------------
34
+
35
+ This software is provided "as is", without warranty of any kind, express or
36
+ implied, including but not limited to the warranties of merchantability,
37
+ fitness for a particular purpose, and noninfringement. In no event shall the
38
+ authors or copyright holders be liable for any claim, damages, or other
39
+ liability, whether in an action of contract, tort, or otherwise, arising from,
40
+ out of, or in connection with the software or the use or other dealings in the
41
+ software.
42
+
43
+ --------------------------------------------------------------------------------
44
+ Attribution
45
+ --------------------------------------------------------------------------------
46
+
47
+ Developed and maintained by the Iris Solutions Team.
48
+
49
+ For registration and commercial inquiries: `info@ogresearch.com`
50
+
51
+ ================================================================================
52
+
@@ -0,0 +1,110 @@
1
+ Metadata-Version: 2.4
2
+ Name: irispie-ce
3
+ Version: 0.70.0
4
+ Summary: Macroeconomic modeling package
5
+ Project-URL: Homepage, https://github.com/iris-solutions-team/irispie
6
+ Project-URL: Documentation, https://iris-solutions-team.github.io/irispie-pages
7
+ Project-URL: Bug Tracker, https://github.com/iris-solutions-team/irispie/issues
8
+ Author-email: Jaromir Benes <jaromir.benes@gmail.com>
9
+ License: OGResearch Community License 1.0
10
+ License-File: LICENCE
11
+ License-File: NOTICE
12
+ Keywords: dsge,economics,forecasting,macroeconomics,modeling,simulation
13
+ Classifier: License :: Other/Proprietary License
14
+ Classifier: Operating System :: OS Independent
15
+ Classifier: Programming Language :: Python :: 3
16
+ Requires-Python: >=3.11
17
+ Requires-Dist: daqp>=0.6.0
18
+ Requires-Dist: dill>=0.3.8
19
+ Requires-Dist: documark>=0.4.0
20
+ Requires-Dist: jinja2>=3.1.4
21
+ Requires-Dist: neqs>=0.9.0
22
+ Requires-Dist: numpy>=2.1
23
+ Requires-Dist: pandas>=2.1.2
24
+ Requires-Dist: parsimonious>=0.10
25
+ Requires-Dist: plotly>=6.3
26
+ Requires-Dist: prettytable>=3.10
27
+ Requires-Dist: python-dateutil>=2.9.0
28
+ Requires-Dist: requests>=2.31.0
29
+ Requires-Dist: scipy>=1.14.1
30
+ Description-Content-Type: text/markdown
31
+
32
+ # IrisPie
33
+
34
+ Macroeconomic modeling package for Python
35
+
36
+
37
+ ## Project URLs
38
+
39
+ Homepage: [`https://github.com/iris-solutions-team/irispie`](https://github.com/iris-solutions-team/irispie)
40
+
41
+ Documentation: [`https://iris-solutions-team.github.io/irispie-pages`](https://iris-solutions-team.github.io/irispie-pages)
42
+
43
+ Bug Tracker: [`https://github.com/iris-solutions-team/irispie/issues`](https://github.com/iris-solutions-team/irispie/issues)
44
+
45
+
46
+ ## License overview
47
+
48
+ This project is distributed under three coordinated source-available licenses:
49
+
50
+ - OGResearch Community License 1.0
51
+ - OGResearch Registered License 1.0
52
+ - OGResearch Private License 1.0
53
+
54
+ Each edition is intended for a different audience:
55
+
56
+ - Community Edition → natural persons for personal, educational, or
57
+ other non-commercial purposes
58
+ - Registered Edition → organizations (companies, institutions,
59
+ government agencies) that have completed registration
60
+ - Private Edition → internal use within OGResearch only
61
+
62
+ ## Which license applies to me
63
+
64
+ This project is distributed under three coordinated source-available licenses:
65
+ - Community License (CE)
66
+ - Registered License (RE)
67
+ - Private License (PE)
68
+
69
+ Use the guide below to determine which license applies to your situation.
70
+
71
+ ---
72
+
73
+ ### If you are an individual
74
+
75
+ - You may use the software under the Community License (CE).
76
+ - Conditions:
77
+ - For personal, educational, or other non-commercial purposes
78
+ - You may use and modify locally
79
+ - Redistribution is not allowed
80
+ - No registration required.
81
+
82
+ ---
83
+
84
+ ### If you are an organization (company, institution, government agency)
85
+
86
+ - You must use the software under the Registered License (RE).
87
+ - Conditions:
88
+ - Registration with the copyright holders (OGResearch) is required
89
+ - Use and internal redistribution within your organization are permitted
90
+ - External redistribution or sublicensing is not allowed
91
+ - Registration link: https://yourdomain.com/register
92
+
93
+ ---
94
+
95
+ ### If you are an employee or contractor of OGResearch
96
+
97
+ - You use the software under the Private License (PE).
98
+ - Conditions:
99
+ - Use and modification permitted for internal business purposes only
100
+ - Redistribution outside OGResearch is not allowed
101
+
102
+ ---
103
+
104
+ ### Important Notes
105
+
106
+ - All editions are provided “as is”, without warranty or liability.
107
+ - These licenses are source-available, not OSI-approved open source.
108
+ - If in doubt about your use case, contact: info@ogresearch.com
109
+
110
+
@@ -0,0 +1,79 @@
1
+ # IrisPie
2
+
3
+ Macroeconomic modeling package for Python
4
+
5
+
6
+ ## Project URLs
7
+
8
+ Homepage: [`https://github.com/iris-solutions-team/irispie`](https://github.com/iris-solutions-team/irispie)
9
+
10
+ Documentation: [`https://iris-solutions-team.github.io/irispie-pages`](https://iris-solutions-team.github.io/irispie-pages)
11
+
12
+ Bug Tracker: [`https://github.com/iris-solutions-team/irispie/issues`](https://github.com/iris-solutions-team/irispie/issues)
13
+
14
+
15
+ ## License overview
16
+
17
+ This project is distributed under three coordinated source-available licenses:
18
+
19
+ - OGResearch Community License 1.0
20
+ - OGResearch Registered License 1.0
21
+ - OGResearch Private License 1.0
22
+
23
+ Each edition is intended for a different audience:
24
+
25
+ - Community Edition → natural persons for personal, educational, or
26
+ other non-commercial purposes
27
+ - Registered Edition → organizations (companies, institutions,
28
+ government agencies) that have completed registration
29
+ - Private Edition → internal use within OGResearch only
30
+
31
+ ## Which license applies to me
32
+
33
+ This project is distributed under three coordinated source-available licenses:
34
+ - Community License (CE)
35
+ - Registered License (RE)
36
+ - Private License (PE)
37
+
38
+ Use the guide below to determine which license applies to your situation.
39
+
40
+ ---
41
+
42
+ ### If you are an individual
43
+
44
+ - You may use the software under the Community License (CE).
45
+ - Conditions:
46
+ - For personal, educational, or other non-commercial purposes
47
+ - You may use and modify locally
48
+ - Redistribution is not allowed
49
+ - No registration required.
50
+
51
+ ---
52
+
53
+ ### If you are an organization (company, institution, government agency)
54
+
55
+ - You must use the software under the Registered License (RE).
56
+ - Conditions:
57
+ - Registration with the copyright holders (OGResearch) is required
58
+ - Use and internal redistribution within your organization are permitted
59
+ - External redistribution or sublicensing is not allowed
60
+ - Registration link: https://yourdomain.com/register
61
+
62
+ ---
63
+
64
+ ### If you are an employee or contractor of OGResearch
65
+
66
+ - You use the software under the Private License (PE).
67
+ - Conditions:
68
+ - Use and modification permitted for internal business purposes only
69
+ - Redistribution outside OGResearch is not allowed
70
+
71
+ ---
72
+
73
+ ### Important Notes
74
+
75
+ - All editions are provided “as is”, without warranty or liability.
76
+ - These licenses are source-available, not OSI-approved open source.
77
+ - If in doubt about your use case, contact: info@ogresearch.com
78
+
79
+
@@ -0,0 +1,30 @@
1
+ [build-system]
2
+ requires = [ "hatchling",]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "irispie-ce"
7
+ version = "0.70.0"
8
+ description = "Macroeconomic modeling package"
9
+ readme = "README.md"
10
+ requires-python = ">=3.11"
11
+ classifiers = [ "Programming Language :: Python :: 3", "License :: Other/Proprietary License", "Operating System :: OS Independent",]
12
+ keywords = [ "macroeconomics", "economics", "modeling", "simulation", "forecasting", "dsge",]
13
+ dependencies = [ "numpy >= 2.1", "scipy >= 1.14.1", "python-dateutil >= 2.9.0", "plotly >= 6.3", "Jinja2 >= 3.1.4", "parsimonious >= 0.10", "prettytable >= 3.10", "pandas >= 2.1.2", "dill >= 0.3.8", "requests >= 2.31.0", "neqs >= 0.9.0", "documark >= 0.4.0", "daqp >= 0.6.0",]
14
+ [[project.authors]]
15
+ name = "Jaromir Benes"
16
+ email = "jaromir.benes@gmail.com"
17
+
18
+ [project.license]
19
+ text = "OGResearch Community License 1.0"
20
+
21
+ [project.urls]
22
+ Homepage = "https://github.com/iris-solutions-team/irispie"
23
+ Documentation = "https://iris-solutions-team.github.io/irispie-pages"
24
+ "Bug Tracker" = "https://github.com/iris-solutions-team/irispie/issues"
25
+
26
+ [tool.hatch.build.targets.wheel]
27
+ packages = [ "src/irispie",]
28
+
29
+ [tool.hatch.build.targets.sdist]
30
+ include = [ "src/irispie", "README.md", "LICENSE", "NOTICE",]
@@ -0,0 +1,117 @@
1
+
2
+ import importlib.metadata as _md
3
+
4
+ from .dates import *
5
+ from .dates import __all__ as dates_all
6
+
7
+ from .series import *
8
+ from .series import __all__ as series_all
9
+
10
+ from .ez_plotly import *
11
+ from .ez_plotly import __all__ as ez_plotly_all
12
+
13
+ from .databoxes import *
14
+ from .databoxes import __all__ as databoxes_all
15
+
16
+ from .dataslates import *
17
+ from .dataslates import __all__ as dataslates_all
18
+
19
+ from .chartpacks.main import *
20
+ from .chartpacks.main import __all__ as chartpacks_all
21
+
22
+ from .sources import *
23
+ from .sources import __all__ as sources_all
24
+
25
+ from .simultaneous import *
26
+ from .simultaneous import __all__ as simultaneous_all
27
+
28
+ from .stackers import *
29
+ from .stackers import __all__ as stackers_all
30
+
31
+ from .fords import *
32
+ from .fords import __all__ as fords_all
33
+
34
+ from .red_vars import *
35
+ from .red_vars import __all__ as red_vars_all
36
+
37
+ from .quantities import *
38
+ from .quantities import __all__ as quantities_all
39
+
40
+ from .equations import *
41
+ from .equations import __all__ as equations_all
42
+
43
+ from .sequentials import *
44
+ from .sequentials import __all__ as sequentials_all
45
+
46
+ from .explanatories import *
47
+ from .explanatories import __all__ as explanatories_all
48
+
49
+ from .plans import *
50
+ from .plans import __all__ as plans_all
51
+
52
+ from .namings import *
53
+ from .namings import __all__ as namings_all
54
+
55
+ from .file_io import *
56
+ from .file_io import __all__ as file_io_all
57
+
58
+ from .portables import *
59
+ from .portables import __all__ as portables_all
60
+
61
+ from .progress_bars import *
62
+ from .progress_bars import __all__ as progress_bars_all
63
+
64
+
65
+ __version__ = _md.version(__name__)
66
+ __doc__ = _md.metadata(__name__).json["description"]
67
+
68
+
69
+ def print_readme():
70
+ print(__doc__)
71
+
72
+
73
+ #[
74
+ def min_version_required(
75
+ min_version_string: str,
76
+ ):
77
+ """
78
+ """
79
+ current_version = _convert_version(__version__, )
80
+ minimum_version = _convert_version(min_version_string, )
81
+ if current_version < minimum_version:
82
+ raise Exception(
83
+ f"Current version of irispie ({__version__}) is less than the minimum version required ({min_version_string})"
84
+ )
85
+
86
+ min_irispie_version_required = min_version_required
87
+
88
+ def _convert_version(version_str: str) -> tuple[int, ...]:
89
+ return tuple(int(s) for s in version_str.split("."))
90
+ #]
91
+
92
+
93
+ __all__ = (
94
+ *dates_all,
95
+ *series_all,
96
+ *ez_plotly_all,
97
+ *databoxes_all,
98
+ *dataslates_all,
99
+ *sources_all,
100
+ *simultaneous_all,
101
+ *stackers_all,
102
+ *fords_all,
103
+ *red_vars_all,
104
+ *quantities_all,
105
+ *equations_all,
106
+ *sequentials_all,
107
+ *explanatories_all,
108
+ *plans_all,
109
+ *namings_all,
110
+ *file_io_all,
111
+ *portables_all,
112
+ *progress_bars_all,
113
+ "min_version_required",
114
+ "min_irispie_version_required",
115
+ "__version__",
116
+ )
117
+
@@ -0,0 +1,4 @@
1
+ """
2
+ Algorithmic differentiators and invariators
3
+ """
4
+
@@ -0,0 +1,45 @@
1
+ """
2
+ """
3
+
4
+
5
+ #[
6
+ from __future__ import annotations
7
+
8
+ import numpy as _np
9
+ import scipy as _sp
10
+ #]
11
+
12
+
13
+ _ELEMENTWISE_FUNCTIONS = {
14
+ "log": _np.log,
15
+ "exp": _np.exp,
16
+ "sqrt": _np.sqrt,
17
+ "abs": _np.abs,
18
+ "logistic": _sp.special.expit,
19
+ "normal_cdf": _sp.stats.norm.cdf,
20
+ "normal_pdf": _sp.stats.norm.pdf,
21
+ "maximum": _np.maximum,
22
+ "minimum": _np.minimum,
23
+ }
24
+
25
+
26
+ for n in _ELEMENTWISE_FUNCTIONS.keys():
27
+ exec(
28
+ f"def {n}(x, *args, **kwargs):\n"
29
+ f" if hasattr(x, '{n}'):\n"
30
+ f" return x.{n}(*args, **kwargs, )\n"
31
+ f" else:\n"
32
+ f" return _ELEMENTWISE_FUNCTIONS['{n}'](x, *args, **kwargs, )\n"
33
+ )
34
+
35
+
36
+ def add_function_adaptations_to_context(context: dict | None) -> dict:
37
+ """
38
+ """
39
+ #[
40
+ context = context if context else {}
41
+ for n in _ELEMENTWISE_FUNCTIONS.keys():
42
+ context[n] = globals()[n]
43
+ return context
44
+ #]
45
+