TinyUrl 0.1.0
super tiny library and command-line interface to tinyurl.com
The TinyUrl package 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!
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| TinyUrl-0.1.0-py2.5.egg (md5) | Python Egg | 2.5 | 2009-01-08 | 3KB | 619 |
| TinyUrl-0.1.0.tar.bz2 (md5) | Source | 2009-01-08 | 22KB | 553 | |
| TinyUrl-0.1.0.tar.gz (md5) | Source | 2009-01-08 | 22KB | 741 | |
| TinyUrl-0.1.0.zip (md5) | Source | 2009-01-08 | 24KB | 703 | |
- Author: Dan Buch
- Home Page: http://meatballhat.com/projects/TinyUrl
- Keywords: tinyurl,tiny,url
- License: MIT
- Platform: any
-
Categories
- Development Status :: 4 - Beta
- Environment :: Console
- Intended Audience :: Developers
- Intended Audience :: End Users/Desktop
- Intended Audience :: Information Technology
- Intended Audience :: Other Audience
- Intended Audience :: Science/Research
- Intended Audience :: System Administrators
- Intended Audience :: Telecommunications Industry
- License :: OSI Approved :: MIT License
- Natural Language :: English
- Operating System :: OS Independent
- Programming Language :: Python
- Topic :: Internet :: WWW/HTTP
- Topic :: Software Development :: Libraries :: Python Modules
- Topic :: Utilities
- Package Index Owner: meatballhat
- DOAP record: TinyUrl-0.1.0.xml
