Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

Tools for detecting and expanding shortened URLs.

Project description


Urlunshort un-shortens URLs that have been created using a URL shortening services, like, etc.


Resolve a short URL to a target URL

>>> from urlunshort import resolve
>>> resolve("")

Check if URLs are shortened

>>> from urlunshort import is_shortened
>>> is_shortened("")
>>> is_shortened("")


Author: Rune Halvorsen <> Web site and issue tracker:

Bug reports and patches appreciated.



Home page and bug tracker:

License: BSD license. See the LICENSE file in the top level of the distribution

Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
urlunshort-0.2.3.tar.gz (3.2 kB) Copy SHA256 hash SHA256 Source None Aug 10, 2009

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page