Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

A module that provides access to .gd URL Shortener

Project Description

Python Module for - URL Shortener.

What is this?

GD Shortener allow Python software to access - URL shortener service.

Using this module you could shorten an URL to a small one like Twitter does for its link.

This service is provided by - and, thru the classes in this module, you could view stats on shortened URLs and obtain reverse lookup on URLs.


To install GD Shortener, run the following command:

pip install gdshortener


After install, to use GD Shortener is sufficient to import the package, choose the implementing class ISGDShortener or VGDShortener (it maps to or and use the following code:

import gdshortener

s = gdshortener.ISGDShortener()
print s.shorten('')

If you want statistic usage on a URL use:

print s.shorten(url = '', log_stat = True)

If you want a custom URL use:

print s.shorten(url = '', custom_url = 'Pippus')

If you have an already shortened URL and want a reverse lookup:

print s.lookup('')


GD Shortener is licensed under LGPL. See LICENSE.txt for details.

Release History

Release History

This version
History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
gdshortener-0.0.2.tar.gz (4.7 kB) Copy SHA256 Checksum SHA256 Source Jun 17, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting