aboutsummaryrefslogtreecommitdiff
path: root/alphanum/alphanum.py
diff options
context:
space:
mode:
Diffstat (limited to 'alphanum/alphanum.py')
-rw-r--r--alphanum/alphanum.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/alphanum/alphanum.py b/alphanum/alphanum.py
new file mode 100644
index 0000000..6fc2f03
--- /dev/null
+++ b/alphanum/alphanum.py
@@ -0,0 +1,5 @@
+from random import choices
+
+
+def generate(length=1) -> str:
+ return ''.join(choices('abcdefghijklmnopqrstuvwxyz0123456789', k=length))