Skip to main content

draw-isabelle

Quick visualization tool for nested Isabelle trees which are defined by the angle brace Isabelle syntax ⟨l, a, r⟩.

Install and usage

$ pip install draw-isabelle
$ draw-isabelle '⟨⟨⟨⟨⟩, a, ⟨⟩⟩, a, ⟨⟨⟩, a, ⟨⟩⟩⟩, a, ⟨⟨⟩, a, ⟨⟩⟩⟩'

will output

          ________a___
         /            \
     ___a___          _a
    /       \        /  \
  _a        _a      ⟨⟩   ⟨⟩
 /  \      /  \
⟨⟩   ⟨⟩   ⟨⟩   ⟨⟩

Contributing

Please open PR's with fixes and code improvements; could be cool to also support the Node/Leaf syntax or maybe other useful structures.

Code is also pretty untested so please LMK with breaking examples.

Might also make sense to code the ASCII tree representation in this repo to remove the binarytree dependency.

Metadata

Release files for draw-isabelle 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for draw-isabelle 0.0.2
File Size Uploaded
draw-isabelle-0.0.2.tar.gz 2.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for draw-isabelle 0.0.2
File Interpreter ABI Platform
draw_isabelle-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 5.8 kB

Release files / draw-isabelle-0.0.2.tar.gz

Download URL draw-isabelle-0.0.2.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2ad73dc5012505fa3c55493cbe08c6262fa2c1be58362641d0898137aced11aa
BLAKE2b-256 checksum
How to use checksums
00714cd316c88b724bcf6c2700b58f78c448d5c224655ef6ae276d736eeac290
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.14

Release files / draw_isabelle-0.0.2-py3-none-any.whl

Download URL draw_isabelle-0.0.2-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4afe420e6bb515158e1aec385e94cb4bd0feec7bd9421faee735330bab1948bf
BLAKE2b-256 checksum
How to use checksums
3ff040b2f0d53ef6c3b7c0a356f4d11fa1d7b26a9ca6f0bbee2c2652f3893875
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.14

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page