Skip to main content

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.

Release files for wensleydale 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wensleydale 0.1.0
File Size Uploaded
wensleydale-0.1.0.tar.gz 55.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wensleydale 0.1.0
File Interpreter ABI Platform
wensleydale-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size:61.3 kB

Release files / wensleydale-0.1.0.tar.gz

Download URL wensleydale-0.1.0.tar.gz
Size 55.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e19ca6ad847346430c7a954d671f08b181e3112a6f0f2d1b8fdfe015afeb1d23
BLAKE2b-256 checksum
How to use checksums
3c833637e407f9fa00faa9ae0c770a822c8f2a9bbbc4696ad3ec54d8aef745c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / wensleydale-0.1.0-py3-none-any.whl

Download URL wensleydale-0.1.0-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7ab4e714fa6e7db69d7a710d0e85f98ff3075efbd5b343cb146755d462b5c2f7
BLAKE2b-256 checksum
How to use checksums
0aaf6656647dafaf01db5be97ea5d88a5057a349415d15b3029e43a9cc46b3d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page