TinyUrl 0.1.0

Super tiny library and command-line interface to tinyurl.com

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
MIT/X Consortium License 
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
Dan Buch
HOMEPAGE:
meatballhat.com
CATEGORY:
ROOT \ Internet \ HTTP (WWW)
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

requirements

#tinyurl.com interface #tinyurl frontend #Python module #Python #command-line #tinyurl #interface

Add your review!

SUBMIT