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.6.tar.gz
(7.9 kB
view details)
Built Distribution
File details
Details for the file upcast-0.1.6.tar.gz
.
File metadata
- Download URL: upcast-0.1.6.tar.gz
- Upload date:
- Size: 7.9 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 | 1dee13db64bb899341367950b8d760d08c1ea07579f80378edece9392abfdaa9 |
|
MD5 | 1b3dcb60d162c57fb31e8c861ee6608d |
|
BLAKE2b-256 | f30ed91444e07c7305cb75b3addaceaeae0f9bae1cd8136816c6293968b403f2 |
File details
Details for the file upcast-0.1.6-py3-none-any.whl
.
File metadata
- Download URL: upcast-0.1.6-py3-none-any.whl
- Upload date:
- Size: 8.6 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 | 0b7faf0571ae112f1116157d03c1d0ebd59a7d92664740eec2fd52fc8781c0f7 |
|
MD5 | 38402864faecc05f959f11a27774d27e |
|
BLAKE2b-256 | 7ea93cb698aea88e833eece68391cf0083bc628ed832e05a75f4aa854137d285 |