Importwatch is a project mainly written in Python, based on the GPL-3.0 license.
Python import tracking/logging for profiling. Doesn't actually work.
:Authors: Scott Torborg (storborg) :Version: 0.2
This library tracks module imports. That's it.
Note Use at your own risk!
Simple as::
$ pip install importwatch
Or with easy_install::
$ easy_install importwatch
Or if you prefer, download the source and then::
$ python setup.py build
$ python setup.py install
import importwatch importwatch.start() run_lots_of_code_which_imports_stuff()
That's it!
Just care about your package?
import importwatch importwatch.start('^myapp')
To make importwatch more useful, you'll want to configure some special logging. Do it like:
[logger_importwatch]
level = INFO
handlers = console
qualname = importwatch
Importwatch is released under the GNU General Public License (GPL). See the LICENSE file for full text of the license.
.. # vim: syntax=rst expandtab tabstop=4 shiftwidth=4 shiftround