This is a simple module built with requests that allows you to shorten long URLs and create QR codes using the URLx api.
Before running the application, make sure you have Python installed on your system.
To use the module, you can install it through pip:
pip install pyurlx
You can use the module to shorten links and create qr codes. The module is very simple to use. To shorten a link, use the following code:
from pyurlx import tools
To create a qr code, use the following code:
link = tools.shorten("example.com")
print(link)
from pyurlx import tools
link = tools.qr("example.com")
print(link)
Contributions are welcome! If you find any bugs or have suggestions for improvements, please feel free to open an issue or submit a pull request at https://github.com/urlxdev/pyurlx.
This project is licensed under the BSD-3 License. from pyurlx import tools link = tools.shorten("example.com") print(link)