Skip to main content

Safer python package installation with audit and consent before install

Project description

pipask: pip with informed consent

pipask-demo

Installation

The recommended way to install pipask is with pipx so that pipask dependencies are isolated from the rest of your system:

pipx install pipask

Alternatively, you can install it using pip:

pip install pipask

Usage

  1. Once installed, you can use pipask as a drop-in replacement for pip, e.g.,:
    pipask install 'requests>=2.0.0'
    
  2. pipask will perform checks on the requested packages to be installed (i.e., it will not check transitive dependencies).
  3. pipask will print a report with the results and prompt you whether to continue with the installation.
  4. If you proceed, pipask will hand over the actual installation to pip.

To run checks without installing, you can use the --dry-run flag:

pipask install requests --dry-run

In order to use pipask as a drop-in replacement for pip, you can create an alias:

alias pip='pipask'

Checks

  • Popularity of the source repository as measured by the number of stars on GitHub or GitLab (warning below 1000 stars)
  • Number of downloads from PyPI in the last month (warning below 1000 downloads)
  • Package and release age (warning for packages with no release older than 22 days, or for releases older than 365 days)
  • Check for development status and yanked status in PyPI metadata
  • License availability

More checks will be added in the future. Feel free to contribute or open an issue to request a check.

Development

See CONTRIBUTING.md for development guidance.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pipask-0.6.2.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pipask-0.6.2-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

Details for the file pipask-0.6.2.tar.gz.

File metadata

  • Download URL: pipask-0.6.2.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pipask-0.6.2.tar.gz
Algorithm Hash digest
SHA256 2b126371e4e24995d76469a926805c2cca3369cf1ace6b9aba2ff807b5bc5397
MD5 a80576a50ada4b155719b590f4e37a3c
BLAKE2b-256 4d18bd30011722b56c4a8a5dd58b6d11c93f8993a6c5b6ee42e71485c45be64a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pipask-0.6.2.tar.gz:

Publisher: release.yaml on feynmanix/pipask

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pipask-0.6.2-py3-none-any.whl.

File metadata

  • Download URL: pipask-0.6.2-py3-none-any.whl
  • Upload date:
  • Size: 17.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pipask-0.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 349aeb05fc5477dec473818b4009819b88813ee9b0f3c31dace845791dc3a492
MD5 35bf29f9d3811776b6b524a78a1c6467
BLAKE2b-256 fb1252738d7e1c7f445b79762c1a7f388878d42405d94b0aac2bcb09ae22926d

See more details on using hashes here.

Provenance

The following attestation bundles were made for pipask-0.6.2-py3-none-any.whl:

Publisher: release.yaml on feynmanix/pipask

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page