Skip to main content

AST tools

Project description

upcast

Release Build status codecov Commit activity License

This project provides a series of tools to analyze Python projects. It does not actually execute code but only uses static analysis methods. Therefore, it has a more universal application scenario.

Installation

pip install upcast

Usage

find-env-vars

Infer the environment variables that a program depends on through code, including information such as default values and types.

upcast find-env-vars /path/to/your/python/project/**/*.py

The -o option can be used to output a csv file for further analysis.

upcast find-env-vars /path/to/your/python/project/**/*.py -o env-vars.csv

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

upcast-0.1.2.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

upcast-0.1.2-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file upcast-0.1.2.tar.gz.

File metadata

  • Download URL: upcast-0.1.2.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.9 Darwin/24.1.0

File hashes

Hashes for upcast-0.1.2.tar.gz
Algorithm Hash digest
SHA256 c562d8232275c6ebe981fef3d91c67a344b1803aa3afc1026fdded8d533b5839
MD5 fada6001fca8e5d0b71f6101dcd28de1
BLAKE2b-256 5b91b12d57bc4ff93867b22a54ab477ceff8b92785610e100674bd43fb25bca4

See more details on using hashes here.

File details

Details for the file upcast-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: upcast-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.9 Darwin/24.1.0

File hashes

Hashes for upcast-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b9075e0a22e51bebcd043275000966881b5d10d0e50063091a0654e053a892a7
MD5 c08633e598c39e648e73f5f161ccf133
BLAKE2b-256 2da742436e94e88490f06d74d71fb1e5d2e2672a37a1a5aa6ddeaa370f46c306

See more details on using hashes here.

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