invocation-tree 0.0.12__tar.gz → 0.0.14__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 (166) hide show
  1. {invocation_tree-0.0.12/invocation_tree.egg-info → invocation_tree-0.0.14}/PKG-INFO +3 -2
  2. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/README.md +2 -1
  3. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/compute1.png +0 -0
  4. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/compute2.png +0 -0
  5. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/compute3.png +0 -0
  6. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/compute4.png +0 -0
  7. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/compute5.png +0 -0
  8. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/compute6.png +0 -0
  9. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/compute7.png +0 -0
  10. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/compute8.png +0 -0
  11. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/compute9.png +0 -0
  12. invocation_tree-0.0.14/images/factorial.gif +0 -0
  13. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/factorial.py +2 -1
  14. invocation_tree-0.0.14/images/factorial1.png +0 -0
  15. invocation_tree-0.0.14/images/factorial2.png +0 -0
  16. invocation_tree-0.0.14/images/factorial3.png +0 -0
  17. invocation_tree-0.0.14/images/factorial4.png +0 -0
  18. invocation_tree-0.0.14/images/factorial5.png +0 -0
  19. invocation_tree-0.0.14/images/factorial6.png +0 -0
  20. invocation_tree-0.0.14/images/factorial7.png +0 -0
  21. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/permutations1.png +0 -0
  22. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/permutations10.png +0 -0
  23. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/permutations11.png +0 -0
  24. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/permutations12.png +0 -0
  25. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/permutations13.png +0 -0
  26. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/permutations2.png +0 -0
  27. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/permutations3.png +0 -0
  28. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/permutations4.png +0 -0
  29. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/permutations5.png +0 -0
  30. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/permutations6.png +0 -0
  31. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/permutations7.png +0 -0
  32. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/permutations8.png +0 -0
  33. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/permutations9.png +0 -0
  34. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/students1.png +0 -0
  35. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/students10.png +0 -0
  36. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/students11.png +0 -0
  37. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/students12.png +0 -0
  38. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/students13.png +0 -0
  39. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/students14.png +0 -0
  40. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/students15.png +0 -0
  41. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/students2.png +0 -0
  42. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/students3.png +0 -0
  43. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/students4.png +0 -0
  44. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/students5.png +0 -0
  45. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/students6.png +0 -0
  46. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/students7.png +0 -0
  47. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/students8.png +0 -0
  48. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/students9.png +0 -0
  49. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/invocation_tree/__init__.py +1 -1
  50. {invocation_tree-0.0.12 → invocation_tree-0.0.14/invocation_tree.egg-info}/PKG-INFO +3 -2
  51. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/setup.py +1 -1
  52. invocation_tree-0.0.12/images/factorial.gif +0 -0
  53. invocation_tree-0.0.12/images/factorial1.png +0 -0
  54. invocation_tree-0.0.12/images/factorial2.png +0 -0
  55. invocation_tree-0.0.12/images/factorial3.png +0 -0
  56. invocation_tree-0.0.12/images/factorial4.png +0 -0
  57. invocation_tree-0.0.12/images/factorial5.png +0 -0
  58. invocation_tree-0.0.12/images/factorial6.png +0 -0
  59. invocation_tree-0.0.12/images/factorial7.png +0 -0
  60. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/LICENSE.txt +0 -0
  61. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/MANIFEST.in +0 -0
  62. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/#generator_function.py# +0 -0
  63. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/compute.gif +0 -0
  64. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/compute.py +0 -0
  65. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/compute.py~ +0 -0
  66. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/create_gif.sh +0 -0
  67. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/create_images.sh +0 -0
  68. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/create_images.sh~ +0 -0
  69. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/eager_pipeline.py~ +0 -0
  70. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/eager_pipeline1.png +0 -0
  71. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/eager_pipeline2.png +0 -0
  72. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/eager_pipeline3.png +0 -0
  73. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/eager_pipeline4.png +0 -0
  74. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/eager_pipeline5.png +0 -0
  75. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/eager_pipeline6.png +0 -0
  76. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/eager_pipeline7.png +0 -0
  77. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/factorial.py~ +0 -0
  78. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/generator_expression.py~ +0 -0
  79. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/generator_expression1.png +0 -0
  80. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/generator_expression2.png +0 -0
  81. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/generator_expression3.png +0 -0
  82. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/generator_expression4.png +0 -0
  83. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/generator_expression5.png +0 -0
  84. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/generator_expression6.png +0 -0
  85. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/generator_expression7.png +0 -0
  86. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/generator_expression8.png +0 -0
  87. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/generator_expression9.png +0 -0
  88. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/generator_function1.png +0 -0
  89. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/generator_function2.png +0 -0
  90. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/generator_function3.png +0 -0
  91. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/generator_function4.png +0 -0
  92. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/generator_function5.png +0 -0
  93. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/generator_function6.png +0 -0
  94. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/generator_function7.png +0 -0
  95. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/generator_function8.png +0 -0
  96. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/generator_function9.png +0 -0
  97. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/generator_pipeline.py~ +0 -0
  98. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/generator_pipeline1.png +0 -0
  99. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/generator_pipeline10.png +0 -0
  100. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/generator_pipeline11.png +0 -0
  101. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/generator_pipeline12.png +0 -0
  102. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/generator_pipeline13.png +0 -0
  103. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/generator_pipeline14.png +0 -0
  104. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/generator_pipeline15.png +0 -0
  105. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/generator_pipeline16.png +0 -0
  106. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/generator_pipeline17.png +0 -0
  107. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/generator_pipeline18.png +0 -0
  108. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/generator_pipeline19.png +0 -0
  109. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/generator_pipeline2.png +0 -0
  110. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/generator_pipeline20.png +0 -0
  111. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/generator_pipeline21.png +0 -0
  112. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/generator_pipeline22.png +0 -0
  113. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/generator_pipeline23.png +0 -0
  114. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/generator_pipeline24.png +0 -0
  115. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/generator_pipeline25.png +0 -0
  116. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/generator_pipeline26.png +0 -0
  117. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/generator_pipeline27.png +0 -0
  118. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/generator_pipeline3.png +0 -0
  119. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/generator_pipeline4.png +0 -0
  120. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/generator_pipeline5.png +0 -0
  121. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/generator_pipeline6.png +0 -0
  122. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/generator_pipeline7.png +0 -0
  123. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/generator_pipeline8.png +0 -0
  124. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/generator_pipeline9.png +0 -0
  125. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/invocation_tree.pdf +0 -0
  126. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/invocation_tree0.pdf +0 -0
  127. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/iterable.py +0 -0
  128. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/iterable.py~ +0 -0
  129. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/my_list.py +0 -0
  130. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/my_list.py~ +0 -0
  131. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/my_range.py~ +0 -0
  132. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/my_range0.png +0 -0
  133. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/my_range1.png +0 -0
  134. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/my_range10.png +0 -0
  135. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/my_range11.png +0 -0
  136. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/my_range12.png +0 -0
  137. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/my_range13.png +0 -0
  138. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/my_range14.png +0 -0
  139. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/my_range15.png +0 -0
  140. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/my_range2.png +0 -0
  141. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/my_range3.png +0 -0
  142. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/my_range4.png +0 -0
  143. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/my_range5.png +0 -0
  144. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/my_range6.png +0 -0
  145. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/my_range7.png +0 -0
  146. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/my_range8.png +0 -0
  147. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/my_range9.png +0 -0
  148. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/out.txt +0 -0
  149. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/permutations.gif +0 -0
  150. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/permutations.py +0 -0
  151. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/permutations.py~ +0 -0
  152. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/permutations22.png~ +0 -0
  153. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/student.gif +0 -0
  154. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/students.gif +0 -0
  155. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/students.py +0 -0
  156. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/students.py~ +0 -0
  157. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/test.py +0 -0
  158. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/tree.gv~ +0 -0
  159. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/tree.pdf +0 -0
  160. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/images/vscode.png +0 -0
  161. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/install.txt +0 -0
  162. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/invocation_tree.egg-info/SOURCES.txt +0 -0
  163. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/invocation_tree.egg-info/dependency_links.txt +0 -0
  164. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/invocation_tree.egg-info/requires.txt +0 -0
  165. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/invocation_tree.egg-info/top_level.txt +0 -0
  166. {invocation_tree-0.0.12 → invocation_tree-0.0.14}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: invocation_tree
3
- Version: 0.0.12
3
+ Version: 0.0.14
4
4
  Summary: Generate an invocation tree of functions calls.
5
5
  Home-page: https://github.com/bterwijn/invocation_tree
6
6
  Author: Bas Terwijn
@@ -157,7 +157,8 @@ import invocation_tree as ivt
157
157
  def factorial(n):
158
158
  if n <= 1:
159
159
  return 1
160
- return n * factorial(n - 1)
160
+ prev_result = factorial(n - 1)
161
+ return n * prev_result
161
162
 
162
163
  tree = ivt.blocking()
163
164
  print( tree(factorial, 4) ) # show invocation tree of calling factorial(4)
@@ -138,7 +138,8 @@ import invocation_tree as ivt
138
138
  def factorial(n):
139
139
  if n <= 1:
140
140
  return 1
141
- return n * factorial(n - 1)
141
+ prev_result = factorial(n - 1)
142
+ return n * prev_result
142
143
 
143
144
  tree = ivt.blocking()
144
145
  print( tree(factorial, 4) ) # show invocation tree of calling factorial(4)
@@ -3,7 +3,8 @@ import invocation_tree as ivt
3
3
  def factorial(n):
4
4
  if n <= 1:
5
5
  return 1
6
- return n * factorial(n - 1)
6
+ prev_result = factorial(n - 1)
7
+ return n * prev_result
7
8
 
8
9
  tree = ivt.gif('factorial.png')
9
10
  tree(factorial, 4)
@@ -7,7 +7,7 @@ import html
7
7
  import sys
8
8
  import difflib
9
9
 
10
- __version__ = "0.0.12"
10
+ __version__ = "0.0.14"
11
11
  __author__ = 'Bas Terwijn'
12
12
 
13
13
  def highlight_diff(str1, str2):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: invocation_tree
3
- Version: 0.0.12
3
+ Version: 0.0.14
4
4
  Summary: Generate an invocation tree of functions calls.
5
5
  Home-page: https://github.com/bterwijn/invocation_tree
6
6
  Author: Bas Terwijn
@@ -157,7 +157,8 @@ import invocation_tree as ivt
157
157
  def factorial(n):
158
158
  if n <= 1:
159
159
  return 1
160
- return n * factorial(n - 1)
160
+ prev_result = factorial(n - 1)
161
+ return n * prev_result
161
162
 
162
163
  tree = ivt.blocking()
163
164
  print( tree(factorial, 4) ) # show invocation tree of calling factorial(4)
@@ -11,7 +11,7 @@ long_description_from_readme = (this_directory / "README.md").read_text()
11
11
 
12
12
  setup(
13
13
  name = 'invocation_tree',
14
- version = '0.0.12',
14
+ version = '0.0.14',
15
15
  description = 'Generate an invocation tree of functions calls.',
16
16
  long_description = long_description_from_readme,
17
17
  long_description_content_type = 'text/markdown',
Binary file