Welcome to pyshorteners documentation¶

pyshorteners is a Python lib to help you short and expand urls using the most famous URL Shorteners availables.

With pyshorteners , generate a short url or expand another one is as easy as typing

import pyshorteners

s = pyshorteners.Shortener()
print(s.tinyurl.short('http://www.g1.com.br'))

To install pyshorteners just grab it directly from PyPI:

pip install pyshorteners

Contents¶

  • Implemented APIs
    • Adf.ly
    • Bit.ly
    • Chilp.it
    • Clck.ru
    • Cutt.ly
    • Da.gd
    • Git.io
    • Is.gd
    • NullPointer
    • Os.db
    • Ow.ly
    • Po.st
    • Qps.ru
    • Short.cm
    • Tiny.cc
    • TinyURL.com
    • Git.io
    • Tiny.cc
  • CONTRIBUTING to pyshorteners
    • Building a new Shortener
    • Precommit Hooks
  • pyshorteners
    • pyshorteners package
      • Subpackages
        • pyshorteners.shorteners package
          • Submodules
          • pyshorteners.shorteners.adfly module
          • pyshorteners.shorteners.bitly module
          • pyshorteners.shorteners.chilpit module
          • pyshorteners.shorteners.clckru module
          • pyshorteners.shorteners.cuttly module
          • pyshorteners.shorteners.dagd module
          • pyshorteners.shorteners.gitio module
          • pyshorteners.shorteners.isgd module
          • pyshorteners.shorteners.nullpointer module
          • pyshorteners.shorteners.osdb module
          • pyshorteners.shorteners.owly module
          • pyshorteners.shorteners.post module
          • pyshorteners.shorteners.qpsru module
          • pyshorteners.shorteners.shortcm module
          • pyshorteners.shorteners.tinycc module
          • pyshorteners.shorteners.tinyurl module
      • Submodules
      • pyshorteners.base module
      • pyshorteners.exceptions module

Logo

pyshorteners

Python lib to handle url shortening and expanding for multiple APIs

https://secure.travis-ci.org/ellisonleao/pyshorteners.svg?branch=master

https://codecov.io/github/ellisonleao/pyshorteners/coverage.svg?branch=master

Navigation

  • Implemented APIs
  • CONTRIBUTING to pyshorteners
  • pyshorteners

Related Topics

  • Documentation overview
    • Next: Implemented APIs

Quick search

©2020, Ellison Leão. | Page source
Fork me on GitHub