Metadata-Version: 1.1
Name: python-shorturl
Version: 0.0.3
Summary: Python url shortner library for tinyurl.com, is.gd and bit.ly
Home-page: https://github.com/appscluster/python-shorturl
Author: Abdul Hamid
Author-email: ap@appscluster.com
License: MIT
Download-URL: https://github.com/appscluster/python-shorturl/archive/master.zip
Description: 
        ===============
        Python-ShortUrl
        ===============
        
        A python library to shorten urls using one of three url shortening services
        
        Supports the following services:
        
            -tinyurl.com
            
            -bit.ly, j.mp, bitly.com (must use login and apikey)
            
            -is.gd
        
        Installation
        ============
        
        To install Python-ShortUrl:
        
            pip install python-shorturl
        
        
        Alternatively:
        
            wget https://github.com/appscluster/python-shorturl/archive/master.zip
        
            7z x master.zip ( if you don't have 7z : sudo apt-get install p7zip-full )
        
            cd python-shorturl-master/
        
            python setup.py install
        
        
        Usage
        =====
        
        Command line:
        
        Usage: shorturlpy.py [-u] [-d] [-l] [-a]
        
        Options:
        
            -u  --url        Full URL http://www.google.co.uk
            -d  --default    Any, tinyurl, is.gd, bitly
            -l  --login      bitly Login
            -a  --apikey     bitly apikey
        
        Examples:
        
            default: shorturlpy.py -u http://www.appscluster.com
            
            tinyurl: shorturlpy.py -u http://www.appscluster.com -d tinyurl
            
            is.gd: shorturlpy.py -u http://www.appscluster.com -d is.gd
        
            bitly: shorturlpy.py -u http://www.appscluster.com -d bitly -l xyz_login -a zyx_key
        
            Note: replace xyz_login and zyx_key with your own bitly account details
        
        
        Within your application:
        
            import shorturlpy
            
            loadurl = shorturlpy.ShortUrlPy()
            
            print loadurl.ShortenUrl('http://www.appscluster.com')
        
            print loadurl.ShortenUrl('http://www.appscluster.com', 'tinyurl')
        
            print loadurl.ShortenUrl('http://www.appscluster.com', 'is.gd')
        
            print loadurl.ShortenUrl('http://www.appscluster.com', 'bitly', 'xyz_login', 'zyx_key')
        
            Note: replace xyz_login and zyx_key with your own bitly account details
            
        Tested on Python 2.7
        
        Developed by Abdul Hamid https://twitter.com/@AbdulHamidCTO
        
Keywords: tinyurl,shorturl,utility,bitly,is.gd
Platform: OS Independent
Classifier: Topic :: Utilities
Classifier: Environment :: Web Environment
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2.7
