Skip to content

Qazaroth/PGet

Repository files navigation

PGet

Python port for BGet, at least that was the main idea... You can run the files either through the batch files provided or your own command prompt.

PIP is required for this to work. It will be pre-installed when you install the latest version of Python.

Python Version Used: 3.8.2

Get Python here: https://www.python.org/downloads/

CMD:

Pget list error

Pget list online

Pget get script

Table of Contents

  1. Introduction
  2. Features
  3. Running PGet
  4. Bugs & Fixes
  5. Switches
  6. Contact

Introduction

PGet is essentially just a python port for BGet, but now, it's BGet but for Python. It's a tool for handling Python scripts and files. It is built to help script writers and users alike to easily download, update and remove scripts.

Features

  1. Download scripts from the PGet server: The scripts are vetted and sorted by us. As of now, the selection are few but if you want to add your scripts, do contact us at here.
  2. Update scripts: Instead of manually re-downloading the latest version of every script, PGet handles that for you. Just run -get "SCRIPT_NAME" and it'll update the script for you if you already have it downloaded.
  3. Easily remove scripts: Don't like a script you downloaded? Easily remove it with PGet! All it takes is just one command line!
  4. Update feature: PGet also updates itself or at least checks for new updates so that you are always up-to-date.

Running PGet

Before even running PGet, be sure to install requests and inquirerpy package from pip. You can do so by typing: pip install requests and pip install inquirerpy in a command prompt or powershell or any terminal of your preference.

For Windows Users: You can use the batch files provided
For Non-Windows Users: You'll have to manually start the python file yourself.

Here's an example:

Fetching a script named test from the server. The easiest way to do this would be:

  1. Start pget.py or pget.bat:

    • If starting pget.py:
      • Open Command prompt, navigate to PGet folder.
      • Type: python pget.py
    • If starting pget.bat, just double click it and start it like how you start any other applications.
  2. Once PGet is running, type in fetch test

Bugs and Fixes:

Generally for any error, if it doesn't resolve itself or not something stupid done by OS, you can just redownload from the github and it should work. If it doesn't, then do be patient as the developer may be working on it.

If it says that there is no new update while there clearly is, you can navigate to bin/hash.txt and change the value inside to 0 or just download the new update from github. This rarely occurs but there are chances it might.

Switches

You'll see the available switches/commands when you start PGet.

Contact

If you're having an issue with PGet or would like to submit a script. Well, as of now, you can't, but in the future, it'll be possible.