Pansy
Pansy copied to clipboard
Create ppm.py: PPM stands for Pansy Package Manager
This is the package manager I told you I'd PR to you over on discord. PPM stands for Pansy Package Manager. All the modules in PIP or NPM are located in a website and pip/npm downloads them from that website.I am using my website in this PR, but you can use any website you want. In that website, you need to upload a text file (.txt extension) and NOT a pansy file. The file will get converted to a pansy file later. This is because a browser doesn't know how to render the pansy file on the screen. So it will download it in the downloads folder or anywhere on the computer where the user specifies it to download. We do not want that to happen, so we download the txt file from the website, then rename its extension to .pansy. It gets downloaded in a folder called pansy_modules, in which all the modules we download are stored. This is usually how npm modules do it. once you download it, my script will print a success message, and you can access the modules via the imports() inbuilt function. This is my first contribution to open source, so be sure to give me some feedback on how I can improve! Hope you like it!