.
.
Wildcard LoRA Lister
.
.
Here are two Python scripts that'll list all the LoRAs inside a wildcard text file. (They are on the right of the page, or perhaps below if you're on mobile or a narrow screen.)
It could be helpful for bloated wildcard files, or to assist you in deleting/archiving LoRAs you've downloaded but are not actually using in your generations.
All the script does is look for text within <> brackets, then extracts it out and cleans it up. It'll output the list into a new text file, in which each of the LoRAs are listed alphabetically.
The NoWeights version also removes the weights (:X.X) at the end of each line.
To run the script,
Open a cmd window, Powershell window (or whatever you use on your system). I assume you have Python installed already if you are using Stable Diffusion on your PC.
Type 'py loraLister.py' and hit enter.
Select the wildcard text file you want to list out the LoRAs from.
The script puts the output file into the directory where the script is run from, and names it 'output_wildcardfilename'.