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.0.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for upcast-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0f48660e686e5929a64ae4c41befb0d2030183d5319b2b6f1c323a28908eca3a
MD5 f6b6488eb84847c2765ab1f4486d0983
BLAKE2b-256 e9b75be4ac2617f0160323bf546fcf6b8dd57d24c2090357fe3b46613aed33bc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: upcast-0.1.0-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.9.11 Darwin/24.1.0

File hashes

Hashes for upcast-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b8fc63a978f0424720cb112682c6082a3632052b18bc06d1cb2f48dcdf8a95a1
MD5 5cc8a0aa712871db46a1d9cb8d3a135e
BLAKE2b-256 f038d3cc13a0507a0a1d464f81a7553bcf17f85f1be2811c434d39be2aa37328

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