An API service to shorten URLs
Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
logs
shortener
tmp
twisted/plugins
.gitignore
.travis.yml
MANIFEST.in
README.rst
setup.py

README.rst

URL SHORTERNING SERVICE

An API service to shorten URLs

travis coveralls

Install

$ virtualenv ve
$ source ve/bin/activate
(ve)$ pip install -e .
(ve)$ trial shortener

Config

With the -c parameter, you can specify a config file. The default locatation is shortener/config.yaml Here's an example config file:

host_domain: http://wtxt.io
account: wikipedia
connection_string: postgresql://test:shortener_test@localhost:5432/shortener_test
port: tcp:8080
graphite_endpoint: tcp:www.example.com:80
handlers:
- dump: shortener.handlers.dump.Dump