Skip to main content

Abstract Syntax Tree SPY

Project description

astspy

astspy (Abstract Syntax Tree SPY) is an open source command line tool to get information from Python source code files.

astspy can be used with Python 3 and 2 code, but make sure to analyze files from each version in their respective environments.

Features

  • Print the names of classes and functions found in the file
  • Calculate an aproximation of the number of lines of code of each class or function definition
  • See what functions or classes have docstrings

Installation

You can install, upgrade, and uninstall astspy.py with these commands:

  $ pip install astspy
  $ pip install --upgrade astspy
  $ pip uninstall astspy

Help

To get help use:

  $ astspy -h

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

astspy-0.0.2.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

astspy-0.0.2-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file astspy-0.0.2.tar.gz.

File metadata

  • Download URL: astspy-0.0.2.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.8

File hashes

Hashes for astspy-0.0.2.tar.gz
Algorithm Hash digest
SHA256 66b78cec4f47ff2822be6c2edc186c2c58b57da409494cc8c95c37bdcaa7ff11
MD5 754dd5a644638343c739e05bb0565304
BLAKE2b-256 cf1bcbd97ca9ff50533102ba6fcb01ba181112b994ef3f8b09a4658ab2db56ba

See more details on using hashes here.

File details

Details for the file astspy-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: astspy-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.8

File hashes

Hashes for astspy-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 16c97c879801e1d5070eebc7584c4ebf8a06dc0ed944dedafef3293f0a5eeda4
MD5 bdb30e9b1911871ebcabbeff5aa038a4
BLAKE2b-256 01906e00180f4b0e7747ecc2a19110abc7152aa084a427dee276a90a8e8c5bfe

See more details on using hashes here.

Supported by

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