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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for prettiest_ast-0.0.1.dev1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc442bf5ed0240761abd91030fc88d330b21a64080f6b37e2097a0ef70fb3127 |
|
MD5 | 0fcfa6b64ae75d2f9132b85d8bbe20d7 |
|
BLAKE2b-256 | cc6a42d0447ecd26d3f30bd18325e67546007a94c4ae0cb4148c2fd6b02f9a86 |