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

Uploaded Source

Built Distribution

upcast-0.1.5-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: upcast-0.1.5.tar.gz
  • Upload date:
  • Size: 8.0 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.5.tar.gz
Algorithm Hash digest
SHA256 101f727244c5e7f9eb41266c29f6b8550faf5d78940d719286328aec44fcf148
MD5 e3eb0f72fd0c1ded06b5b4af91d066e6
BLAKE2b-256 c44d939329eeac889aed6152049045dcc0ca48507fd3db46f737f84081cd5893

See more details on using hashes here.

File details

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

File metadata

  • Download URL: upcast-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 8.9 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a1c0af8a8fc9eaab8dbf1340ccdc046f9f02fe24c3157d19a206e8dfb2a00115
MD5 7c41ad69b132fcacca85d17525c24170
BLAKE2b-256 9ea2e1a44c61bbf0b131b72f211452211883e9b053d34c3d6ab65ceeecacb797

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