Safer python package installation with audit and consent before install
Project description
pipask: pip with informed consent
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
- Once installed, you can use
pipaskas a drop-in replacement forpip, e.g.,:pipask install 'requests>=2.0.0'
pipaskwill perform checks on the requested packages to be installed (i.e., it will not check transitive dependencies).- You will get a report with the results and be prompted whether to continue with the installation.
- If you proceed,
pipaskwill hand over the actual installation topip.
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)
- Package and release age (warning for packages with no release older than 22 days, or for releases older than 365 days)
- Known vulnerabilities in the package available in PyPI (failure for HIGH or CRITICAL vulnerabilities, warning for MODERATE vulnerabilities)
- Check for development status and yanked status in PyPI metadata
- Number of downloads from PyPI in the last month (warning below 1000 downloads; take this with a grain of sault for reasons outlined in PyPI documentation)
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pipask-0.8.1.tar.gz.
File metadata
- Download URL: pipask-0.8.1.tar.gz
- Upload date:
- Size: 323.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
139179dc6f72e7751e1d95720df08fe39667c81ddd96e56fc3f879af11b8c63d
|
|
| MD5 |
ffe89a5debd309d2baf178c52dbf733e
|
|
| BLAKE2b-256 |
fc22882a5c50e271c04ab47e60a9a1cbe202be0f1d393bc0b066e580ba9855e6
|
Provenance
The following attestation bundles were made for pipask-0.8.1.tar.gz:
Publisher:
release.yaml on feynmanix/pipask
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pipask-0.8.1.tar.gz -
Subject digest:
139179dc6f72e7751e1d95720df08fe39667c81ddd96e56fc3f879af11b8c63d - Sigstore transparency entry: 199932306
- Sigstore integration time:
-
Permalink:
feynmanix/pipask@478b077a6af3523c72c015e9dcf001abe4f12fb9 -
Branch / Tag:
refs/tags/0.8.1 - Owner: https://github.com/feynmanix
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@478b077a6af3523c72c015e9dcf001abe4f12fb9 -
Trigger Event:
release
-
Statement type:
File details
Details for the file pipask-0.8.1-py3-none-any.whl.
File metadata
- Download URL: pipask-0.8.1-py3-none-any.whl
- Upload date:
- Size: 403.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4bb9ac43b257e0fbbd01c36742a6183be572e1b3052055143cb329c352942e27
|
|
| MD5 |
ce558d2c6de6fd33feeeddf2ff497b8d
|
|
| BLAKE2b-256 |
9bd9363b00da669906ab863d76d83bbe891ddfd2ba3dc76d6b3537be79411797
|
Provenance
The following attestation bundles were made for pipask-0.8.1-py3-none-any.whl:
Publisher:
release.yaml on feynmanix/pipask
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pipask-0.8.1-py3-none-any.whl -
Subject digest:
4bb9ac43b257e0fbbd01c36742a6183be572e1b3052055143cb329c352942e27 - Sigstore transparency entry: 199932310
- Sigstore integration time:
-
Permalink:
feynmanix/pipask@478b077a6af3523c72c015e9dcf001abe4f12fb9 -
Branch / Tag:
refs/tags/0.8.1 - Owner: https://github.com/feynmanix
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@478b077a6af3523c72c015e9dcf001abe4f12fb9 -
Trigger Event:
release
-
Statement type: