An out-of-box Lua parser written in Lark

Such parser handles a relaxed version of Lua 5.3 grammar. This is a Python-Lark implementation of Lua 5.3 parser. It has the following features: the grammar is compatible to LALR(1)/LR(1)/ALL(*) the generated parser creates declarative and typed Python dataclasses instead of error-prone CSTs — that’s why we call it “out-of-box”. Fable.Sedlex, which is an F# port of OCaml sedlex project and transpiled into Python, is used in this parser to achieve high-quality lexer that avoids unnecessary collisions of lexical rules. […]

Read more

A Mod Menu for Geometry Dash. Specifically a MegahackV5 clone in Python. Only for Windows

This is a mod menu for the game Geometry Dash. It is written with Python, gd.py, DearPyGui and me.If you want to download it, you can find the binaries for Windows in releases. GUI showcase On start, the program will create a file called settings.py. There, you can make the cheat automatically start Geometry Dash, if it isn’t started already.Also!!!!!! This cheat supports automatic DLL injection for any files you put inside the dll folder which you can create in […]

Read more

A game program written in the Python language

My Pygame Game Information: Description This Pygame project is a game program written in the Python language that was created to fulfill the level 1 task requirements for the Hyperion Development Software Engineering Bootcamp that I am enrolled in. The aim of this task was to develop skills to adapt to working with novel code libraries. Therefore, a simple Pygame program example was provided as a base to write our own game, according to the task level specifications. This simple […]

Read more

Use regular expressions to detect date format

Setup # Setup python virtual environment $ virtualenv venv –python=python3 $ source venv/bin/activate # change directory to the repo where we have requirements file $ cd Regular_Expressions/ # Install python dependencies $ pip3 install -r requirements.txt Run Use the following command in the current directory. python3 src/main.py data/dev/ output/dev.csv Data The assignment’s development data can be found inside data/dev. GitHub View Github    

Read more

Automatic Audio-to-symbolic Arrangement

This is the repository of the project “Audio-to-symbolic Arrangement via Cross-modal Music Representation Learning” by Ziyu Wang, Dejing Xu, Gus Xia and Ying Shan (arXiv:2112.15110). Model Overview We propose an audio-to-symbolic generative model to transfer an input audio to its piano arrangement (in MIDI format). The task is similar to piano cover song production based on the original pop songs, or piano score reduction based on a classical symphony. The input audio is a pop-song audio under arbitrary instrumentation. The […]

Read more

Utility to generate a large collection of unique images

Utility for creating a generative art collection from supplied image layers, especially made for making NFT collectibles. Prerequisites Clone the repository by running git clone https://github.com/sem/NFT-Image-Generator. Install the dependencies pip3 install -r requirements.txt. How to use Get an API key from Pinata. Go to config.json and put the JWT (Secret access token) in api_key. Adapt the config to your liking and make sure there is a sequencial number after each folder to represent the order of layers. Run main.py. File […]

Read more

A python bot that automatically logs in, clicks the new button, and sends heroes to work in the bombcrypto game

Faz a boa pra nois Do the good Smart Chain Wallet(BUSD/BNB/BCOIN): 0x1305EE0e2a22070EfB7aF35e567f7Fa370D5F302 PIX: Este é um fork de bombcrypto-bot que tem o seu código aberto, de forma que qualquer pessoa pode vê-lo, fazer uma fork, ou updates. Aviso: Os desenvolvedores do jogo se pronunciaram e agora o uso de auto clickers e o uso de bots é oficialmente PROIBIDO. Não me responsabilizo por eventuais penalidades sofridas por quem usar o bot, use por sua própria conta e risco. Baixe e […]

Read more

A python script that uses webtorrent to stream nyaa videos directly to mpv

A rather shitty script that uses webtorrent to stream nyaa videos directly to mpv. nyon_demo.mp4 python3 nyaascraperpy For now the script only works on Linux with dmenu and webtorrent (webtorrent-cli) installed. It’s really not hard to make it compatible with windows but i’ll just let someone do it for me. python dependencies BeautifulSouprequestsdmenu external dependencies dmenu (https://archlinux.org/packages/community/x86_64/dmenu/)webtorrent (https://aur.archlinux.org/packages/webtorrent-cli) You can edit the 16th line of the script to have it scrap default/danger (white/red) entries on nyaa GitHub View Github   […]

Read more
1 40 41 42 43 44 49