Python command line application to export Python AST as Json.
Project description
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
Release history Release notifications | RSS feed
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 details)
Built Distribution
File details
Details for the file astexport-1.3.0.tar.gz
.
File metadata
- Download URL: astexport-1.3.0.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.9.1 pkginfo/1.4.1 requests/2.9.1 setuptools/20.7.0 requests-toolbelt/0.8.0 tqdm/4.19.4 CPython/3.5.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a9d2c7b973418bbc4bd5138a368276c1acf7b62caa3f6292dea67038add4ef6 |
|
MD5 | bbd1a3196a55a08d18a00cfc8a0ca18f |
|
BLAKE2b-256 | 93376871f6c5080b22e96fb62613c57217fc0472adc7c91d916e0bcb512f5963 |
File details
Details for the file astexport-1.3.0-py3-none-any.whl
.
File metadata
- Download URL: astexport-1.3.0-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.9.1 pkginfo/1.4.1 requests/2.9.1 setuptools/20.7.0 requests-toolbelt/0.8.0 tqdm/4.19.4 CPython/3.5.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22c8b16887135baafae11b292960face5b5194a0f12bf6f7e22ee61505a2508f |
|
MD5 | 116ef6dd949d5229681fb39b4b96b8d8 |
|
BLAKE2b-256 | 4a2b07e52726cc3d3cdfb33224db1d455b93db5958e1089145b109a23f41d3c0 |