Integration into `pip`
See original GitHub issueIn the medium-to-long-term, it would be great to make pip-audit
a subcommand of pip
, i.e. pip audit
.
This will involve coordination with pip
as the upstream, and requires us to figure a few things out, including but not limited to:
- If we merge into
pip
, should we drop ourpip-api
dependency and usepip
s internal APIs directly? - Does it make sense to maintain a parallel “standalone”
pip-audit
that has functionalitypip
might not want (e.g. container scanning)?
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Packaged Integration Process (PIP) as a Tool for Accelerated ...
PIPs are predefined application integrations designed to automate and standardize typical business processes that require the integration of ...
Read more >Practice Integration Profile (PIP) - UMass Medical School
Any member of a primary care team can complete the Practice Integration Profile (PIP) survey to assess degree of integration of behavioral health...
Read more >Picture-in-picture (PiP) support - Android Developers
PiP is a special type of multi-window mode mostly used for video playback. It lets the user watch a video in a small...
Read more >Process Integration Packs (PIP) - Zero Wait-State
These integration packages span Oracle's application solutions, such as Siebel CRM, PeopleSoft, Oracle E-Business Suite, AgilePLM, Portal, nd SAP. Since PIP is ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I turned this issue into a roadmap here: https://github.com/trailofbits/pip-audit/issues/335
I haven’t fully thought this through, but my original plan for
pip-audit
was that if it was vendored intopip
, that it would somehow determine that it was vendored and usepip
’s internal API instead of calling out to subprocesses – effectively becoming a wrapper around these internal APIs, allowing any project that usespip-api
to eventually become easy to integrate intopip
itself.That would allow us to vender both
pip-audit
andpip-api
directly intopip
, without having to do significant rewrites of either during the vendoring process, and without having to use subprocesses inpip-api
.That said, this hasn’t really been explored yet. While I’ve tried to keep
pip-api
’s API as close as possible to whatpip
’s internal APIs, they might have diverged in a way that would make this challenging.I think long-term we want to maintain a standalone regardless, with the goal of that standalone being vendored into
pip
.We can wait to make a call on what features are included in this until we see how much of a lift it would be to include things like container scanning as part of
pip
. We could potentially include it as an extra forpip-api
, that’s not included when it’s vendored, for example.