Skip to main content

A Python keyword transpiler. Write code in certified brainrot. +1000 aura. Now with 45 keywords.

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.2.tar.gz (8.4 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.2-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: py_aura-0.1.2.tar.gz
  • Upload date:
  • Size: 8.4 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.2.tar.gz
Algorithm Hash digest
SHA256 f4c06f3c9341844c82e1cb4f4a3a4311bae984006a95577333a582d5120755f7
MD5 685bb00b9d27512eff5806b2938a924f
BLAKE2b-256 fd10ca99c23413e7463fcd719c6730daff38b90fc21d386c3c8a173e55dc6de2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py_aura-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 9.4 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c5be4976d2bdce672e3fcf74a9a37764981e4542fd2eccef3911db02f2eea1a0
MD5 796d61afa7e5ec8db0a71e8fe2a5427e
BLAKE2b-256 ec4ea74d142320b091c29c4853b1f6491974e70c8a7f9b86bf15732310885d1e

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