Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Python client for go.debian.net and deb.li URL shortening service

Project Description
Documentation and Wiki
-------------
Python client for go.debian.net and deb.li URL shortening service

Full documentation is available at https://wiki.debian.org/deb.li


Features
--------

- Consume deb.li and go.debian.net API | URL shoretening service
- Check for IP whitelist for this service
- Add new URL against randomly generated key
- Add static URL against pre-defined KEY
- Get existing URL via KEY
- Generate preview URL
- Pure Python Module
- Works with Python 2.6+ and 3.2+
- No dependencies


Usage Examples
--------------
>>> import GoDebian
>>> a = GoDebian.GoDebianApi()

>>> a.add_url("http://www.debian.org")
'http://go.debian.net/3xEIl'

>>> a.get_url("3xEIl")
'http://www.debian.org'

>>> a.get_preview_url("3xEIl")
'http://go.debian.net/p/3xEIl'

>>> a.add_static_url("http://harshdaftary.com", "harsh")
'http://go.debian.net/harsh'

>>>a.get_url("harsh")
'http://harshdaftary.com'
Release History

Release History

This version
History Node

1.1.0.dev1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
GoDebian_api-1.1.0.dev1-py2.py3-none-any.whl (4.9 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Jul 22, 2015
GoDebian_api-1.1.0.dev1.tar.gz (3.0 kB) Copy SHA256 Checksum SHA256 Source Jul 22, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting