Skip to main content

A Python keyword transpiler. Write code in certified brainrot. +1000 aura.

Project description

brainrot 🧠

Wassup, gooners. So today I got -300 aura so I decided to make this and gain my sigma status and +1000 aura.

brainrot is a Python keyword transpiler that replaces boring standard keywords with certified brainrot meme slang. Write unhinged code. Run it anyway.


Installation

pip install py-aura

Requires Python 3.10+. Requires having any rizz at all.


Usage

As a CLI

brainrot run  myfile.brainrot   # execute your brainrot file
brainrot show myfile.brainrot   # translate it to boring Python
brainrot keys                   # print the full keyword map

As a module

import brainrot

brainrot.run("myfile.brainrot")           # execute directly
brainrot.translate("myfile.brainrot")     # get the Python source back
brainrot.show_keywords()                  # print the keyword table
brainrot.to_python(source_str)            # translate a string
brainrot.to_brainrot(source_str)          # corrupt normal Python

The Keyword Map

brainrot Python
npc_check if
plot_twist elif
sybau else
grind for
no_cap_loop while
yeet break
skibidi_skip continue
vibe pass
sigma_move def
its_giving return
ohio_school class
lowkey_func lambda
rizz_and and
bussin_or or
no_rizz not
ate in
hits_different is
W True
L False
ghosted None
summon import
straight_from from
aka as
bet try
mid_detected except
no_matter_what finally
ratio raise
linked_up with
slay_output yield
main_character global
side_character nonlocal
ghosted_var del
trust_me_bro assert
lowkey_async async
hold_on_bestie await

Example

# hello.brainrot

straight_from math summon sqrt aka square_root

ohio_school Animal:
    sigma_move __init__(self, name, vibe_score):
        self.name = name
        self.vibe_score = vibe_score

    sigma_move is_sigma(self):
        its_giving self.vibe_score > 8

sigma_move classify(animals):
    sigmas, npcs = [], []
    grind a ate animals:
        npc_check a.is_sigma():
            sigmas.append(a)
        sybau:
            npcs.append(a)
    its_giving sigmas, npcs

trust_me_bro W, "W must be truthy no cap"

Run it:

brainrot run hello.brainrot

aura status

action aura
Writing normal Python -300
Installing brainrot +500
Actually shipping something with it +1000
Getting a PR merged sigma

Contributing

PRs welcome. If you have a better meme keyword for something, open an issue. The bar is: would a chronically online 14 year old understand it. If yes, ship it.


License

Not open source but I'm too sigma to care so do whatever you want with it.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py_aura-0.1.1.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py_aura-0.1.1-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file py_aura-0.1.1.tar.gz.

File metadata

  • Download URL: py_aura-0.1.1.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for py_aura-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8f8d145de7ecbb61afa2b023431c360f370354748e72106e7e67a2370754faef
MD5 be7650de08aa0d368eccf14e38b06f2b
BLAKE2b-256 31aa54131e60c22731e4d7c3b41640351e6a767eb56430d1d2ace2d2e644fb30

See more details on using hashes here.

File details

Details for the file py_aura-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: py_aura-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for py_aura-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2c55aec606e8fd8b002c0b67762053366ffa86634f731b328d76ca3991cf85b7
MD5 f661cd74e4f574bd08ad56120733ede9
BLAKE2b-256 1d0542eafbcc8989345332e9ceabbcf5fe55a5ecef93dfafa5422068585621b8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page