urlunshort - Tools for detecting and expanding shortened URLs
Introduction
Urlunshort un-shortens URLs that have been created using a URL shortening services, like tinurl.com, bit.ly etc.
Examples
Resolve a short URL to a target URL
>>> from urlunshort import resolve
>>> resolve("http://bit.ly/qlKaI")
'http://bitbucket.org/runeh/urlunshort/'
Check if URLs are shortened
>>> from urlunshort import is_shortened
>>> is_shortened("http://bit.ly/qlKaI")
True
>>> is_shortened("http://www.opera.com")
False
Contact
Author: Rune Halvorsen <runefh@gmail.com> Web site and issue tracker: http://bitbucket.org/runeh/urlunshort/
Bug reports and patches appreciated.
Changelog
See CHANGELOG file
Home page and bug tracker: http://bitbucket.org/runeh/urlunshort
License: BSD license. See the LICENSE file in the top level of the distribution
Metadata
Release files for urlunshort 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| urlunshort-0.2.4.tar.gz | 3.4 kB | Without provenance | Details for urlunshort-0.2.4.tar.gz |
Release files / urlunshort-0.2.4.tar.gz
| Download URL | urlunshort-0.2.4.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f74096ac395c605e7a02bde6571ac19722af3c61ac5572814710b225bdb65fc7
|
|
BLAKE2b-256 checksum How to use checksums |
9ca3ea0d765d1be2cc2ccca8f5a8ec6280e9f32a552f33b893f5490ccf9d3da4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for urlunshort 0.2.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.