Python tool for encoding text to HTML entities
Project description
entity-everything
Easy to use tool for encoding text to html entities and html entities to normal text.
✨ Features
- Encoding & decoding of text passed as an argument
- Encoding & decoding of text from the standard input
📝 Project description
There are plenty of online tools on the Internet for encoding text to html entities. However, the solutions i found have one thing in common: they only convert special characters, without changing letters and numbers.
If for some reason you want to convert letters and numbers to entities as well, "entity-everything" is the script for you.
💻 How to download?
Project is available on PyPi, so you can install entity-everything using pip:
$ python -m pip install entity_everything
🔧 How to use?
1️⃣ Encoding text:
$ python -m entity_everything encode "Text to encode"
or
$ echo "Text to decoode" | python -m entity_everything encode
Result: "Text to encode"
2️⃣ Decoding text:
$ python -m entity_everything decode "xxx"
or
$ echo "xxx" | python -m entity_everything decode
Result: "xxx"
⚙️Technologies used
The script has been written in Python. It should work with versions 3.9 or higher. This script does not require any dependencies.
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.