depsdev
Table of Contents
Overview
Thin Python wrapper (async-first) around the public deps.dev REST API plus an optional Typer-based CLI. Provides straightforward methods mapping closely to the documented endpoints; responses are returned as decoded JSON (dict / list). Alpha endpoints can be enabled via DEPSDEV_V3_ALPHA=true and may change without notice.
Installation
pip install depsdev # library only
pipx install depsdev[cli] # CLI
uv tool install depsdev[cli] # CLI
CLI Usage
[flavio@Mac ~/dev/github.com/FlavioAmurrioCS/depsdev][main ✗]
$ depsdev --help
Usage: depsdev [OPTIONS] COMMAND [ARGS]...
╭─ Options ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --install-completion [bash|zsh|fish|powershell|pwsh] Install completion for the specified shell. │
│ --show-completion [bash|zsh|fish|powershell|pwsh] Show completion for the specified shell, to copy it or customize the installation. │
│ --help Show this message and exit. │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ report Show vulnerabilities for packages in a file. │
│ api A CLI tool to interact with the https://docs.deps.dev/api/ │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Utils ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ purl Extract package URLs from various formats. │
│ vuln Main function to analyze packages for vulnerabilities. │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Report mode
Parses depedency file and reports the vulnerabilities and the version where it was fixed.
[flavio@Mac ~/dev/github.com/FlavioAmurrioCS/depsdev][main ✗]
$ depsdev report --help
Usage: depsdev report [OPTIONS] FILENAME
Show vulnerabilities for packages in a file.
Example usage:
depsdev report requirements.txt
depsdev report pom.xml
depsdev report Pipfile.lock
╭─ Arguments ────────────────────────────────────────────────╮
│ * filename TEXT [required] │
╰────────────────────────────────────────────────────────────╯
╭─ Options ──────────────────────────────────────────────────╮
│ --help Show this message and exit. │
╰────────────────────────────────────────────────────────────╯
[flavio@Mac ~/dev/github.com/FlavioAmurrioCS/depsdev][main ✗]
$ uv export > requirements.txt
Resolved 34 packages in 6ms
[flavio@Mac ~/dev/github.com/FlavioAmurrioCS/depsdev][main ✗]
$ depsdev report requirements.txt
Analysing 10 packages...
Found 1 packages with advisories.
pkg:pypi/idna@3.6
┏━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Id ┃ Summary ┃ Fixed ┃
┡━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ GHSA-jjg7-2v4v-x38h │ Internationalized Domain Names in Applications (IDNA) vulnerable to denial of service from specially crafted inputs to idna.encode │ 3.7 │
│ PYSEC-2024-60 │ │ 1d365e17e10d72d0b7876316fc7b9… │
└─────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────────────────────────────┘
License
depsdev is distributed under the terms of the MIT license.
Metadata
Release files for depsdev 0.0.5
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 | |
|---|---|---|---|---|
| depsdev-0.0.5.tar.gz | 18.4 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| depsdev-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 36.4 kB
Release files / depsdev-0.0.5.tar.gz
| Download URL | depsdev-0.0.5.tar.gz |
|---|---|
| Size | 18.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9bee161670b2a61c9b3a4a1c6a551168ebcbafb213bd7a22dd5f759d4cd99c36
|
|
BLAKE2b-256 checksum How to use checksums |
2fc0ec3953cf2d46f6a5720ff876333fd8de70296dfd4a5ea8f179df82e0ed28
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 23, 2025.
Transparency logRelease files / depsdev-0.0.5-py3-none-any.whl
| Download URL | depsdev-0.0.5-py3-none-any.whl |
|---|---|
| Size | 18.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ea05fb832247383fff472116188ddd3e416b9fffe57686dd2d3e1ec1d2533a12
|
|
BLAKE2b-256 checksum How to use checksums |
c49dbd8e1d7bb3281b3a6891509c4b47b2ab428389121ac8f96f2897d5d3ece3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 23, 2025.
Transparency logSecurity for depsdev 0.0.5
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for depsdev-0.0.5.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 23, 2025.
Transparency logA 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.