Name | safe-pip JSON |
Version |
1.0.1
JSON |
| download |
home_page | https://github.com/gkpln3/safe-pip |
Summary | A safer pip that checks package health before installation. |
upload_time | 2024-12-03 20:43:53 |
maintainer | None |
docs_url | None |
author | Guy Kaplan |
requires_python | None |
license | None |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# safe-pip
`safe-pip` is a wrapper around the standard `pip` command that checks the health score of a package from [Snyk Advisor](https://snyk.io/advisor/python/) before installation. It informs you about the package's health and asks for confirmation before proceeding.
## Installation
Install `safe-pip` using pip:
```bash
pip install safe-pip
```
## Usage
Use safe-pip just like you would use pip:
```bash
safe-pip install package_name
```
## Replacing `pip` with `safe-pip`
If you want to replace the pip command with safe-pip, you can create an alias or a symbolic link.
Use this one-liner to add the following line to your shell's configuration file (e.g., .bashrc, .zshrc):
### Zsh
```bash
echo "alias pip3='safe-pip'" >> ~/.zshrc
source ~/.zshrc
```
### Bash
```bash
echo "alias pip3='safe-pip'" >> ~/.bashrc
source ~/.bashrc
```
### Fish
```bash
alias -s pip3 "safe-pip"
```
The original pip could still be used by running:
```bash
python3 -m pip3
```
## Requirements
- Python 3.x
- The following Python packages (will be installed automatically):
- `requests`
- `colorama`
## License
This project is licensed under the MIT License.
## Contributing
Contributions are welcome! Please open an issue or submit a pull request.
Raw data
{
"_id": null,
"home_page": "https://github.com/gkpln3/safe-pip",
"name": "safe-pip",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": "Guy Kaplan",
"author_email": "gkpln3@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/68/b3/3227d440d6529a1f93632e6e85056a9610fbfc66a1136f8a20cb00eb46b4/safe-pip-1.0.1.tar.gz",
"platform": null,
"description": "# safe-pip\n\n`safe-pip` is a wrapper around the standard `pip` command that checks the health score of a package from [Snyk Advisor](https://snyk.io/advisor/python/) before installation. It informs you about the package's health and asks for confirmation before proceeding.\n\n## Installation\n\nInstall `safe-pip` using pip:\n\n```bash\npip install safe-pip\n```\n\n## Usage\nUse safe-pip just like you would use pip:\n\n```bash\nsafe-pip install package_name\n```\n\n## Replacing `pip` with `safe-pip`\nIf you want to replace the pip command with safe-pip, you can create an alias or a symbolic link.\n\nUse this one-liner to add the following line to your shell's configuration file (e.g., .bashrc, .zshrc):\n \n### Zsh\n```bash\necho \"alias pip3='safe-pip'\" >> ~/.zshrc\nsource ~/.zshrc\n```\n\n### Bash\n```bash\necho \"alias pip3='safe-pip'\" >> ~/.bashrc\nsource ~/.bashrc\n```\n\n### Fish\n```bash\nalias -s pip3 \"safe-pip\"\n```\n\nThe original pip could still be used by running:\n\n```bash\npython3 -m pip3\n```\n\n## Requirements\n- Python 3.x\n- The following Python packages (will be installed automatically):\n - `requests`\n - `colorama`\n\n## License\nThis project is licensed under the MIT License.\n\n## Contributing\nContributions are welcome! Please open an issue or submit a pull request.\n\n\n",
"bugtrack_url": null,
"license": null,
"summary": "A safer pip that checks package health before installation.",
"version": "1.0.1",
"project_urls": {
"Homepage": "https://github.com/gkpln3/safe-pip"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "68b33227d440d6529a1f93632e6e85056a9610fbfc66a1136f8a20cb00eb46b4",
"md5": "feda50fb911993299947a5328074e4a5",
"sha256": "9388f63a06d83ffd37ee6762dfff82243f918cb5d1d1bccb3b60b6ba6b141962"
},
"downloads": -1,
"filename": "safe-pip-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "feda50fb911993299947a5328074e4a5",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3745,
"upload_time": "2024-12-03T20:43:53",
"upload_time_iso_8601": "2024-12-03T20:43:53.963088Z",
"url": "https://files.pythonhosted.org/packages/68/b3/3227d440d6529a1f93632e6e85056a9610fbfc66a1136f8a20cb00eb46b4/safe-pip-1.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-03 20:43:53",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "gkpln3",
"github_project": "safe-pip",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "safe-pip"
}