Grimp

Latest version: v3.7.1

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

Scan your dependencies

Page 6 of 7

1.0b8

----------------
* Add as_packages parameter to direct_import_exists.

1.0b7

-----------------
* Add count_imports method.

1.0b6

-----------------
* Support building the graph with external packages.

1.0b5

-----------------
* Rename get_shortest_path to get_shortest_chain.
* Rename path_exists to chain_exists.
* Rename and reorder the kwargs for get_shortest_chain and chain_exists.
* Raise ValueError if modules with shared descendants are passed to chain_exists if as_packages=True.

1.0b4

----------------
* Improve repr of ImportGraph.
* Fix bug with find_shortest_path using upstream/downstream the wrong way around.

1.0b3

------------------
* Fix bug with analysing relative imports from within __init__.py files.
* Stop skipping analysing packages called ``migrations``.
* Deal with invalid imports by warning instead of raising an exception.
* Rename NetworkXBackedImportGraph to ImportGraph.

Page 6 of 7

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.