# astroid-miner
Wrapper around the [astroid](https://pypi.org/project/astroid/) library to aid
in static code analysis. I'm planning on using the astroid library to parse
Python source files and navigate class and function definitions. Here's the
features that I'm working on implementing:
## Generic Code Analysis
* call_diagram: Given a target function or method, find the
functions/methods called by and/or lead to the target being called.
* show_path: Display the PYTHONPATH based on `sys.path` and path append or
substitute command line arguments
## Django-specific features (these will be moved into separate package)
* url_to_view: Given a url in a django project identify the class or function
providing the view and identify the file and line number where that view is
defined.
Raw data
{
"_id": null,
"home_page": null,
"name": "astroid-miner",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "ast, astroid, code analysis",
"author": null,
"author_email": "John Cassidy <jocassid@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/19/8c/a4989c3e509f79455a25b3e6167faf60d5d2fc0a95cbe653bfbd35e33ec1/astroid_miner-0.0.3.tar.gz",
"platform": null,
"description": "# astroid-miner\nWrapper around the [astroid](https://pypi.org/project/astroid/) library to aid \nin static code analysis. I'm planning on using the astroid library to parse \nPython source files and navigate class and function definitions. Here's the\nfeatures that I'm working on implementing:\n\n## Generic Code Analysis\n\n* call_diagram: Given a target function or method, find the \nfunctions/methods called by and/or lead to the target being called.\n* show_path: Display the PYTHONPATH based on `sys.path` and path append or \nsubstitute command line arguments\n\n## Django-specific features (these will be moved into separate package)\n\n* url_to_view: Given a url in a django project identify the class or function\nproviding the view and identify the file and line number where that view is \ndefined.\n\n",
"bugtrack_url": null,
"license": null,
"summary": "A library to help in code analysis",
"version": "0.0.3",
"project_urls": {
"Homepage": "https://github.com/jocassid/astroid-miner",
"Issues": "https://github.com/jocassid/astroid-miner/issues"
},
"split_keywords": [
"ast",
" astroid",
" code analysis"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "347ec67a94044ed071878141408bbb82ceaeb903c5083e558f3a706156ba6633",
"md5": "a117632d19ae5373a0ad7e80caf667fd",
"sha256": "9606d7490d211c1ff0f9745f963a01fa99a8c8ad55dd478cfa42537c16a0e643"
},
"downloads": -1,
"filename": "astroid_miner-0.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a117632d19ae5373a0ad7e80caf667fd",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 6582,
"upload_time": "2024-12-16T03:45:56",
"upload_time_iso_8601": "2024-12-16T03:45:56.176908Z",
"url": "https://files.pythonhosted.org/packages/34/7e/c67a94044ed071878141408bbb82ceaeb903c5083e558f3a706156ba6633/astroid_miner-0.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "198ca4989c3e509f79455a25b3e6167faf60d5d2fc0a95cbe653bfbd35e33ec1",
"md5": "95ed9c33a324960b15b4ced4d78ba09f",
"sha256": "fe5796b3432bb0c1eec8f9819a18dd810356dbd67d4264031eb9ba6ce47ed404"
},
"downloads": -1,
"filename": "astroid_miner-0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "95ed9c33a324960b15b4ced4d78ba09f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 7328,
"upload_time": "2024-12-16T03:45:58",
"upload_time_iso_8601": "2024-12-16T03:45:58.197238Z",
"url": "https://files.pythonhosted.org/packages/19/8c/a4989c3e509f79455a25b3e6167faf60d5d2fc0a95cbe653bfbd35e33ec1/astroid_miner-0.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-16 03:45:58",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "jocassid",
"github_project": "astroid-miner",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "astroid",
"specs": []
},
{
"name": "pytest",
"specs": []
},
{
"name": "setuptools",
"specs": []
},
{
"name": "wheel",
"specs": []
},
{
"name": "twine",
"specs": []
},
{
"name": "build",
"specs": []
}
],
"lcname": "astroid-miner"
}