Skip to main content

Python command line application to export Python AST as Json.

Project description

https://travis-ci.org/fpoli/python-astexport.svg?branch=master

Python command line application to export Python 3 AST as JSON.

Python 2.7 AST was used up to version 0.2.1 of this library.

Installation

$ pip install astexport

Usage

$ astexport < example.py > ast.json
$ astexport --help

License

Copyright (c) 2015, Federico Poli <federpoli@gmail.com>

Released under the MIT license.

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

astexport-1.3.0.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

astexport-1.3.0-py3-none-any.whl (5.5 kB view hashes)

Uploaded Python 3

Supported by

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