GTDraw
GTDraw is a game tree drawing tool for publication-ready extensive form games in Game Theory. It can generate TikZ code, LaTeX documents, PDFs, PNGs, and SVGs from game specifications.
GTDraw was originally developed by Bernhard von Stengel at the London School of Economics. It is being developed further as part of the Gambit project out of The Alan Turing Institute.
Documentation
Comprehensive documentation covering installation, the .ef file format, Python API, and Developer guidelines is hosted via GitHub Pages:
👉 Read the gtdraw Documentation 👈
Quick Installation
pip install gtdraw
Contributing
🚨 NOTE FOR POTENTIAL CONTRIBUTORS 🚨
This package is at an early stage of development. Please read the Gambit project's contributor guidance and check the Developer Guide in the documentation before opening PRs.
Metadata
Release files for gtdraw 0.12.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gtdraw-0.12.1.tar.gz | 88.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gtdraw-0.12.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 158.5 kB
Release files / gtdraw-0.12.1.tar.gz
| Download URL | gtdraw-0.12.1.tar.gz |
|---|---|
| Size | 88.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
69a0521869207815d6c7326e5c6ad0862e0a83ea0dc1dc31e3f7fbf1a4943b3c
|
|
BLAKE2b-256 checksum How to use checksums |
ac2e31dfe6da5d621e5d53734dbf536dcdf464654566ba6fdc33996c8f888f32
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 24, 2026.
Transparency logRelease files / gtdraw-0.12.1-py3-none-any.whl
| Download URL | gtdraw-0.12.1-py3-none-any.whl |
|---|---|
| Size | 69.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b0b095e5ef9e6d448b893509a6ee8c25712757502ff929fb0b3901c32f48f347
|
|
BLAKE2b-256 checksum How to use checksums |
d32a91cd588a61750ee66cec62d19050f9067c830fa77283e353a2b8cb087f1f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 24, 2026.
Transparency log