Lightweight Python utility library: one-liner helpers for beginners (smart input, print shortcuts, files, random)
Project description
🛠 zaxy-Framework (v0.3.0)
zaxy is a powerful Python utility library that simplifies standard boilerplate code into clean, one-line commands. zaxy — это производительная библиотека для Python, превращающая громоздкий стандартный код в чистые однострочные команды.
[EN] Developed by maks39P. Created on February 8, 2026, by a 14-year-old developer with minimal use of AI. [RU] Разработчик: maks39P. Создано 8 февраля 2026 г. 14-летним разработчиком с минимальным использованием ИИ.
EN | Installation
pip install zaxy
EN | Core Documentation
0.Framework initialization inside the code (required)
- connect()
- Console Output & Control
- tx(*args): Shortcut for print().
- clr() / clear(): Clears terminal screen (supports Windows/Linux).
- pau(text) / pause(text): Execution pause (replaces input() for waiting).
- Smart Input & Global Variables Important: These functions inject variables directly into the global scope (globals).
- ir("var_name", "prompt"): Replaces [ var_name = input("prompt") ]
- irn("var_name", "prompt"): Replaces [ var_name = int(input("prompt")) ] (includes protection against non-integer input).
- irf("var_name", "prompt"): Replaces [ var_name = float(input("prompt")) ] (supports both dots and commas).
- File System (OS wrappers)
- ls(path): Returns list of files in directory.
- gwd(): Returns current working directory path.
- md(name): Creates a new directory.
- rm(path): Removes a FILE (does not remove directories). Includes Xa-System-Error protection.
- ren(old, new): Renames a file or directory.
- Randomization
- rn(a, b): Returns random integer (randint).
- rc(list): Returns random element from list (choice).
- sh(list): Shuffles list and returns it.
- Ordinary Python
print("What is your name?") name = input("> ") print("How old are you?") while True: try: age = int(input("> ")) break except: print("Please enter a number!") print(f"Hello, {name}! You are {age} years old.") import os os.system('cls' if os.name == 'nt' else 'clear') input("Press Enter to continue...")
5.5 Python with zaxy
from zaxy import * connect()
ir("name", "What is your name? > ") irn("age", "How old are you? > ") tx(f"Hello, {name}! You are {age} years old.") clr() pau("Press Enter to continue...")
RU | Инструкция по использованию
pip install zaxy
RU | Техническая документация
0.подключение фраемворка внутри кода(обязательно)
- connect()
- Вывод и управление консолью
- tx(*args): Сокращение для print().
- clr() / clear(): Полная очистка консоли (Windows/Linux).
- pau(text) / pause(text): Пауза выполнения кода (ожидание нажатия Enter).
- Умный ввод и глобальные переменные Важно: Эти функции создают переменные сразу в глобальной области видимости (globals).
- ir("имя", "текст"): Заменяет [ имя = input("текст") ]
- irn("имя", "текст"): Заменяет [ имя = int(input("текст")) ] (с защитой от ввода букв вместо чисел).
- irf("имя", "текст"): Заменяет [ имя = float(input("текст")) ] (автоматически меняет запятую на точку).
- Работа с системой (OS модули)
- ls(путь): Список содержимого папки.
- gwd(): Получение пути текущей рабочей директории.
- md(имя): Создание новой папки.
- rm(путь): Удаление ФАЙЛА (не папки). Включает обработку Xa-System-Error.
- ren(старое, новое): Переименование файла или папки.
- Рандомизация и списки
- rn(a, b): Случайное целое число от a до b.
- rc(список): Случайный выбор элемента из списка.
- sh(список): Перемешивание элементов списка (shuffle).
- обычный пайтон
print("Как тебя зовут?") name = input("> ") print("Сколько лет?") while True: try: age = int(input("> ")) break except: print("Введи число!") print(f"Привет, {name}! Тебе {age}") import os os.system('cls' if os.name == 'nt' else 'clear') input("Нажми Enter...")
5.5 пайтон с zaxy
from zaxy import * connect() ir("name", "Как тебя зовут? > ") irn("age", "Сколько лет? > ") tx(f"Привет, {name}! Тебе {age}") clr() pau("Нажми Enter...")
Contacts / Контакты: Email: dekabri2316@gmail.com Telegram: @maks39P
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zaxy-0.3.0.tar.gz.
File metadata
- Download URL: zaxy-0.3.0.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2cdf55ec2f6284b23e80902ad8bcf6c9c81ea752761225a86ca15fc299982cf5
|
|
| MD5 |
8565d08aa8d04cee348a47ce5c7f1ca7
|
|
| BLAKE2b-256 |
edd7c67556ad79ab9592c2f1661ff9f3aaad70f2ae486290c6240e52e9425ca6
|
Provenance
The following attestation bundles were made for zaxy-0.3.0.tar.gz:
Publisher:
publish.yml on developer-maksancik/zaxy-project
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
zaxy-0.3.0.tar.gz -
Subject digest:
2cdf55ec2f6284b23e80902ad8bcf6c9c81ea752761225a86ca15fc299982cf5 - Sigstore transparency entry: 974251135
- Sigstore integration time:
-
Permalink:
developer-maksancik/zaxy-project@b60feefda996acfd92954aee8c5416026ea522fe -
Branch / Tag:
refs/heads/master - Owner: https://github.com/developer-maksancik
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b60feefda996acfd92954aee8c5416026ea522fe -
Trigger Event:
push
-
Statement type:
File details
Details for the file zaxy-0.3.0-py3-none-any.whl.
File metadata
- Download URL: zaxy-0.3.0-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c23d023bb179c803fe302ffcdd5f19c31ea66e73dc510896d7b3f2b93842c228
|
|
| MD5 |
4265eaf2f85094c5c38d4ecb8145e962
|
|
| BLAKE2b-256 |
fab7efae7678709e47b708191b99b5e0331481c879a9f3a324362c91e8bde623
|
Provenance
The following attestation bundles were made for zaxy-0.3.0-py3-none-any.whl:
Publisher:
publish.yml on developer-maksancik/zaxy-project
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
zaxy-0.3.0-py3-none-any.whl -
Subject digest:
c23d023bb179c803fe302ffcdd5f19c31ea66e73dc510896d7b3f2b93842c228 - Sigstore transparency entry: 974251184
- Sigstore integration time:
-
Permalink:
developer-maksancik/zaxy-project@b60feefda996acfd92954aee8c5416026ea522fe -
Branch / Tag:
refs/heads/master - Owner: https://github.com/developer-maksancik
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b60feefda996acfd92954aee8c5416026ea522fe -
Trigger Event:
push
-
Statement type: