Skip to main content

A library to help in code analysis

Project description

astroid-miner

Wrapper around the astroid library to aid in static code analysis. I'm planning on using the astroid library to parse Python source files and navigate class and function definitions. Here's the features that I'm working on implementing:

Generic Code Analysis

  • call_diagram: Given a target function or method, find the functions/methods called by and/or lead to the target being called.
  • show_path: Display the PYTHONPATH based on sys.path and path append or substitute command line arguments

Django-specific features (these will be moved into separate package)

  • url_to_view: Given a url in a django project identify the class or function providing the view and identify the file and line number where that view is defined.

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

astroid_miner-0.0.3.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

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

astroid_miner-0.0.3-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file astroid_miner-0.0.3.tar.gz.

File metadata

  • Download URL: astroid_miner-0.0.3.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.8.10

File hashes

Hashes for astroid_miner-0.0.3.tar.gz
Algorithm Hash digest
SHA256 fe5796b3432bb0c1eec8f9819a18dd810356dbd67d4264031eb9ba6ce47ed404
MD5 95ed9c33a324960b15b4ced4d78ba09f
BLAKE2b-256 198ca4989c3e509f79455a25b3e6167faf60d5d2fc0a95cbe653bfbd35e33ec1

See more details on using hashes here.

File details

Details for the file astroid_miner-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: astroid_miner-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.8.10

File hashes

Hashes for astroid_miner-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9606d7490d211c1ff0f9745f963a01fa99a8c8ad55dd478cfa42537c16a0e643
MD5 a117632d19ae5373a0ad7e80caf667fd
BLAKE2b-256 347ec67a94044ed071878141408bbb82ceaeb903c5083e558f3a706156ba6633

See more details on using hashes here.

Supported by

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