We have finally done it. As a species, we have developed the perfect programming language for the next two years: PyGyat, Python with Rizz. This is the amazing programming language of the future, which allows iPad kids to write new, slower and buggier code while keeping the lack of brain!
In all seriousness though, this is a very very funny language I’ve found thanks to one of PrimeTime’s videos and I found it so dumb I thought why not make a tutorial on it? Show off the language a little.
Key Features
- Brainrot Syntax: Write Python code with fun, brainrot-style terms.
- Seamless Execution: Run PyGyat files with the
pygyatcommand, just like regular Python. - Bidirectional Translation: Convert between Python and PyGyat with ease.
- Syntax Highlighting: Enjoy syntax highlighting in VS Code with the
vscode-pygyatextension. - Restricted Keywords: Real Python keywords with PyGyat mappings cannot be used interchangeably without translation.
- Community Driven: Request new mappings via pull requests.
Code Example

Here’s a simple example of how a Python code snippet might look in PyGyat:
Python Code
def greet(name):
print(f"Hello, {name}!")
if __name__ == "__main__":
greet("PyGyat")
PyGyat Code
bop unc(name):
yap(f"Hello, {name}!")
chat is this real __name__ == "__main__":
unc("PyGyat")
as you can see, the structure is identical to python just different words are used. If you want to learn python to understand it better, check my tutorial.
Installation
From PyPI
To install PyGyat from PyPI, use the following pip command:
$ pip3 install pygyat
From Git Repository
For those who prefer to install directly from the git repository, follow these steps:
- Clone the repository:
$ git clone https://github.com/shamith09/pygyat.git
- Navigate to the cloned directory:
$ cd pygyat
- Install the package locally:
$ pip3 install .
Uninstalling PyGyat
To uninstall PyGyat, simply run:
$ pip3 uninstall pygyat
VS Code Extension
For syntax highlighting in Visual Studio Code, install the vscode-pygyat extension from the marketplace at this link.
Keyword Mappings
The following table outlines the keyword and operator translations from Python to PyGyat:
| Python Keyword/Operator | PyGyat Translation |
|---|---|
try/except/finally | hawk/tuah/spit on that thang |
return | its giving |
- | fanum tax |
+ | rizz |
print | yap |
True | Aura |
False | Cooked |
def | bop |
while | let him cook |
import | glaze |
from | lock in |
class | skibidi |
if/elif/else | chat is this real/yo chat/only in ohio |
for | mewing |
break | just put the fries in the bag bro |
continue | edge |
assert | sus |
raise | crashout |
in | diddy |
is | |
and | |
or | |
not | |
with | pookie |
as | ahh |
global | GOAT |
nonlocal | motion |
del | delulu |
yield | pause |
yield from | pause no diddy |
None | NPC |
pass | pluh |
self | unc |
range | huzz |
> | sigma |
< | beta |
≥ | sigma twin |
≤ | beta twin |
== | twin |
= | |
async | |
await | |
open | mog |
read | |
write | |
close | demure |
Files
PyGyat translates .gyat files to Python files before execution. Ensure you have Python installed to run PyGyat.
To execute a PyGyat file:
$ pygyat source.gyat arg1 arg2 ...
For help on running PyGyat files, use:
$ pygyat -h
Or consult the man page:
$ man pygyat
For translating Python files to PyGyat:
$ py2gyat test.py
The translated file will be named test.gyat. Detailed help is available with:
$ py2gyat -h
Or by consulting the man page:
$ man py2gyat




