AST tools
Project description
upcast
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.
- Github repository: https://github.com/mrlyc/upcast/
- Documentation https://mrlyc.github.io/upcast/
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
Release history Release notifications | RSS feed
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.8.tar.gz
(8.5 kB
view details)
Built Distribution
File details
Details for the file upcast-0.1.8.tar.gz
.
File metadata
- Download URL: upcast-0.1.8.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.9 Darwin/24.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 710cca606992610d1bbde17dd5399a64aa3fcbe54f16dfe4c176e12f669e6336 |
|
MD5 | 4004b7d248b9535a9f1ec55457271d59 |
|
BLAKE2b-256 | 4e91830f139648eecb52ec9531da344213d5a118b36aa3ccbf87ef800a7979a4 |
File details
Details for the file upcast-0.1.8-py3-none-any.whl
.
File metadata
- Download URL: upcast-0.1.8-py3-none-any.whl
- Upload date:
- Size: 9.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9084da73c0eb046ff7a15d09ca5dd12c0fa04f1476aef1a5b234a26098ae83f |
|
MD5 | f0611c1694680ead9b69012772cf7e3b |
|
BLAKE2b-256 | 5744bafd7523def1229cc15fb6a7fb151fc91bed5ca5fcbdc07ec9e4f38d12ab |