aaencode for python,把python代码转换为颜文字

Overview

py-aaencode

aaencode for python,把python代码转换为颜文字

compile.py: 将python编译成颜文字,编译结果有随机性,可以选择BPE词表压缩代码

compile_min.py: 最小化的编译器

compiled_min.txt: 编译得到的最小的compile_min.py

template.py: 原始模板

example

>> CompileDict().compile("print('hello world')")

# -*- coding: utf-8 -*-

(oˆ_ˆo)=_=33;o=(ˆωˆ)=(oˆ_ˆo)-(oˆ_ˆo);c=(ŎдŎ)=(ŏ_ŏ)=(oˆ_ˆo)// (oˆ_ˆo);(oˆ_ˆo)=(c^_^o);ヾˆ_ˆノ=(ì_í)=(ŏ_ŏ)+(ŎдŎ);(oˇ罒ˇo)=(ì_í)+ヾˆ_ˆノ;(눈_눈)=ヾˆ_ˆノ*(oˇ罒ˇo);(乛д乛)=(oˆ_ˆo)//ヾˆ_ˆノ;(ಠ_ಠ)=ヾˆ_ˆノ*(oˆ_ˆo);(ಥ_ಥ)=ᕕᐛᕗ=ヾˆ_ˆノ*(ಠ_ಠ);(O_o)=(o^_^o)+(ಠ_ಠ);(oェo)=(ì_í)+(ŏ_ŏ);(Θ3Θ)=(ŏ_ŏ)+(oˇ罒ˇo);(OÅO)=ヾˆ_ˆノ*(ಥ_ಥ);(TAT)=(ì_í)+(Θ3Θ);(QAQ)=(Θ3Θ)+(O_o)+(눈_눈);(ŎдŎ)={(ˆωˆ):('c'),(ŏ_ŏ):'%>_<%'[ˆωˆ]};(ÒωÓױ)=exec;(ÒωÓױ)('(ˆωˆ)'+'='+(ŎдŎ)[ˆωˆ]+((ŎдŎ)[ŏ_ŏ]+(ŎдŎ)[ˆωˆ])%((ヾˆ_ˆノ+(o^_^o)+ヾˆ_ˆノ*(oˆ_ˆo)+(oˇ罒ˇo)+(ŏ_ŏ)))+((ŎдŎ)[ŏ_ŏ]+(ŎдŎ)[ˆωˆ])%(((乛д乛)+(ŏ_ŏ)+(o^_^o)+(ಠ_ಠ))),(ŎдŎ));(ŎдŎ)[ˆωˆ]=(ŎдŎ)['ˆωˆ'];(ŎдŎ)['O_o']=(ŎдŎ)[ˆωˆ](c^_^o);(ŎдŎ)['QAQ']=(ŎдŎ)[ˆωˆ]((oˇ罒ˇo)+(O_o));(ŎдŎ)[((ì_í))]=(ŎдŎ)[ˆωˆ](((oェo)+(눈_눈)+(O_o)));(ÒωÓױ)((ŎдŎ)[ˆωˆ](((ì_í)+(QAQ)))+(ŎдŎ)[ˆωˆ](((QAQ)+(oˇ罒ˇo)))+(ŎдŎ)[ˆωˆ](((눈_눈)+(O_o)))+(ŎдŎ)[ˆωˆ](((QAQ)))+(ŎдŎ)[ˆωˆ](((QAQ)+(Θ3Θ)+(ŏ_ŏ)))+(ŎдŎ)[ˆωˆ](((o^_^o)+(TAT)))+(ŎдŎ)[ˆωˆ](((ŏ_ŏ)+(Θ3Θ)+(o^_^o)))+(ŎдŎ)[ˆωˆ](((O_o)+(TAT)))+(ŎдŎ)['QAQ']+(ŎдŎ)[((ì_í))]+(ŎдŎ)[((ì_í))]+('o')+(ŎдŎ)['O_o']+(ŎдŎ)[ˆωˆ](((QAQ)+(눈_눈)+(ŏ_ŏ)))+('o')+(ŎдŎ)[ˆωˆ](((oˇ罒ˇo)+(QAQ)))+(ŎдŎ)[((ì_í))]+(ŎдŎ)[ˆωˆ](((oェo)+(O_o)))+(ŎдŎ)[ˆωˆ](((o^_^o)+(Θ3Θ)+(ŏ_ŏ)))+(ŎдŎ)[ˆωˆ](((o^_^o)+(눈_눈))),(ŎдŎ))

A python package that adds "docs" command to disnake

About This extension's purpose is of adding a "docs" command, its purpose is to help documenting in chat. How To Load It from disnake.ext import comma

7 Jan 03, 2023
Terminal compatible with ansi-bbs. Meant to be a prototype, but published because why not.

pybbsterm: Terminal emulator for calling BBSs. Use cases (non-exhaustive) Explore terminal protocols. Connect to BBSs. Highlights Python 3.8+ code. Bu

Roc Vallès i Domènech 9 Apr 29, 2022
BlueBorne Dockerized

BlueBorne Dockerized This is the repo to reproduce the BlueBorne kill-chain on Dockerized Android as described here, to fully understand the code you

SecSI 5 Sep 14, 2022
Prophet is a tool to discover resources detailed for cloud migration, cloud backup and disaster recovery

Prophet is a tool to discover resources detailed for cloud migration, cloud backup and disaster recovery

22 May 31, 2022
Telegram bot to upload media to telegra.ph

Telegraph @StarkTelegraphBot A star ⭐ from you means a lot to us ! Telegram bot to upload media to telegra.ph Usage Deploy to Heroku Tap on above butt

Stark Bots 24 Dec 29, 2022
Team Hash Brown Science4Cast Submission

Team Hash Brown Science4Cast Submission This code reproduces Team Hash Brown's (@princengoc, @Xieyangxinyu) best submission (ee5a) for the competition

3 Feb 02, 2022
Run-Your-Own Firefox Sync Server

Run-Your-Own Firefox Sync Server This is an all-in-one package for running a self-hosted Firefox Sync server. It bundles the "tokenserver" project for

Mozilla Services 1.7k Dec 30, 2022
JARVIS PC Assistant is an assisting program to make your computer easier to use

JARVIS-PC-Assistant JARVIS PC Assistant is an assisting program to make your computer easier to use Welcome to the J.A.R.V.I.S. PC Assistant help file

Dasun Nethsara 2 Dec 02, 2022
BDD base project: Python + Behave

BDD base project: Python + Behave Basic example of using Python with Behave (BDD). This Gherkin example includes: Basic Scenario Scenario Outline Tagg

eccanto 1 Dec 08, 2021
A random cat fact python module

A random cat fact python module

Fayas Noushad 4 Nov 28, 2021
Tutorials for on-ramping to StarkNet

Full-Stack StarkNet Repo containing the code for a short tutorial series I wrote while diving into StarkNet and learning Cairo. Aims to onramp existin

Sam Barnes 71 Dec 07, 2022
Automatically deletes Capital One Eno virtual cards for when you've made a couple too many.

eno-delete Automatically deletes Capital One Eno virtual cards for when you've made a couple too many. Warning: Program will delete ALL virtual cards

h3x 3 Sep 29, 2022
Catalogue CRUD Application

This Python program creates a relational SQL database hosted on the Snowflake platform, then opens a CRUD GUI to manipulate and view the data. In this application, it is used as a book catalogue. CUR

0 Dec 13, 2022
A demo Piccolo app - a movie database!

PyMDb Welcome to the Python Movie Database! Built using Piccolo, Piccolo Admin, and FastAPI. Created for a presentation given at PyData Global 2021. R

11 Oct 16, 2022
This is the community maintained fork of ungleich's cdist (after f061fb1).

cdist This is the community maintained fork of ungleich's cdist (after f061fb1). Work is split between three repositories: cdist - implementation of t

cdist community edition 0 Aug 02, 2022
🚀 emojimash 🚀 is a programming language with ALL THE EMOJI

🚀 emojimash 🚀 is a programming language with ALL THE EMOJI

Python Whiz 256 1 Oct 26, 2021
TallerStereoVision Convencion Python Chile 2021

TallerStereoVision Convencion Python Chile 2021 Taller Stereo Vision & Python PyCon.cl 2021 Instalación Se recomienta utilizar Virtual Environment pyt

2 Oct 20, 2022
Estimating the potential photovoltaic production of buildings (in Berlin)

The following people contributed equally to this repository (in alphabetical order): Daniel Bumke JJX Corstiaen Versteegh This repository is forked on

Daniel Bumke 6 Feb 18, 2022
Simple logger for Urbit pier size, with systemd timer template

urbit-piermon Simple logger for Urbit pier size, with systemd timer template. Syntax piermon.py -i [PATH TO PIER] -o [PATH TO OUTPUT CSV] systemd serv

1 Nov 07, 2021
A PDM plugin to publish to PyPI

PDM Publish A PDM plugin to publish to PyPI NOTE: Consider if you need this over using twine directly Installation If you installed pdm via pipx: pipx

Branch Vincent 20 Aug 06, 2022