urlxdev / pyURLx

A simple python module which uses requests and the URLx API to shorten links.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pyURLx

This is a simple module built with requests that allows you to shorten long URLs and create QR codes using the URLx api.

Prerequisites

Before running the application, make sure you have Python installed on your system.

Installation

To use the module, you can install it through pip: pip install pyurlx

How to Use

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
link = tools.shorten("example.com")
print(link)
To create a qr code, use the following code: from pyurlx import tools
link = tools.qr("example.com")
print(link)

Contributing

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.

License

This project is licensed under the BSD-3 License. from pyurlx import tools link = tools.shorten("example.com") print(link)

About

A simple python module which uses requests and the URLx API to shorten links.

License:BSD 2-Clause "Simplified" License


Languages

Language:Python 100.0%