Skip to main content

Mr Wensleydale. Query the AST.

Project description

Mr Wensleydale. Query Python, get the AST as JSON.


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.


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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for wensleydale, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size wensleydale-0.1.0-py3-none-any.whl (6.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size wensleydale-0.1.0.tar.gz (55.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page