safety dependencies

Safety is used in Python projects. Scan dependencies for known vulnerabilities and licenses. It has 19 direct runtime dependencies. Check its dependency graph on PyDeps to understand the full transitive dependency tree, reverse dependents, known CVEs, and license compatibility before installing.

What is safety?

Scan dependencies for known vulnerabilities and licenses.

What are the dependencies of safety?

safety declares 19 direct runtime dependencies on PyPI. Each one is resolved into the full dependency tree below:

safety transitive dependencies

Beyond its direct dependencies, safety can pull in further packages through its dependency tree. PyDeps resolves the entire chain from PyPI and deps.dev so you can see every transitive (nested) dependency of safety, expand any node on demand, and understand the full set of code that ships when you run pip install safety.

Does safety have known vulnerabilities (CVEs)?

PyDeps checks safety and every package in its dependency tree against the OSV vulnerability database in real time. For each CVE you can see the severity, the affected version ranges, and the first fixed version, so you know exactly which safety version is safe to install before you ship.

What license does safety use?

safety is distributed under the MIT license. PyDeps also shows the license of every dependency in the tree so you can audit license compatibility across your whole safety install, not just the top-level package.

How to install safety with all dependencies

Install from PyPI with pip install safety. For offline or air-gapped environments, PyDeps can download safety together with every resolved dependency as wheel files in a single bundle, matched to your target Python version and operating system.

Which packages depend on safety?

Switch to the dependents view to see the reverse dependencies of safety — the PyPI packages that list safety as a requirement. Reverse dependencies are a strong signal of how widely a package is trusted and how disruptive a breaking change would be.

Packages related to safety

PyDeps