No description
Find a file
2021-04-22 22:51:07 +03:00
.github/workflows Fix coveralls integration, hopefully 2021-01-18 16:45:40 +02:00
tests Fix accidental module aliasing 2019-10-31 21:55:13 +02:00
.coveragerc Enable coverage-python-version 2020-11-30 09:47:16 +02:00
.gitignore Add a tox.ini 2013-04-10 19:38:12 +03:00
.travis.yml Enable coverage-python-version 2020-11-30 09:47:16 +02:00
appveyor.yml Add Python 3.9 support 2020-10-27 12:17:17 +02:00
CHANGES.rst Add Python 3.9 support 2020-10-27 12:17:17 +02:00
findimports.py Drop the "or any later version" licence clause 2021-04-15 12:42:08 +03:00
LICENSE Rename LICENCE to LICENSE 2016-09-22 11:34:34 +03:00
Makefile Enable coverage-python-version 2020-11-30 09:47:16 +02:00
MANIFEST.in Make check-manifest happy 2020-05-03 18:50:24 +03:00
README.rst Drop the "or any later version" licence clause 2021-04-15 12:42:08 +03:00
release.mk Update to newer release.mk 2021-04-22 22:51:07 +03:00
setup.cfg Set up isort in CI 2020-12-06 19:18:53 +02:00
setup.py Set up isort in CI 2020-12-06 19:18:53 +02:00
tests.py Set up isort in CI 2020-12-06 19:18:53 +02:00
testsuite.py Set up isort in CI 2020-12-06 19:18:53 +02:00
tox.ini Set up check-manifest and check-python-versions on CI 2020-12-08 12:34:21 +02:00

FindImports
===========

FindImports extracts Python module dependencies by parsing source files.
It can report names that are imported but not used, and it can generate
module import graphs in ASCII or graphviz formats.

A distinguishing feature of findimports used to be that it could parse doctest
code inside docstrings.

Note that not all cases are handled correctly, especially if you use
'import foo.bar.baz'.

If you need to find unused imports in your codebase, I recommend Pyflakes_
instead -- it's better maintained and more reliable.  For import graphs
consider pydeps_ or snakefood_.

.. _Pyflakes: https://pypi.org/project/pyflakes/
.. _pydeps: https://pypi.org/project/pydeps/
.. _snakefood: https://pypi.org/project/snakefood/


Misc
----

Home page: https://github.com/mgedmin/findimports

Licence: GPL v2 or v3 (https://www.gnu.org/copyleft/gpl.html)

|buildstatus|_ |appveyor|_ |coverage|_

.. |buildstatus| image:: https://github.com/mgedmin/findimports/workflows/build/badge.svg?branch=master
.. _buildstatus: https://github.com/mgedmin/findimports/actions

.. |appveyor| image:: https://ci.appveyor.com/api/projects/status/github/mgedmin/findimports?branch=master&svg=true
.. _appveyor: https://ci.appveyor.com/project/mgedmin/findimports

.. |coverage| image:: https://coveralls.io/repos/mgedmin/findimports/badge.svg?branch=master
.. _coverage: https://coveralls.io/r/mgedmin/findimports