first commit

This commit is contained in:
Gwyn 2026-02-16 16:57:16 -05:00
commit 3886b7f1cd
3 changed files with 13 additions and 0 deletions

0
README.md Normal file
View file

12
clip-sort.py Normal file
View file

@ -0,0 +1,12 @@
import pyperclip as pycl
import sys
if __name__ == "__main__":
clip = pycl.paste()
if "\r\n" in clip: # Windows Carrige return case
cliplist = clip.split("\r\n")
else:
cliplist = clip.split("\n")
cliplist.sort()
pycl.copy("\n".join(cliplist))
sys.exit(0)

1
requirements.txt Normal file
View file

@ -0,0 +1 @@
pyperclip