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.0.tar.gz (12.0 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.0-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: upcast-0.2.0.tar.gz
  • Upload date:
  • Size: 12.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.2.0.tar.gz
Algorithm Hash digest
SHA256 2b9ce7a1c3b888a5d6a1d45625052250b4ce3d4e843a4b661b26109c4db42785
MD5 d4b9f09b42f75dd38b37f2a2cc58c541
BLAKE2b-256 a33bf17795f017626aaa0109205e06c9c340ffea53a216aa039d9e6b0019d71c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: upcast-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 14.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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e3fefa7172b84d2c9d730e62975f2b36c8e28745dbd514f1687fb522ddadb46f
MD5 5af0ff87aa47f3d322c78f1502936e48
BLAKE2b-256 d4d8cdaace554fa1011ea5de430a299b9ae9971d99d0d09e7524313761a1b01a

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