initial commit: add Arch Linux scripts

Add a collection of scripts used on Arch Linux for system automation
and maintenance.
This commit is contained in:
2025-06-13 23:42:07 +03:00
commit 58aa43e5a1
4 changed files with 18 additions and 0 deletions

12
translit_ru_on_us.py Executable file
View File

@@ -0,0 +1,12 @@
# /// script
# requires-python = ">=3.13"
# dependencies = [
# "transliterate"
# ]
# ///
from transliterate import translit
while True:
ru_text = input("Введите текст на русском: ")
us_text = translit(ru_text, language_code='ru', reversed=True)
print(f"***\n\n{us_text}\n\n***")