pyshortext

Python 3 library for short text


Keywords
telegram, download, stream, bots
License
Unlicense
Install
pip install pyshortext==2.0.2

Documentation

PyShorText

Python 3 library

Description

PyShorText your url or text, author : RayServer

Features 1.0.3

Supports texts of up to 4294967295 characters and returns a shortened text of 6 characters

Quickstart & Installation

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)