Warning (English): This project was created with the help of ChatGPT and contains AI-generated code, structure, and documentation. Review everything before using it in production.
Предупреждение (Русский): Этот проект был создан с помощью ChatGPT и содержит код, структуру и документацию, сгенерированные ИИ. Перед реальным использованием всё нужно проверить вручную.
GdPy is a custom scripting language project built on top of Python.
It uses .gdpy files, a Python interpreter, a Windows installer, example scripts, and helper tools for local installation and maintenance.
The repository includes:
- a language interpreter in
gdpy.py - command documentation in
COMMANDS.txt - example
.gdpyprograms inexamples/ - batch and PowerShell tooling for install, uninstall, shortcuts, and file associations
- a standalone Windows installer in
installer-release/GdPyInstaller.exe
The project is designed to provide:
- a simple custom language syntax
- script execution through
.gdpyfiles - a Windows-focused local installation workflow
- a standalone installer that already contains the project payload
- update checking through GitHub Releases
Main files:
gdpy.py- the interpreterCOMMANDS.txt- command referenceVERSION.txt- project versionREADME.md- English documentationREADME.ru.md- Russian documentationinstall.bat- console installeruninstall.bat- console uninstallerrun_gdpy.bat- run.gdpyscripts from the source folderopen_source.bat- open the source code quicklybuild_installer_exe.bat- build the standalone installer
Important folders:
examples/- example.gdpyscriptstools/- PowerShell helper scriptsinstaller-exe/- standalone installer sourceinstaller-release/- final standalone installer output
Language-level features:
- variables and expressions
- console output with
say - conditions with
if,elif,else - loops with
whileandfor - list, string, JSON, and file operations
- import-like feature switches such as
import python,import rights,import error - direct Python execution when Python mode is enabled
Windows integration features:
.gdpyfile association- desktop shortcut creation
- standalone installer with embedded payload
- repair/update mode
- uninstall mode
- GitHub release update check
Run directly from Python:
python gdpy.py example.gdpyRun through the helper batch file:
run_gdpy.bat example.gdpyRun a file by double-click after installation:
- install GdPy
- double-click a
.gdpyfile if file association was registered successfully
Basic output:
say "Hello from GdPy"
Variables and expressions:
set a = 2
set b = 3
set total = a + b
say total
Conditions:
if total > 3:
say "big"
elif total == 3:
say "equal"
else:
say "small"
endif
Loops:
set count = 3
while count > 0
say count
sub count 1
endwhile
Import modes:
import python
import error
import rights
The standalone installer:
- uses a fixed install path:
%LOCALAPPDATA%\GdPy - provides three actions:
- Install program
- Repair or update program
- Remove program
- extracts the project payload from inside the EXE
- runs
install.batafter extraction - supports uninstall through the installed
uninstall.bat
The final standalone installer file is:
installer-release\GdPyInstaller.exe
The installer checks GitHub Releases here:
https://github.com/GdStepan2/GdPy/releases
It uses the latest release endpoint internally and compares versions numerically.
Examples of valid upgrade detection:
1.0->1.0.11.0->1.11.0->2.01.0.9->1.1.01.9.9->2.0.0
Version data is stored in:
VERSION.txt
Use:
build_installer_exe.batThis build process:
- collects the payload files listed in
installer-exe/payload_manifest.txt - compresses them into an embedded payload archive
- compiles the installer EXE
- writes the result into
installer-release/
Console install:
install.batConsole uninstall:
uninstall.batGUI launcher:
install_gui.batVBS launcher:
GdPy Installer.vbs
The uninstall flow currently:
- removes Windows integration
- removes
.venvif it exists - removes Python cache directories
- schedules deletion of the installed root folder when uninstall is launched from the standard installed location
README.md- English versionREADME.ru.md- Russian versionCOMMANDS.txt- command listINSTALL.txt- installer notes
- the project is Windows-oriented in several installer-related parts
- some script features are intentionally experimental
- direct Python execution is powerful but should be treated carefully
- system integration depends on the local environment and permissions
- update checking depends on GitHub availability
Because the project includes:
- direct Python execution
- process control
- file operations
- optional admin-rights logic
you should review scripts before running them on a real machine.
No license file is currently defined in this repository snapshot. If you want public distribution, add an explicit license file.
- Open
installer-release/GdPyInstaller.exe - Install to the fixed path
- Run
example.gdpy - Check
examples/for more scripts - Read
COMMANDS.txtfor supported syntax