Reverse obfuscated tailwind classes
Project description
Retailwind
Reverse obfuscated tailwind classes
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
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
Release history Release notifications | RSS feed
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 details)
Built Distribution
retailwind-0.1.0-py3-none-any.whl
(178.9 kB
view details)
File details
Details for the file retailwind-0.1.0.tar.gz
.
File metadata
- Download URL: retailwind-0.1.0.tar.gz
- Upload date:
- Size: 174.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.0 CPython/3.11.6 Linux/6.5.10-200.fc38.x86_64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17eb42d93d8479833b161e9e8e2176efc5d7ca52722327ebd4baf9ec5d80c16e |
|
MD5 | aadbb4cd858a0010ba5e3d31f8f5ae19 |
|
BLAKE2b-256 | 3ecc69c342edc8ec865caef379f72e997addaddb407243a24b127202f3f14c3f |
File details
Details for the file retailwind-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: retailwind-0.1.0-py3-none-any.whl
- Upload date:
- Size: 178.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.0 CPython/3.11.6 Linux/6.5.10-200.fc38.x86_64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30d699cff0d20b1cb35f40bf3b467ea92b81b0339a231653d3c673adc574f95b |
|
MD5 | e0779633b054b7cd87ec37f6791527c4 |
|
BLAKE2b-256 | 22904ccdbd0d464e69c34feac57e7f28690888e385c14661b0e1314d86f9c76d |