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.dev2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6af023bd2c3c5fc4d4462361d36ad3494ffe728a79b5b2883cefc317c1615ce6 |
|
MD5 | 904922a4adf1c776fb00fe2f8eb2b37b |
|
BLAKE2b-256 | 774efcc832c71f5af7f5191c2d4b6298f0d84446c8d07c05908e84f128c2f1db |