TinyUrl iconTinyUrl 0.1.0

Super tiny library and command-line interface to tinyurl.com
TinyUrl is a Python module that provides a few useful functions for use from within Python code:

>>> import tinyurl
>>> tinyurl.create_one('http://google.com/')
'http://tinyurl.com/8kp'

>>> for u in tinyurl.create('http://google.com/', 'http://meatballhat.com/'):
... print u
...
http://tinyurl.com/8kp
http://tinyurl.com/7qg8g7


Additionally, a command-line interface is provided for general use, as in shell scripts or < whatever >...

$ export GOOGLE_URL="`tinyurl http://google.com/`"
$ echo $GOOGLE_URL
http://tinyurl.com/8kp


Much love to the folks at tinyurl.com!

last updated on:
January 10th, 2009, 1:44 GMT
price:
FREE!
developed by:
Dan Buch
license type:
MIT/X Consortium License 
category:
ROOT \ Internet \ HTTP (WWW)

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Add your review!

SUBMIT