Added Spoutnik
This commit is contained in:
9
utils.py
Normal file
9
utils.py
Normal file
@@ -0,0 +1,9 @@
|
||||
import unidecode
|
||||
from enum import Enum
|
||||
|
||||
def serialize(string):
|
||||
return unidecode.unidecode(string.lower().strip().replace(" ", "").replace("-", "").replace("'", "").replace(".", ""))
|
||||
|
||||
class EnumZero(Enum):
|
||||
def _generate_next_value_(name, start, count, last_values):
|
||||
return count
|
||||
Reference in New Issue
Block a user