Skip to main content

Reverse obfuscated tailwind classes

Project description

Retailwind

Reverse obfuscated tailwind classes

app

Install

pip install retailwind

Usage

You can either use it as a CLI tool, an interactive terminal app or a python library. In all cases, you will need to provide the stylesheet of the website that hides the tailwind classes (-c flag).

CLI

Just give you r input after the -r flag.

retailwind -c style.css -r yz

Interactive

Use the -i flag, it will start the interactive app.

retailwind -c style.css -i

app

You can write (or paste through shift+right-click or your terminal shortcut like ctrl+shift+v) html fragments and see the translated version on the right panel.

Library

from retailwind.translator import Translator

# init the translator with the stylesheet
tr = Translator("/path/to/styles.css")
# run on raw class
tr.raw("yz")
# run on html fragment
tr.html("<div class='kw lx yz aai'>retailwind</div>")

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

retailwind-0.1.0.tar.gz (174.0 kB view hashes)

Uploaded Source

Built Distribution

retailwind-0.1.0-py3-none-any.whl (178.9 kB view hashes)

Uploaded Python 3

Supported by

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