| CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Tue, 23 Dec 2025 23:18:02 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20091222084547
location: https://web.archive.org/web/20091222084547/https://github.com/joshthecoder/shorty-python
server-timing: captures_list;dur=0.639304, exclusion.robots;dur=0.055511, exclusion.robots.policy;dur=0.044796, esindex;dur=0.010144, cdx.remote;dur=32.638051, LoadShardBlock;dur=300.566093, PetaboxLoader3.resolve;dur=169.307129, PetaboxLoader3.datanode;dur=99.155433
x-app-server: wwwb-app220-dc8
x-ts: 302
x-tr: 364
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app220; path=/
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Tue, 23 Dec 2025 23:18:03 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.7.61
x-archive-orig-date: Tue, 22 Dec 2009 08:45:47 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-etag: "ed817f65aa857614aeaab4f084c307d8"
x-archive-orig-x-runtime: 102ms
x-archive-orig-content-length: 30062
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Tue, 22 Dec 2009 08:45:47 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 51_13_20091222084039_crawl100-c/51_13_20091222084434_crawl101.arc.gz
server-timing: captures_list;dur=0.523279, exclusion.robots;dur=0.019164, exclusion.robots.policy;dur=0.008582, esindex;dur=0.010286, cdx.remote;dur=15.482707, LoadShardBlock;dur=290.836787, PetaboxLoader3.resolve;dur=235.420156, PetaboxLoader3.datanode;dur=130.372140, load_resource;dur=108.543930
x-app-server: wwwb-app220-dc8
x-ts: 200
x-tr: 485
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
joshthecoder's shorty-python at master - GitHub
This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| Description: | python library for accessing many url shortening services edit |
| Homepage: | edit |
| Public Clone URL: |
git://github.com/joshthecoder/shorty-python.git
Give this clone URL to anyone.
git clone git://github.com/joshthecoder/shorty-python.git
|
| Your Clone URL: |
Use this clone URL yourself.
git clone git@github.com:joshthecoder/shorty-python.git
|
Kumar Appaiah (author)
Fri Dec 04 12:24:09 -0800 2009
README
_ _
___| |__ ___ _ __| |_ _ _
/ __| '_ \ / _ \| '__| __| | | |
\__ \ | | | (_) | | | |_| |_| |
|___/_| |_|\___/|_| \__|\__, |
__/ |
|___/
Access many URL shortening services from one library.
Language: Python
Website: https://gitorious.org/shorty
Mailinglist: shorty-python at googlegroups.com
Repository: git://gitorious.org/shorty/python.git
Requirements:
Python 2.4+
Simplejson (not required in python 2.6+)
Supported URL shortening services for shrinking long urls:
tinyurl.com burnurl.com
tr.im hurl.ws
urlborg.com xr.com
bit.ly snipurl.com
is.gd hex.io
cli.gs
twurl.nl (tweetburner)
digg.com
a.gd
buk.me
fon.gs
fwd4.me
chilp.it
short.ie
short.to
to.ly
budurl.com
kl.am
Shorty can expand any url service by getting the redirect
location by requesting the tiny url.
Shorty also comes with a service called sandbox. This service stores
the urls in memory and is useful for testing your application
independently from a remote service.
See example.py for a demo of using this library.
Build:
Each URL service is implemented in its own module inside the services
folder. To use this library you must compile all the various modules together.
To compile you will use the compile.py script.
python compile.py <services>
<services> is a space separated list of the services you want include.
If you wish to use all supported services use the --all flag instead.
After the script runs a file named 'shorty.py' will appear.
This is the module you will be using inside your projects.
A copy of the full shorty.py module will be kept in this repository.
Install:
Simply include the shorty.py module in your python path.
If using a version of python before 2.6 you will also need
to have simplejson installed.
This feature is coming soon. Sit tight!







