gtdraw 0.12.0__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.
- gtdraw/__init__.py +43 -0
- gtdraw/app.py +1460 -0
- gtdraw/cli.py +421 -0
- gtdraw/converter.py +818 -0
- gtdraw/core.py +3733 -0
- gtdraw/gambit_layout.py +213 -0
- gtdraw-0.12.0.dist-info/METADATA +61 -0
- gtdraw-0.12.0.dist-info/RECORD +12 -0
- gtdraw-0.12.0.dist-info/WHEEL +5 -0
- gtdraw-0.12.0.dist-info/entry_points.txt +2 -0
- gtdraw-0.12.0.dist-info/licenses/LICENSE +674 -0
- gtdraw-0.12.0.dist-info/top_level.txt +1 -0
gtdraw/__init__.py
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"""
|
|
2
|
+
GTDraw - Game tree drawing tool for extensive form games
|
|
3
|
+
|
|
4
|
+
This package provides functionality to generate TikZ code for game trees
|
|
5
|
+
from extensive form (.ef) files, with support for Jupyter notebooks.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
__version__ = "0.12.0"
|
|
9
|
+
|
|
10
|
+
from .core import (
|
|
11
|
+
draw,
|
|
12
|
+
tikz,
|
|
13
|
+
tex,
|
|
14
|
+
pdf,
|
|
15
|
+
png,
|
|
16
|
+
svg,
|
|
17
|
+
ef_to_tex,
|
|
18
|
+
latex_wrapper,
|
|
19
|
+
count_players,
|
|
20
|
+
count_levels,
|
|
21
|
+
get_game_levels,
|
|
22
|
+
)
|
|
23
|
+
|
|
24
|
+
from .gambit_layout import gambit_layout_to_ef
|
|
25
|
+
|
|
26
|
+
from .converter import ef_to_efg, efg_to_ef
|
|
27
|
+
|
|
28
|
+
__all__ = [
|
|
29
|
+
"draw",
|
|
30
|
+
"tikz",
|
|
31
|
+
"tex",
|
|
32
|
+
"pdf",
|
|
33
|
+
"png",
|
|
34
|
+
"svg",
|
|
35
|
+
"ef_to_tex",
|
|
36
|
+
"latex_wrapper",
|
|
37
|
+
"gambit_layout_to_ef",
|
|
38
|
+
"count_players",
|
|
39
|
+
"count_levels",
|
|
40
|
+
"get_game_levels",
|
|
41
|
+
"ef_to_efg",
|
|
42
|
+
"efg_to_ef",
|
|
43
|
+
]
|