< Home - < Back

python-bitlyapi


Information about the package, python-bitlyapi, which is shipped with common Linux distributions. The python-bitlyapi package is designed for, A thin python wrapper for the bit.ly REST API.


Package Name:

python-bitlyapi

Summary:

A thin python wrapper for the bit.ly REST API

Description:

This is a thin Python wrapper for the bit.ly API. Basic usage looks like this: >>> import bitlyapi >>> b = bitlyapi.BitLy(api_user, api_key) >>> res = b.shorten(longUrl='http://www.google.com/') >>> print res['url'] 'http://bit.ly/6Hwstb' >>> print res['long_url'] 'http://www.google.com/'

Architecture:

noarch

Version:

0.1.1

Release:

2.el6

Size:

11 k

Repository:

epel

From Repository:

Licence:

BSD



Handy Yum Commands for python-bitlyapi


Control the python-bitlyapi package with the following handy commands outlined below.


Command

Description of Command

yum install python-bitlyapi

This command will install python-bitlyapi on the server.

yum remove python-bitlyapi

This command will un-install python-bitlyapi on the server. When you run this command, you will be asked if you are sure that you want to remove python-bitlyapi, so you have to manually confirm that you want to do this.

yum -y remove python-bitlyapi

This command will un-install python-bitlyapi on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove python-bitlyapi when using the -y flag.

yum update python-bitlyapi

This command will update python-bitlyapi to the latest version. When you run this command, you will be asked if you are sure that you want to remove python-bitlyapi, so you have to manually confirm that you want to do this.

yum -y update python-bitlyapi

This command will update python-bitlyapi to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove python-bitlyapi when using the -y flag.

yum info python-bitlyapi

This command will show you core information about the python-bitlyapi package.

yum deplist python-bitlyapi

This command will show you the dependencies for python-bitlyapi. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.

yum check-update python-bitlyapi

This command will check if there is an update waiting on python-bitlyapi. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.