Some simple utils.
Project description
Util list:
-
ARM, Analysis Module Relationship
通过 import、from-import 分析模块之间的关系.
CodeAnalyzer 还可以一块分析每个模块导的包,所含的类、函数、全局变量
缺陷:
- 只能分析当前文件夹下的所有模块,不递归分析子文件夹(还没写)。
- 仅支持静态分析,分析不了动态的模块导入。
- 分析不了__init__.py中导入的包
- 分析的前提要保障代码的格式规范(以Pycharm的自动代码规范格式为标准)
- CodeAnalyzer只能分析单元素的赋值定义,且赋值的字面值需要缩进不能与赋值定义同缩进.
- CodeAnalyzer暂不支持分析相对导入
-
graph_dot
仅提供了有向图的创建,但重写
__str__()
能够输出 dot 格式的图信息。
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
tq_amr-0.0.1.tar.gz
(11.8 kB
view details)
Built Distribution
tq_amr-0.0.1-py3-none-any.whl
(12.5 kB
view details)
File details
Details for the file tq_amr-0.0.1.tar.gz
.
File metadata
- Download URL: tq_amr-0.0.1.tar.gz
- Upload date:
- Size: 11.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36c9c0b90624485134806f9d0b5e93cdbeb651c031f2dccf0ac9eded2bdeb24b |
|
MD5 | e9f28d6826477122c8999ead5929518b |
|
BLAKE2b-256 | e46cec93b1ba36afcbc92bb8c0b8fa84c05f264aedb2db69497cc4242ccf3000 |
File details
Details for the file tq_amr-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: tq_amr-0.0.1-py3-none-any.whl
- Upload date:
- Size: 12.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1562269adda5be2cdc97ede67f2c8ce741622c70ab97688de9d16e9eb737de52 |
|
MD5 | e5b630d60036ad2919f6d74fc5e51642 |
|
BLAKE2b-256 | a6280be9f9ef44b804299b32888a981f7555977dab525dbcaf0e2f07beb59f6d |