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

Uploaded Source

Built Distribution

upcast-0.1.7-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: upcast-0.1.7.tar.gz
  • Upload date:
  • Size: 8.3 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.7.tar.gz
Algorithm Hash digest
SHA256 8b0a4d7af665b3d42b1dbacd1a3a7951fa2b82eb1e89a76251dbe9b8f2cce5d8
MD5 e3eeeec4d2e6e047e8874bd7faee6b0f
BLAKE2b-256 c6e09be2e33e7b7ae254bea945fa82de818ac7bbb8cf8b90db253de98c710ea5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: upcast-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 9.0 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 2bee26da7a0608e56c95db39e2fda8ae1d3ad1be8e535f12a55bfa53cc0fc006
MD5 4eff068591b21d15ab30b257449e6783
BLAKE2b-256 0d38370df2915495278e880efcf52458ae12fdd80f36f413f1da131e2c907dfa

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