A simple utility to pack (concatenate) and unpack (reconstruct) tiny Python projects. It allows you to concatenate all .py
files in a project into a single text file, and then reconstruct the original project structure from the concatenated file.
This is made for my own very specific use case and it's offered as is with no guarantees that it will work for you.
pip install git+https://github.com/niccolofavari/ppu.git
To concatenate a project:
ppu pack <project_folder>
This will create a file named <project_folder>.txt
with the concatenated source code.
To reconstruct a project:
ppu unpack <project_folder>
This will read the <project_folder>.txt
file and reconstruct the original project structure in the specified folder.
This project is licensed under the MIT License. See the LICENSE file for details.