invocation-tree 0.0.3__tar.gz → 0.0.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.
- {invocation_tree-0.0.3/invocation_tree.egg-info → invocation_tree-0.0.4}/PKG-INFO +3 -3
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/README.md +2 -2
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/create_gif.sh +2 -2
- invocation_tree-0.0.4/images/factorial.gif +0 -0
- invocation_tree-0.0.4/images/factorial1.png +0 -0
- invocation_tree-0.0.4/images/factorial2.png +0 -0
- invocation_tree-0.0.4/images/factorial3.png +0 -0
- invocation_tree-0.0.4/images/factorial4.png +0 -0
- invocation_tree-0.0.4/images/factorial5.png +0 -0
- invocation_tree-0.0.4/images/factorial6.png +0 -0
- invocation_tree-0.0.4/images/factorial7.png +0 -0
- invocation_tree-0.0.4/images/permutations.gif +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/permutations.py +1 -1
- invocation_tree-0.0.4/images/permutations1.png +0 -0
- invocation_tree-0.0.4/images/permutations10.png +0 -0
- invocation_tree-0.0.4/images/permutations11.png +0 -0
- invocation_tree-0.0.4/images/permutations12.png +0 -0
- invocation_tree-0.0.4/images/permutations13.png +0 -0
- invocation_tree-0.0.4/images/permutations2.png +0 -0
- invocation_tree-0.0.4/images/permutations3.png +0 -0
- invocation_tree-0.0.4/images/permutations4.png +0 -0
- invocation_tree-0.0.4/images/permutations5.png +0 -0
- invocation_tree-0.0.4/images/permutations6.png +0 -0
- invocation_tree-0.0.4/images/permutations7.png +0 -0
- invocation_tree-0.0.4/images/permutations8.png +0 -0
- invocation_tree-0.0.4/images/permutations9.png +0 -0
- invocation_tree-0.0.4/images/students.gif +0 -0
- invocation_tree-0.0.4/images/students1.png +0 -0
- invocation_tree-0.0.4/images/students10.png +0 -0
- invocation_tree-0.0.4/images/students11.png +0 -0
- invocation_tree-0.0.4/images/students12.png +0 -0
- invocation_tree-0.0.4/images/students13.png +0 -0
- invocation_tree-0.0.4/images/students14.png +0 -0
- invocation_tree-0.0.4/images/students15.png +0 -0
- invocation_tree-0.0.4/images/students2.png +0 -0
- invocation_tree-0.0.4/images/students3.png +0 -0
- invocation_tree-0.0.4/images/students4.png +0 -0
- invocation_tree-0.0.4/images/students5.png +0 -0
- invocation_tree-0.0.4/images/students6.png +0 -0
- invocation_tree-0.0.4/images/students7.png +0 -0
- invocation_tree-0.0.4/images/students8.png +0 -0
- invocation_tree-0.0.4/images/students9.png +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/invocation_tree/__init__.py +1 -1
- {invocation_tree-0.0.3 → invocation_tree-0.0.4/invocation_tree.egg-info}/PKG-INFO +3 -3
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/invocation_tree.egg-info/SOURCES.txt +0 -16
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/setup.py +1 -1
- invocation_tree-0.0.3/images/factorial.gif +0 -0
- invocation_tree-0.0.3/images/factorial1.png +0 -0
- invocation_tree-0.0.3/images/factorial2.png +0 -0
- invocation_tree-0.0.3/images/factorial3.png +0 -0
- invocation_tree-0.0.3/images/factorial4.png +0 -0
- invocation_tree-0.0.3/images/factorial5.png +0 -0
- invocation_tree-0.0.3/images/factorial6.png +0 -0
- invocation_tree-0.0.3/images/factorial7.png +0 -0
- invocation_tree-0.0.3/images/permutations.gif +0 -0
- invocation_tree-0.0.3/images/permutations1.png +0 -0
- invocation_tree-0.0.3/images/permutations10.png +0 -0
- invocation_tree-0.0.3/images/permutations11.png +0 -0
- invocation_tree-0.0.3/images/permutations12.png +0 -0
- invocation_tree-0.0.3/images/permutations13.png +0 -0
- invocation_tree-0.0.3/images/permutations14.png +0 -0
- invocation_tree-0.0.3/images/permutations15.png +0 -0
- invocation_tree-0.0.3/images/permutations16.png +0 -0
- invocation_tree-0.0.3/images/permutations17.png +0 -0
- invocation_tree-0.0.3/images/permutations18.png +0 -0
- invocation_tree-0.0.3/images/permutations19.png +0 -0
- invocation_tree-0.0.3/images/permutations2.png +0 -0
- invocation_tree-0.0.3/images/permutations20.png +0 -0
- invocation_tree-0.0.3/images/permutations21.png +0 -0
- invocation_tree-0.0.3/images/permutations22.png +0 -0
- invocation_tree-0.0.3/images/permutations23.png +0 -0
- invocation_tree-0.0.3/images/permutations24.png +0 -0
- invocation_tree-0.0.3/images/permutations25.png +0 -0
- invocation_tree-0.0.3/images/permutations26.png +0 -0
- invocation_tree-0.0.3/images/permutations27.png +0 -0
- invocation_tree-0.0.3/images/permutations28.png +0 -0
- invocation_tree-0.0.3/images/permutations29.png +0 -0
- invocation_tree-0.0.3/images/permutations3.png +0 -0
- invocation_tree-0.0.3/images/permutations4.png +0 -0
- invocation_tree-0.0.3/images/permutations5.png +0 -0
- invocation_tree-0.0.3/images/permutations6.png +0 -0
- invocation_tree-0.0.3/images/permutations7.png +0 -0
- invocation_tree-0.0.3/images/permutations8.png +0 -0
- invocation_tree-0.0.3/images/permutations9.png +0 -0
- invocation_tree-0.0.3/images/students.gif +0 -0
- invocation_tree-0.0.3/images/students1.png +0 -0
- invocation_tree-0.0.3/images/students10.png +0 -0
- invocation_tree-0.0.3/images/students11.png +0 -0
- invocation_tree-0.0.3/images/students12.png +0 -0
- invocation_tree-0.0.3/images/students13.png +0 -0
- invocation_tree-0.0.3/images/students14.png +0 -0
- invocation_tree-0.0.3/images/students15.png +0 -0
- invocation_tree-0.0.3/images/students2.png +0 -0
- invocation_tree-0.0.3/images/students3.png +0 -0
- invocation_tree-0.0.3/images/students4.png +0 -0
- invocation_tree-0.0.3/images/students5.png +0 -0
- invocation_tree-0.0.3/images/students6.png +0 -0
- invocation_tree-0.0.3/images/students7.png +0 -0
- invocation_tree-0.0.3/images/students8.png +0 -0
- invocation_tree-0.0.3/images/students9.png +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/LICENSE.txt +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/MANIFEST.in +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/create_images.sh +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/create_images.sh~ +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/factorial.py +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/factorial.py~ +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/factorial8.gv +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/factorial9.gv +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/invocation_tree.pdf +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/invocation_tree0.pdf +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/permutations.py~ +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/permutations22.png~ +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/student.gif +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/students.py +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/students.py~ +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/students16.gv +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/students17.gv +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/students18.gv +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/students19.gv +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/students20.gv +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/students21.gv +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/students22.gv +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/students23.gv +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/students24.gv +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/students25.gv +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/students26.gv +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/students27.gv +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/students28.gv +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/students29.gv +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/students30.gv +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/test.py +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/tree0.gv +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/tree1.gv +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/tree10.gv +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/tree11.gv +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/tree12.gv +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/tree13.gv +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/tree14.gv +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/tree15.gv +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/tree16.gv +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/tree17.gv +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/tree2.gv +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/tree3.gv +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/tree4.gv +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/tree5.gv +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/tree6.gv +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/tree7.gv +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/tree8.gv +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/tree9.gv +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/images/vscode.png +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/install.txt +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/invocation_tree.egg-info/dependency_links.txt +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/invocation_tree.egg-info/requires.txt +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/invocation_tree.egg-info/top_level.txt +0 -0
- {invocation_tree-0.0.3 → invocation_tree-0.0.4}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: invocation_tree
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.4
|
|
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
|
|
@@ -116,8 +116,8 @@ def permutations(elements, perm, n):
|
|
|
116
116
|
return all_perms
|
|
117
117
|
|
|
118
118
|
tree = invo_tree.blocking()
|
|
119
|
-
result = tree(permutations, ['L','R'], '',
|
|
120
|
-
print(result) # all permutations of going Left and Right of length
|
|
119
|
+
result = tree(permutations, ['L','R'], '', 2)
|
|
120
|
+
print(result) # all permutations of going Left and Right of length 2
|
|
121
121
|
```
|
|
122
122
|

|
|
123
123
|
|
|
@@ -97,8 +97,8 @@ def permutations(elements, perm, n):
|
|
|
97
97
|
return all_perms
|
|
98
98
|
|
|
99
99
|
tree = invo_tree.blocking()
|
|
100
|
-
result = tree(permutations, ['L','R'], '',
|
|
101
|
-
print(result) # all permutations of going Left and Right of length
|
|
100
|
+
result = tree(permutations, ['L','R'], '', 2)
|
|
101
|
+
print(result) # all permutations of going Left and Right of length 2
|
|
102
102
|
```
|
|
103
103
|

|
|
104
104
|
|
|
@@ -9,11 +9,11 @@ files=$(ls -v $name*.png)
|
|
|
9
9
|
echo "creating gif with:"
|
|
10
10
|
echo "$files"
|
|
11
11
|
|
|
12
|
-
largest_size=$(identify -format "%Wx%H %f\n" $name*.png | sort -nr | head -n1)
|
|
12
|
+
largest_size=$(identify -format "%H %Wx%H %f\n" $name*.png | sort -nr | head -n1| awk '{print $2}')
|
|
13
13
|
echo "largest_size: $largest_size"
|
|
14
14
|
|
|
15
15
|
echo "resizing images"
|
|
16
|
-
mogrify -resize $largest_size -background white -gravity
|
|
16
|
+
mogrify -resize $largest_size -background white -gravity North -extent $largest_size $files
|
|
17
17
|
echo "creating file: $name.gif"
|
|
18
18
|
convert -delay 150 -loop 0 $files $name.gif
|
|
19
19
|
echo "done"
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: invocation_tree
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.4
|
|
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
|
|
@@ -116,8 +116,8 @@ def permutations(elements, perm, n):
|
|
|
116
116
|
return all_perms
|
|
117
117
|
|
|
118
118
|
tree = invo_tree.blocking()
|
|
119
|
-
result = tree(permutations, ['L','R'], '',
|
|
120
|
-
print(result) # all permutations of going Left and Right of length
|
|
119
|
+
result = tree(permutations, ['L','R'], '', 2)
|
|
120
|
+
print(result) # all permutations of going Left and Right of length 2
|
|
121
121
|
```
|
|
122
122
|

|
|
123
123
|
|
|
@@ -28,24 +28,8 @@ images/permutations10.png
|
|
|
28
28
|
images/permutations11.png
|
|
29
29
|
images/permutations12.png
|
|
30
30
|
images/permutations13.png
|
|
31
|
-
images/permutations14.png
|
|
32
|
-
images/permutations15.png
|
|
33
|
-
images/permutations16.png
|
|
34
|
-
images/permutations17.png
|
|
35
|
-
images/permutations18.png
|
|
36
|
-
images/permutations19.png
|
|
37
31
|
images/permutations2.png
|
|
38
|
-
images/permutations20.png
|
|
39
|
-
images/permutations21.png
|
|
40
|
-
images/permutations22.png
|
|
41
32
|
images/permutations22.png~
|
|
42
|
-
images/permutations23.png
|
|
43
|
-
images/permutations24.png
|
|
44
|
-
images/permutations25.png
|
|
45
|
-
images/permutations26.png
|
|
46
|
-
images/permutations27.png
|
|
47
|
-
images/permutations28.png
|
|
48
|
-
images/permutations29.png
|
|
49
33
|
images/permutations3.png
|
|
50
34
|
images/permutations4.png
|
|
51
35
|
images/permutations5.png
|
|
@@ -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.
|
|
14
|
+
version = '0.0.4',
|
|
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
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
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
|
|
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
|
{invocation_tree-0.0.3 → invocation_tree-0.0.4}/invocation_tree.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|