Mr Wensleydale. Query the AST.
Project description
Mr Wensleydale. Query Python, get the AST as JSON.
Why?
The AST, or abstract syntax tree, is a set of data structures that describe your python script. By exposing the AST to json, it can be treated as data, which means it can be reported on.
Sample use cases include:
Visualizing the routing tree of a web application.
Visualizing a class hierarchy.
Auditing large code bases using queries.
Support
Currently only Python 3.5 is supported.
Upcoming features:
Recursive imports: Trace into calls.
Pythonic paths: Use python dotted paths instead of file paths.
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
wensleydale-0.1.0.tar.gz
(55.1 kB
view hashes)
Built Distribution
Close
Hashes for wensleydale-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ab4e714fa6e7db69d7a710d0e85f98ff3075efbd5b343cb146755d462b5c2f7 |
|
MD5 | 3685a5eda5ba8834fe6578cb9975158b |
|
BLAKE2b-256 | 0aaf6656647dafaf01db5be97ea5d88a5057a349415d15b3029e43a9cc46b3d7 |