This repository was archived by the owner on Oct 4, 2026. It is now read-only.
Repository navigation
YPSH v3.0
New Library Management System
The @.import function now attempts to import .ypsh or .py files from either ~/.ypsh/libs or $YPSH_DIR/libs.
The import process follows this order:
.ypshfile.pyfile- Built-in module
The import uses the shallowest file available.
If none of these steps succeed, YPSH will raise error E0017.
❯ python ypsh.py
YPSH for Python (YPSH-NOTBUILT) [REPL]
>>> import("mylib")
Hello From YPSH
>>> import("mylib2")
Hello From Python
>>> exit()
❯ ls ~/.ypsh/libs
mylib.ypsh mylib2.py
Default Installation Path Changed
From now on, the official YPSH installer will install YPSH to ~/.ypsh/bin by default.
As before, it's still possible to specify a custom installation path.
This change does not affect manual binary installations or the Python version.
Crash on Ctrl+C Fixed
Fixed an issue where pressing Ctrl+C in the binary REPL mode would crash YPSH.
How to Check Build Status
Automatic builds via DGC-AutoBuild V4 will now begin.
You can check the build status at build.diamondgotcat.net.
