Skip to main content

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


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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wensleydale-0.1.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file wensleydale-0.1.0.tar.gz.

File metadata

  • Download URL: wensleydale-0.1.0.tar.gz
  • Upload date:
  • Size: 55.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for wensleydale-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e19ca6ad847346430c7a954d671f08b181e3112a6f0f2d1b8fdfe015afeb1d23
MD5 cbf263a9a27b6a25a6feb19f3cdc6778
BLAKE2b-256 3c833637e407f9fa00faa9ae0c770a822c8f2a9bbbc4696ad3ec54d8aef745c9

See more details on using hashes here.

File details

Details for the file wensleydale-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for wensleydale-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7ab4e714fa6e7db69d7a710d0e85f98ff3075efbd5b343cb146755d462b5c2f7
MD5 3685a5eda5ba8834fe6578cb9975158b
BLAKE2b-256 0aaf6656647dafaf01db5be97ea5d88a5057a349415d15b3029e43a9cc46b3d7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page