├── .gitattributes ├── .github └── workflows │ ├── deploy.yaml │ └── test.yaml ├── .gitignore ├── .pre-commit-config.yaml ├── LICENSE ├── MANIFEST.in ├── README.md ├── docs ├── _static │ └── css │ │ └── custom.css ├── _templates │ ├── module.rst │ └── package.rst ├── conf.py ├── images │ ├── nltk_usage.html │ └── nltk_usage_files │ │ └── MathJax.js ├── index.rst ├── install.rst ├── py-modindex.rst └── requirements.txt ├── module_dependencies ├── __init__.py ├── module │ ├── __init__.py │ ├── module.py │ ├── query.txt │ └── session.py ├── source │ ├── __init__.py │ ├── api.py │ ├── factory.py │ ├── source.py │ └── visitor.py └── util │ ├── __init__.py │ └── tokenize.py ├── paper.pdf ├── requirements-dev.txt ├── requirements.txt ├── setup.py └── tests └── source ├── expected ├── assign_then_call.json ├── import_base.json ├── import_base_alias.json ├── import_base_split.json ├── import_from.json ├── import_from_alias.json ├── import_from_split.json ├── import_long.json ├── import_long_alias.json ├── import_long_split.json ├── import_module.json ├── import_variable.json ├── import_wildcard.json ├── import_wordtok.json └── import_wordtok_alias.json ├── input ├── assign_then_call.py ├── import_base.py ├── import_base_alias.py ├── import_base_split.py ├── import_from.py ├── import_from_alias.py ├── import_from_split.py ├── import_long.py ├── import_long_alias.py ├── import_long_split.py ├── import_module.py ├── import_variable.py ├── import_wildcard.py ├── import_wordtok.py └── import_wordtok_alias.py ├── test_suite.py └── unused ├── import_overridden.json ├── import_overridden.py ├── import_overridden_def.json ├── import_overridden_def.py ├── import_overridden_if.json └── import_overridden_if.py /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/workflows/deploy.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/.github/workflows/deploy.yaml -------------------------------------------------------------------------------- /.github/workflows/test.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/.github/workflows/test.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- 1 | graft module_dependencies 2 | 3 | global-exclude *.py[cod] 4 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/README.md -------------------------------------------------------------------------------- /docs/_static/css/custom.css: -------------------------------------------------------------------------------- 1 | 2 | #side-menu-container { 3 | width: 350px; 4 | } 5 | -------------------------------------------------------------------------------- /docs/_templates/module.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/docs/_templates/module.rst -------------------------------------------------------------------------------- /docs/_templates/package.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/docs/_templates/package.rst -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/docs/conf.py -------------------------------------------------------------------------------- /docs/images/nltk_usage.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/docs/images/nltk_usage.html -------------------------------------------------------------------------------- /docs/images/nltk_usage_files/MathJax.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/docs/images/nltk_usage_files/MathJax.js -------------------------------------------------------------------------------- /docs/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/docs/index.rst -------------------------------------------------------------------------------- /docs/install.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/docs/install.rst -------------------------------------------------------------------------------- /docs/py-modindex.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/docs/py-modindex.rst -------------------------------------------------------------------------------- /docs/requirements.txt: -------------------------------------------------------------------------------- 1 | better_apidoc 2 | flask 3 | nltk_theme 4 | six 5 | Sphinx 6 | -------------------------------------------------------------------------------- /module_dependencies/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/module_dependencies/__init__.py -------------------------------------------------------------------------------- /module_dependencies/module/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/module_dependencies/module/__init__.py -------------------------------------------------------------------------------- /module_dependencies/module/module.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/module_dependencies/module/module.py -------------------------------------------------------------------------------- /module_dependencies/module/query.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/module_dependencies/module/query.txt -------------------------------------------------------------------------------- /module_dependencies/module/session.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/module_dependencies/module/session.py -------------------------------------------------------------------------------- /module_dependencies/source/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/module_dependencies/source/__init__.py -------------------------------------------------------------------------------- /module_dependencies/source/api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/module_dependencies/source/api.py -------------------------------------------------------------------------------- /module_dependencies/source/factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/module_dependencies/source/factory.py -------------------------------------------------------------------------------- /module_dependencies/source/source.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/module_dependencies/source/source.py -------------------------------------------------------------------------------- /module_dependencies/source/visitor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/module_dependencies/source/visitor.py -------------------------------------------------------------------------------- /module_dependencies/util/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/module_dependencies/util/__init__.py -------------------------------------------------------------------------------- /module_dependencies/util/tokenize.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/module_dependencies/util/tokenize.py -------------------------------------------------------------------------------- /paper.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/paper.pdf -------------------------------------------------------------------------------- /requirements-dev.txt: -------------------------------------------------------------------------------- 1 | pre-commit 2 | pytest 3 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | plotly 2 | requests 3 | tqdm 4 | -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/setup.py -------------------------------------------------------------------------------- /tests/source/expected/assign_then_call.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/tests/source/expected/assign_then_call.json -------------------------------------------------------------------------------- /tests/source/expected/import_base.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/tests/source/expected/import_base.json -------------------------------------------------------------------------------- /tests/source/expected/import_base_alias.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/tests/source/expected/import_base_alias.json -------------------------------------------------------------------------------- /tests/source/expected/import_base_split.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/tests/source/expected/import_base_split.json -------------------------------------------------------------------------------- /tests/source/expected/import_from.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/tests/source/expected/import_from.json -------------------------------------------------------------------------------- /tests/source/expected/import_from_alias.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/tests/source/expected/import_from_alias.json -------------------------------------------------------------------------------- /tests/source/expected/import_from_split.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/tests/source/expected/import_from_split.json -------------------------------------------------------------------------------- /tests/source/expected/import_long.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/tests/source/expected/import_long.json -------------------------------------------------------------------------------- /tests/source/expected/import_long_alias.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/tests/source/expected/import_long_alias.json -------------------------------------------------------------------------------- /tests/source/expected/import_long_split.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/tests/source/expected/import_long_split.json -------------------------------------------------------------------------------- /tests/source/expected/import_module.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/tests/source/expected/import_module.json -------------------------------------------------------------------------------- /tests/source/expected/import_variable.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/tests/source/expected/import_variable.json -------------------------------------------------------------------------------- /tests/source/expected/import_wildcard.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/tests/source/expected/import_wildcard.json -------------------------------------------------------------------------------- /tests/source/expected/import_wordtok.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/tests/source/expected/import_wordtok.json -------------------------------------------------------------------------------- /tests/source/expected/import_wordtok_alias.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/tests/source/expected/import_wordtok_alias.json -------------------------------------------------------------------------------- /tests/source/input/assign_then_call.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/tests/source/input/assign_then_call.py -------------------------------------------------------------------------------- /tests/source/input/import_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/tests/source/input/import_base.py -------------------------------------------------------------------------------- /tests/source/input/import_base_alias.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/tests/source/input/import_base_alias.py -------------------------------------------------------------------------------- /tests/source/input/import_base_split.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/tests/source/input/import_base_split.py -------------------------------------------------------------------------------- /tests/source/input/import_from.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/tests/source/input/import_from.py -------------------------------------------------------------------------------- /tests/source/input/import_from_alias.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/tests/source/input/import_from_alias.py -------------------------------------------------------------------------------- /tests/source/input/import_from_split.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/tests/source/input/import_from_split.py -------------------------------------------------------------------------------- /tests/source/input/import_long.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/tests/source/input/import_long.py -------------------------------------------------------------------------------- /tests/source/input/import_long_alias.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/tests/source/input/import_long_alias.py -------------------------------------------------------------------------------- /tests/source/input/import_long_split.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/tests/source/input/import_long_split.py -------------------------------------------------------------------------------- /tests/source/input/import_module.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/tests/source/input/import_module.py -------------------------------------------------------------------------------- /tests/source/input/import_variable.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/tests/source/input/import_variable.py -------------------------------------------------------------------------------- /tests/source/input/import_wildcard.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/tests/source/input/import_wildcard.py -------------------------------------------------------------------------------- /tests/source/input/import_wordtok.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/tests/source/input/import_wordtok.py -------------------------------------------------------------------------------- /tests/source/input/import_wordtok_alias.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/tests/source/input/import_wordtok_alias.py -------------------------------------------------------------------------------- /tests/source/test_suite.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/tests/source/test_suite.py -------------------------------------------------------------------------------- /tests/source/unused/import_overridden.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/tests/source/unused/import_overridden.json -------------------------------------------------------------------------------- /tests/source/unused/import_overridden.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/tests/source/unused/import_overridden.py -------------------------------------------------------------------------------- /tests/source/unused/import_overridden_def.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/tests/source/unused/import_overridden_def.json -------------------------------------------------------------------------------- /tests/source/unused/import_overridden_def.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/tests/source/unused/import_overridden_def.py -------------------------------------------------------------------------------- /tests/source/unused/import_overridden_if.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/tests/source/unused/import_overridden_if.json -------------------------------------------------------------------------------- /tests/source/unused/import_overridden_if.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomaarsen/module_dependencies/HEAD/tests/source/unused/import_overridden_if.py --------------------------------------------------------------------------------