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 py3

Supported by

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