No project description provided
Project description
prettiest_ast
A simple pretty printer for python abstract syntax trees:
>>> from prettiest_ast import ppast
>>> ppast('for i in range(5): print(i)')
For
├──Name
│ ├──i
│ ╰──Store
├──Call
│ ├──Name
│ │ ├──range
│ │ ╰──Load
│ ╰──Constant
│ ╰──5
╰──Expr
╰──Call
├──Name
│ ├──print
│ ╰──Load
╰──Name
├──i
╰──Load
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for prettiest_ast-0.0.1.dev3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a930ff1e9b4177e38b7b49d29855dd0ca10f19a4e5d814165210a1edc6a5f3a3 |
|
MD5 | 295f02dc90047189bf83671f8ab4f901 |
|
BLAKE2b-256 | 23977b2fc46674449d883235cd1c6d58a0acc2023e5b623572498f46adf0d9a0 |