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.7.tar.gz
(8.3 kB
view details)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b0a4d7af665b3d42b1dbacd1a3a7951fa2b82eb1e89a76251dbe9b8f2cce5d8 |
|
MD5 | e3eeeec4d2e6e047e8874bd7faee6b0f |
|
BLAKE2b-256 | c6e09be2e33e7b7ae254bea945fa82de818ac7bbb8cf8b90db253de98c710ea5 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2bee26da7a0608e56c95db39e2fda8ae1d3ad1be8e535f12a55bfa53cc0fc006 |
|
MD5 | 4eff068591b21d15ab30b257449e6783 |
|
BLAKE2b-256 | 0d38370df2915495278e880efcf52458ae12fdd80f36f413f1da131e2c907dfa |