idk wtf is this, just cleaned a shit to produce a shit. fuck this boredom

This commit is contained in:
b33lz3bub 2021-11-21 18:07:39 +05:30
parent b1d79c4460
commit ead36c4700
4 changed files with 1669 additions and 0 deletions

Binary file not shown.

22
emoji_picker/app.py Normal file
View File

@ -0,0 +1,22 @@
from emoji import emoji_list
import re
import json
emoji_broken_chunks = emoji_list.split("\n")
emoji_split = [
re.sub('\s+',' ', emoji_data).split(" ") for emoji_data in emoji_broken_chunks
]
emoji_data = { }
for emoji_unfiltered in emoji_split:
# emoji_data[ ' '.join( emoji_unfiltered[1:len(emoji_unfiltered)] ).split(";")[0] ] = re.sub( '\([A-Za-z])\w+' , '' , emoji_unfiltered[0] )
emoji_data[ ' '.join( emoji_unfiltered[1:len(emoji_unfiltered)] ).split(";")[0] ] = re.sub(r'([A-Za-z])\w+', '', emoji_unfiltered[0])
emoji_file = open("emoji_filtered.json", "w+")
emoji_data.pop('')
emoji_file.write(str(emoji_data))

1646
emoji_picker/emoji.py Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long