< Home - < Back

python-sanction


Information about the package, python-sanction, which is shipped with common Linux distributions. The python-sanction package is designed for, A simple, lightweight OAuth2 client.


Package Name:

python-sanction

Summary:

A simple, lightweight OAuth2 client

Description:

python-sanction is a lightweight, dead simple client implementation of the OAuth2 protocol. - Variations on OAuth2 client implementation range from a few hundred LOC to thousands. In a Pythonic world, there's absolutely no need for this when simply dealing with the client side of the spec. Currently, sanction sits at a whopping 65 LOC, one class. This makes the library tremendously easy to grok. - Most providers have varying levels of diversion from the official spec. The goal with this library is to either handle these diversions natively, or expose a method to allow client code to deal with it efficiently and effectively. - Three of the four OAuth2 flows should be supported by this library. Currently, only authorization code and client credential flows have been tested due to lack of other (known) implementations. sanction has been tested with the following OAuth2 providers: * Facebook (include the test API) * Google * Foursquare * bitly * GitHub * StackExchange * Instagram * DeviantArt

Architecture:

noarch

Version:

0.3.1

Release:

1.el6

Size:

16 k

Repository:

epel

From Repository:

Licence:

MIT



Handy Yum Commands for python-sanction


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


Command

Description of Command

yum install python-sanction

This command will install python-sanction on the server.

yum remove python-sanction

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

yum -y remove python-sanction

This command will un-install python-sanction 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-sanction when using the -y flag.

yum update python-sanction

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

yum -y update python-sanction

This command will update python-sanction 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-sanction when using the -y flag.

yum info python-sanction

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

yum deplist python-sanction

This command will show you the dependencies for python-sanction. 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-sanction

This command will check if there is an update waiting on python-sanction. 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.