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
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.1.tar.gz
(7.5 kB
view details)
Built Distribution
File details
Details for the file upcast-0.1.1.tar.gz
.
File metadata
- Download URL: upcast-0.1.1.tar.gz
- Upload date:
- Size: 7.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 | 1947108dd3e12d7597e36aa770bc31010fc6d9fedd6c4db3d839012b1c008fdb |
|
MD5 | 7206cae2869ea1549ab6a2dad6dc61e6 |
|
BLAKE2b-256 | bc27a8504fea4130c57bc3f9d7b0791a0f13231ba3f8c65ad619b54d1884de60 |
File details
Details for the file upcast-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: upcast-0.1.1-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 | 5f4ab52c127ecb9520e20f0bc695b85f23a65b9d2e35938daf30b2bb9f991b69 |
|
MD5 | 10e0686833b457c0e12d6c7ed9ae838c |
|
BLAKE2b-256 | 025be78af361dd9230112ac1136b7224e058274dd034f22c58996fb262baac35 |