Skip to main content

PotatoParser

Converter of Ducky Script to Arduino sketch with some additional funcitons (like Alt codes)

PotatoParser ASCII banner

Quickstart

This quickstart will show you all process of conversion Ducky Script to Arduino sketch

Requirements

To reproduce what is described here, you need to satisfy the following dependencies

download and install them to continue

Installation

Now you can install PotatoParser from PyPI packages using pip

pip install pparser

or the latest (but possibly unstable) from GitHub

pip install git+https://github.com/YariKartoshe4ka/PotatoParser.git

Processing

Let's write a test ducky script like this

REM Opens notepad and writing "Hello World!" 5 times
WINDOWS r
DELAY 200
STRING notepad.exe
ENTER
DELAY 500
STRING Hello World!
ENTER
REPEAT 4 2

And save it as test.ducky file. Now you can convert this script to valid Arduino sketch with the following command

pparser test.ducky

In current directory you can discover new folder sketch which contains Arduino sketch

Flashing

Open prepared sketch in Arduino IDE. Connect your board to PC and flash it. Make sure you have enabled NumLock on your keyboard. Upon completion, the script will start executing and, if you did everything correctly, you will see "Hello World!" printed 10 times in notepad. Here you can see the result (note that despite the current Russian layout ("РУС" = Russian), the text was printed in English):

https://user-images.githubusercontent.com/49284924/148426223-d6935708-9a0b-4523-ad12-71c63402a12f.mp4

Metadata

Release files for pparser 2.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pparser 2.0.2
File Size Uploaded Provenance Actions
pparser-2.0.2.tar.gz 28.2 kB Without provenance Details for pparser-2.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pparser 2.0.2
File Interpreter ABI Platform Actions
pparser-2.0.2-py3-none-any.whl Python 3 none any Details for pparser-2.0.2-py3-none-any.whl

Total release size: 57.5 kB

Release files / pparser-2.0.2.tar.gz

Download URL pparser-2.0.2.tar.gz
Size 28.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e10c4434ff9b1389814008a215cbd5fda2f23890257872ebc50e661c9f046bf9
BLAKE2b-256 checksum
How to use checksums
69ce448ee3901f66cbb989a2ec6923f81741d9505b09a6cf5c6ad50953c66c06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / pparser-2.0.2-py3-none-any.whl

Download URL pparser-2.0.2-py3-none-any.whl
Size 29.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d39bb2fe3c14df87692577535ff1b2e99d18e12e914368589d4682c72f601daa
BLAKE2b-256 checksum
How to use checksums
fef4880c5e96b94db3664c2f39df94fc31c2ce3d418d77566bd8676419863352
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Security for pparser 2.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page