Skip to main content

Python Library to help you short and expand urls using https://rel.ink/

Project description

shorten_url

MIT license

Python Library to help you short and expand urls using https://rel.ink/

Installation

In order install this package, simply run:

pip install shorten_url

Usage

To use shorten_url, you first need to import the package:

import shorten_url

Shorten the URL:

shorten_url.short("https://www.linkedin.com/in/salil-gautam/")    # Returns the shortened URL.

Expand the URL:

shorten_url.expand("https://rel.ink/goqDVn")    # Returns the expanded URL.

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Salil Gautam

💻 📖 💡

This project follows the all-contributors specification. Contributions of any kind welcome!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

shorten_url-1.0.0.tar.gz (2.4 kB view hashes)

Uploaded Source

Built Distribution

shorten_url-1.0.0-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page