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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file upcast-0.2.1.tar.gz.
File metadata
- Download URL: upcast-0.2.1.tar.gz
- Upload date:
- Size: 12.1 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 |
69cb3fa2aa6e3cf67169d785a6f021e3131a8d493adf1f661fb73897ced2067a
|
|
| MD5 |
2100d985d6887f951233c8d82a60c953
|
|
| BLAKE2b-256 |
c6d33f6119e3e54131f3ddeddf1e043a6feffb9bce807f6db24289caa13c2ae8
|
File details
Details for the file upcast-0.2.1-py3-none-any.whl.
File metadata
- Download URL: upcast-0.2.1-py3-none-any.whl
- Upload date:
- Size: 14.1 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 |
aee1ab0c64b30bf5d85f30b93ff6c46e06f67f39b41729fe57847c94945bcc5a
|
|
| MD5 |
6467e4b2f0a44d3171a76d1c48674073
|
|
| BLAKE2b-256 |
0291485247ba781e04e97044d5b62652a2a9cc4f05cd808fb86d1352d318310a
|