New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

python-pip

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

python-pip

Python PIP thin wrapper

  • 1.1.1
  • PyPI
  • Socket score

Maintainers
1

Python PIP Wrapper

A thin wrapper around PIP which can be used at runtime.

Run CI

Installation


1. Install package from PyPi

pip install python-pip

2. Create a virtual environment

python -m venv venn

3. Activate the virtual environment

./venv/Scripts/activate

4. Running tests after installation

pip install -r requirements-tests.txt
pytest

Example output

=================== test session starts ===================
platform win32 -- Python 3.9.2, pytest-7.1.1, pluggy-1.0.0
rootdir: D:\Personal Projects\python-pip
collected 6 items
src\tests\test_all.py ...... [100%] 
=================== 6 passed in 9.64s ===================

5. Install all required libraries

There are no requirements at the moment

6. Usage

from python_pip import pip
# Initialize object
pip = pip.PIP()
print(pip.version)
# Install a package
pip.install(package_name='requests')
# Uninstall a package
pip.uninstall(package_name='requests')

Contributing

You are welcome to contribute to the repo as you like

Authors and acknowledgment

Jordan Raychev

Email: jpraychev at gmail dot com

Website: https://jraychev.com

License

MIT. Please refer to LICENSE file

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc