question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Integration into `pip`

See original GitHub issue

In 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:

  1. If we merge into pip, should we drop our pip-api dependency and use pips internal APIs directly?
  2. Does it make sense to maintain a parallel “standalone” pip-audit that has functionality pip might not want (e.g. container scanning)?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
dicommented, Jul 25, 2022

I turned this issue into a roadmap here: https://github.com/trailofbits/pip-audit/issues/335

1reaction
dicommented, Oct 26, 2021

If we merge into pip, should we drop our pip-api dependency and use pips internal APIs directly?

I haven’t fully thought this through, but my original plan for pip-audit was that if it was vendored into pip, that it would somehow determine that it was vendored and use pip’s internal API instead of calling out to subprocesses – effectively becoming a wrapper around these internal APIs, allowing any project that uses pip-api to eventually become easy to integrate into pip itself.

That would allow us to vender both pip-audit and pip-api directly into pip, without having to do significant rewrites of either during the vendoring process, and without having to use subprocesses in pip-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 what pip’s internal APIs, they might have diverged in a way that would make this challenging.

Does it make sense to maintain a parallel “standalone” pip-audit that has functionality pip might not want (e.g. container scanning)?

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 for pip-api, that’s not included when it’s vendored, for example.

Read more comments on GitHub >

github_iconTop 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 >
integrate - PyPI
Test framework for integration tests with dependencies.
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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found