Python Library to help you short and expand urls using https://rel.ink/
Project description
shorten_url
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file shorten_url-1.0.0.tar.gz.
File metadata
- Download URL: shorten_url-1.0.0.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
76e2cf72ab5e846dfa84821b210dcdfc349fe034451715aad2920ffcb6f8d0fe
|
|
| MD5 |
54aa862210d3ca55dc93db51f2c72cad
|
|
| BLAKE2b-256 |
3bcbfebc83b982aeeaec8d36754f01f6842ffc20604538b7e219a13bcb7f0b48
|
File details
Details for the file shorten_url-1.0.0-py3-none-any.whl.
File metadata
- Download URL: shorten_url-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7faad19351d107aa2a0910283161f6ceaf0282e6ab645f08977bb38e3da772d2
|
|
| MD5 |
aff6811541f7b8c6f64c65018d459631
|
|
| BLAKE2b-256 |
a2be495f3b8de2ecb94a4cccc3ca9fa840bdfabbb155b0effa5aa60a0d7a71c0
|