Skip to main content

astviewer

Graphical User Interface for viewing Python Abstract Syntax Trees.

astviewer screen shot

Installation:

To install Astviewer use pip:

%> pip install astviewer

It should automatically install PyQt5 as well.

Usage:

Command line example:

%> astviewer myprog.py

Examples to use from within Python:

	>>> from astviewer.main import view
	>>> view(file_name='myprog.py')
	>>> view(source_code = 'a + 3', mode='eval')

Further links:

The Green Tree Snakes documentation on ASTs is available for those who find the Python ast module documentation too brief.

Download files

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

Source Distribution

astviewer-1.1.4.tar.gz (18.3 kB view details)

Uploaded Source

Built Distribution

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

astviewer-1.1.4-py3-none-any.whl (24.2 kB view details)

Uploaded Python 3

File details

Details for the file astviewer-1.1.4.tar.gz.

File metadata

  • Download URL: astviewer-1.1.4.tar.gz
  • Upload date:
  • Size: 18.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for astviewer-1.1.4.tar.gz
Algorithm Hash digest
SHA256 c069fb4c8180dfa7a9a8c7ffb17b3b9d0cdadaf9440fdfd606aaa17dc51d9211
MD5 cbfe6663995260af446a491d62722925
BLAKE2b-256 b70026e31ebbb35c0af79310123154153b82879c118f0c458d2e6ac3b3dc7663

See more details on using hashes here.

File details

Details for the file astviewer-1.1.4-py3-none-any.whl.

File metadata

  • Download URL: astviewer-1.1.4-py3-none-any.whl
  • Upload date:
  • Size: 24.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for astviewer-1.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 771f658ac1dbc6fcb41b1ff8e1ab0aaf49ff98f126449875449940fbc5f3cc56
MD5 28e90af8cd56df632e60952040177e6f
BLAKE2b-256 993af3c16616447e36d3fe9295de2a19c003ec2876cb784b20efc18c272998ad

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.1.4 This release

2 files

1.1.3

2 files

1.1.1

1 file

Supported by

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