Import-tracker

Latest version: v3.2.1

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 6

1.0.2

Change Log

* Fix tracking for third-party libraries that are compiled as `.so` files (eg via `cython`) (23)

1.0.1

Change Log

* Fix tracking for libraries that use `lazy_import_errors` (22)

1.0.0

Change Log

This is the initial "official" release! It provides a set of stable uses:

* Run directly: `python3 -m import_tracker --name <my_module>`
* Enable lazy import errors: `with import_tracker.lazy_import_errors(): ...`
* Programmatically determine arguments to `setuptools.setup`: `import_tracker.setup_tools.parse_requirements(...)`

0.0.8

Change Log

* `setup_tools.parse_requirements` now adds a special `"all"` group to `extras_require` that will alias to the union of all optional dependency sets

0.0.7

Change Log

* Add new `import_tracker.setup_tools.parse_requirements` that produces the `requirements` and `extras_require` arguments for `setuptools.setup`
* Defer import errors further so that most import-time attribute usage does not raise for missing optional dependencies
* For imports with no known package mapping, assume the import name is the package
* Expose `LazyModule` as part of the public API since its useful for consuming projects

0.0.6

Change Log

* Add `get_tracked_imports` to allow libraries to introspect all of their tracked imports

Page 5 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.