A simple URL shortener package using TinyURL
Project description
urlify-simple
A simple Python package that makes URL shortening super easy using TinyURL's API under the hood.
Installation
pip install urlify-simple
Usage
from urlify import shorten_url
# Shorten a URL
short_url = shorten_url('https://www.example.com/very/long/url')
print(short_url) # Outputs: http://tinyurl.com/xxxxx
Features
- Simple one-function interface
- Uses reliable TinyURL service
- No API key required
- Clean error handling
Requirements
- Python 3.6+
- requests library (automatically installed with package)
License
This project is licensed under the MIT License.
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
urlify_simple-0.1.1.tar.gz
(3.1 kB
view details)
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 urlify_simple-0.1.1.tar.gz.
File metadata
- Download URL: urlify_simple-0.1.1.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba8f6def0691a98303fa43396c0838139070edc785aed7a83fc767ab06b8bb09
|
|
| MD5 |
f2caa857b50d20710fa83a2f8e1ec3ca
|
|
| BLAKE2b-256 |
27be6b8bd3d438feaba314ef5376968c69415d3c5a3d23ff5500f339b6bfed9a
|
File details
Details for the file urlify_simple-0.1.1-py3-none-any.whl.
File metadata
- Download URL: urlify_simple-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
280330304eddef122be083ec29e2e5e2e97fea6bd8e36ac76b7552faae09f942
|
|
| MD5 |
5776c3a9aeb2b358460d1a484ff1878c
|
|
| BLAKE2b-256 |
60fc3a613cb84c52488355a67d85aa8f43d1cc5e4935065ba1189115f721ba84
|