Python 3 library
PyShorText your url or text, author : RayServer
Supports texts of up to 4294967295 characters and returns a shortened text of 6 characters
PyShorText requires an installation of Python 3.6 or greater, as well as pip. (Pip is typically bundled with Python To install from the source with pip:
pip install pyshortext
- Using Short Url in a Python script
import pyshortext
text = "My Text or My URL"
url_acortada = pyshortext.short(text)
print(url_acortada)
url_desacortada = pyshortext.unshort(url_acortada)
print(url_desacortada)