importwatch - See what your code is importing, and when.
- Authors:
Scott Torborg (storborg)
- Version:
0.1
This library tracks module imports. That’s it.
Note Use at your own risk!
Installation
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
Example
>>> import importwatch >>> importwatch.start() >>> run_lots_of_code_which_imports_stuff() >>> # That's it!
Just care about your package?
>>> import importwatch
>>> importwatch.start('^myapp')
Logging Configuration
To make importwatch more useful, you’ll want to configure some special logging. Do it like:
[logger_importwatch] level = INFO handlers = console qualname = importwatch
License
Packagetrack is released under the GNU General Public License (GPL). See the LICENSE file for full text of the license.
Metadata
Release files for importwatch 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| importwatch-0.2.tar.gz | 14.5 kB | Without provenance | Details for importwatch-0.2.tar.gz |
Release files / importwatch-0.2.tar.gz
| Download URL | importwatch-0.2.tar.gz |
|---|---|
| Size | 14.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
08e5c2ac0d42c085b89143b4c933917d693dfe9388b8a225f4226e26f4996c52
|
|
BLAKE2b-256 checksum How to use checksums |
e77431e2eb7873ebec3643b24f0decbf21f1be9b13f59321f223835369eecb13
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for importwatch 0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.