Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 678 Bytes

README.md

File metadata and controls

37 lines (24 loc) · 678 Bytes

pip-module

Python module for using pip from Python scripts

Installation

To install the module, clone this repository

git clone https://github.com/PiciAkk/pip-module

Usage

  1. Go to the cloned folder
cd pip-module
  1. Make a new Python script
touch main.py
  1. Write something in that script
from pip-module import pip

pip().install("packageName") # install the package with the name `packageName` 
pip().uninstall("packageName") # uninstall the package with the name `packageName`

pip().runCommand("command", "packageName") # run the command `command`, with the name `packageName`

# more functions coming soon