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

Support the following output formats:

  • csv
  • html

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

Uploaded Source

Built Distribution

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

upcast-0.2.3-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: upcast-0.2.3.tar.gz
  • Upload date:
  • Size: 13.1 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.2.3.tar.gz
Algorithm Hash digest
SHA256 e10289e2b22d6c91054399e5b288bf64b70e7db4c2e651e79bb5526740136bb2
MD5 8188d1c7cb09ba8585767667ef0f277b
BLAKE2b-256 754b0ec2154ee2c365f9f54e6840e54960b39dbad183dec3d49eb167ac7869dc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: upcast-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 15.2 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.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8db2dcdcecb83ac0666c81709fbe1427f7b221621b3e96ac313aad1eb4d3ca3a
MD5 c05f05e44920beba9823be0ec049a4b6
BLAKE2b-256 33d23d341533eca07561e6eb8d72032754a09744e040cc69ef810e9d4b675971

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