Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 67 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,70 @@

# PYI-Installer
A tool to download python libraries easily.

You must have pip installed.
# Version
PYI is currently on v1.1.1 (perfect ones!)
A simple Python tool to automate `pip` installations using `pyautogui` on Windows.

> **Note:** This tool is designed for **Windows only** and functions by automating keyboard and mouse inputs. It is intended as a fun project to demonstrate automation, not as a replacement for regular `pip` usage.

## ⚙️ What It Does

PYI-Installer is a small command-line utility that wraps the `pip install` command. Instead of you opening PowerShell and typing the command, this script does it for you by simulating the necessary keystrokes.

**Key Features:**

* Automates opening a new PowerShell window.
* Automates typing the `pip install <package_name>` command.
* Provides a simple, looped prompt to install multiple packages in a row.

## 🛠️ Prerequisites

Before you begin, ensure you have the following installed:

* Windows Operating System
* [Python 3](https://www.python.org/downloads/) (ensure it's added to your PATH)
* `pip` (which is included with modern Python versions)
* The `pyautogui` library.

You can install `pyautogui` by opening PowerShell and running:

```shell
pip install pyautogui
```

## 🚀 How to Use

1. **Clone the repository:**

```bash
git clone https://github.com/26Gcode/PYI-Installer.git
```

2. **Navigate to the project directory:**

```bash
cd PYI-Installer
```

3. **Run the script:**

```bash
python main.py
```

4. **Follow the prompts:**

* The script will first ask if you have `pyautogui` installed. Type `Y` and press Enter.
* You will then be prompted to enter the name of the Python library you want to install.

<!-- end list -->

```
PYI INSTALLER: <your_package_name_here>
```

5. **⚠️ IMPORTANT ⚠️**
After you press Enter, the script will take control of your mouse and keyboard to open PowerShell and run the installation. **Do not move your mouse or type during this process.**

Once the installation is complete, the PowerShell window will close, and you will be returned to the prompt to install another package.



PYI is only available on Windows