PyUXS
(Python URLs Expander & Shortener) is a CLI tools for shortening or expanding URLs. Shortener
, as the name suggests, is a service to help reduce the length of the URL so that it can be shared easily on other platform and as for Expander
, is a service to expand the shortended URL, it also help user to determine whether the destination of a shortened URL is save or not to visit.
PyUXS
uses "TinyURL", "Chilp.it", "Da.gd"
for its shortener services. This is because the API intergration for these shortener is way easier and doesn't require any Key token
to use.
This is an instructions on setting up this tool locally. To get a local copy up and running follow these simple example steps.
Necessary tools and libraries to have:
- Python >= 3.9 and < 3.10
- Pip
- virtualenv
- pyshorteners
- PyInquirer
- colorama
- termcolor
- pyfiglet
Below is an example of how you can setup this project within your local environtment.
-
Clone the repo
git clone https://github.com/farithadnan/PyUXS.git
-
Create new
virtual environtment
within PyUXS foldervirtualenv -p python3 virtual_env_name
-
Activate
virtual environtment
. virtual_env_name/Scripts/activate
-
Install all the require libraries via
requirement.txt
pip install -r requirement.txt
-
Done, now you can start running the
main.py
like any other python script