tq-amr


Nametq-amr JSON
Version 0.0.1 PyPI version JSON
download
home_pagehttps://gitee.com/torchW/tq_amr.git
SummarySome simple utils.
upload_time2024-09-16 17:20:46
maintainerNone
docs_urlNone
authorTripleQuiz
requires_python<3.12,>=3.8
licenseMIT
keywords python util analyze module relationship graph dot
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Util list:

- ARM, Analysis Module Relationship
  
    通过 import、from-import 分析模块之间的关系.

    CodeAnalyzer 还可以一块分析每个模块导的包,所含的类、函数、全局变量
    
    缺陷:
    - 只能分析当前文件夹下的所有模块,不递归分析子文件夹(还没写)。
    - 仅支持静态分析,分析不了动态的模块导入。
    - 分析不了__init__.py中导入的包
    - 分析的前提要保障代码的格式规范(以Pycharm的自动代码规范格式为标准)
    - CodeAnalyzer只能分析单元素的赋值定义,且赋值的字面值需要缩进不能与赋值定义同缩进.
    - CodeAnalyzer暂不支持分析相对导入

 - graph_dot

    仅提供了有向图的创建,但重写`__str__()`能够输出 dot 格式的图信息。

            

Raw data

            {
    "_id": null,
    "home_page": "https://gitee.com/torchW/tq_amr.git",
    "name": "tq-amr",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<3.12,>=3.8",
    "maintainer_email": null,
    "keywords": "python, util, analyze module relationship, graph, dot",
    "author": "TripleQuiz",
    "author_email": "triple_quiz@163.com",
    "download_url": "https://files.pythonhosted.org/packages/e4/6c/ec93b1ba36afcbc92bb8c0b8fa84c05f264aedb2db69497cc4242ccf3000/tq_amr-0.0.1.tar.gz",
    "platform": null,
    "description": "Util list:\r\n\r\n- ARM, Analysis Module Relationship\r\n  \r\n    \u901a\u8fc7 import\u3001from-import \u5206\u6790\u6a21\u5757\u4e4b\u95f4\u7684\u5173\u7cfb.\r\n\r\n    CodeAnalyzer \u8fd8\u53ef\u4ee5\u4e00\u5757\u5206\u6790\u6bcf\u4e2a\u6a21\u5757\u5bfc\u7684\u5305\uff0c\u6240\u542b\u7684\u7c7b\u3001\u51fd\u6570\u3001\u5168\u5c40\u53d8\u91cf\r\n    \r\n    \u7f3a\u9677\uff1a\r\n    - \u53ea\u80fd\u5206\u6790\u5f53\u524d\u6587\u4ef6\u5939\u4e0b\u7684\u6240\u6709\u6a21\u5757\uff0c\u4e0d\u9012\u5f52\u5206\u6790\u5b50\u6587\u4ef6\u5939\uff08\u8fd8\u6ca1\u5199\uff09\u3002\r\n    - \u4ec5\u652f\u6301\u9759\u6001\u5206\u6790\uff0c\u5206\u6790\u4e0d\u4e86\u52a8\u6001\u7684\u6a21\u5757\u5bfc\u5165\u3002\r\n    - \u5206\u6790\u4e0d\u4e86__init__.py\u4e2d\u5bfc\u5165\u7684\u5305\r\n    - \u5206\u6790\u7684\u524d\u63d0\u8981\u4fdd\u969c\u4ee3\u7801\u7684\u683c\u5f0f\u89c4\u8303\uff08\u4ee5Pycharm\u7684\u81ea\u52a8\u4ee3\u7801\u89c4\u8303\u683c\u5f0f\u4e3a\u6807\u51c6\uff09\r\n    - CodeAnalyzer\u53ea\u80fd\u5206\u6790\u5355\u5143\u7d20\u7684\u8d4b\u503c\u5b9a\u4e49\uff0c\u4e14\u8d4b\u503c\u7684\u5b57\u9762\u503c\u9700\u8981\u7f29\u8fdb\u4e0d\u80fd\u4e0e\u8d4b\u503c\u5b9a\u4e49\u540c\u7f29\u8fdb.\r\n    - CodeAnalyzer\u6682\u4e0d\u652f\u6301\u5206\u6790\u76f8\u5bf9\u5bfc\u5165\r\n\r\n - graph_dot\r\n\r\n    \u4ec5\u63d0\u4f9b\u4e86\u6709\u5411\u56fe\u7684\u521b\u5efa\uff0c\u4f46\u91cd\u5199`__str__()`\u80fd\u591f\u8f93\u51fa dot \u683c\u5f0f\u7684\u56fe\u4fe1\u606f\u3002\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Some simple utils.",
    "version": "0.0.1",
    "project_urls": {
        "Homepage": "https://gitee.com/torchW/tq_amr.git"
    },
    "split_keywords": [
        "python",
        " util",
        " analyze module relationship",
        " graph",
        " dot"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a6280be9f9ef44b804299b32888a981f7555977dab525dbcaf0e2f07beb59f6d",
                "md5": "e5b630d60036ad2919f6d74fc5e51642",
                "sha256": "1562269adda5be2cdc97ede67f2c8ce741622c70ab97688de9d16e9eb737de52"
            },
            "downloads": -1,
            "filename": "tq_amr-0.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e5b630d60036ad2919f6d74fc5e51642",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.12,>=3.8",
            "size": 12454,
            "upload_time": "2024-09-16T17:20:44",
            "upload_time_iso_8601": "2024-09-16T17:20:44.725622Z",
            "url": "https://files.pythonhosted.org/packages/a6/28/0be9f9ef44b804299b32888a981f7555977dab525dbcaf0e2f07beb59f6d/tq_amr-0.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e46cec93b1ba36afcbc92bb8c0b8fa84c05f264aedb2db69497cc4242ccf3000",
                "md5": "e9f28d6826477122c8999ead5929518b",
                "sha256": "36c9c0b90624485134806f9d0b5e93cdbeb651c031f2dccf0ac9eded2bdeb24b"
            },
            "downloads": -1,
            "filename": "tq_amr-0.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "e9f28d6826477122c8999ead5929518b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<3.12,>=3.8",
            "size": 11827,
            "upload_time": "2024-09-16T17:20:46",
            "upload_time_iso_8601": "2024-09-16T17:20:46.369164Z",
            "url": "https://files.pythonhosted.org/packages/e4/6c/ec93b1ba36afcbc92bb8c0b8fa84c05f264aedb2db69497cc4242ccf3000/tq_amr-0.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-16 17:20:46",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "tq-amr"
}
        
Elapsed time: 0.34123s