Skip to main content

Python social authentication made simple.

Project description

Python Social Auth

Python Social Auth is an easy to setup social authentication/registration mechanism with support for several frameworks and auth providers.

Crafted using base code from django-social-auth, implements a common interface to define new authentication providers from third parties. And to bring support for more frameworks and ORMs.

https://travis-ci.org/omab/python-social-auth.png?branch=master

Features

This application provides user registration and login using social sites credentials, here are some features, probably not a full list yet.

Supported frameworks

Multiple frameworks support:

More frameworks can be added easily (and should be even easier in the future once the code matures).

Auth providers

Several supported service by simple backends definition (easy to add new ones or extend current one):

User data

Basic user data population, to allows custom fields values from providers response.

Social accounts association

Multiple social accounts can be associated to a single user.

Authentication processing

Extensible pipeline to handle authentication/association mechanism in ways that suits your project.

Dependencies

Dependencies that must be meet to use the application:

  • OpenId support depends on python-openid

  • OAuth support depends on python-oauth2 (despite the name, this is just for OAuth1)

  • Several backends demands application registration on their corresponding sites and other dependencies like sqlalchemy on Flask and Webpy.

Documents

Project homepage is available at http://psa.matiasaguirre.net/ and documents at http://psa.matiasaguirre.net/docs/.

Installation

From pypi:

$ pip install python-social-auth

Or:

$ easy_install python-social-auth

Or clone from github:

$ git clone git://github.com/omab/python-social-auth.git

And add social to PYTHONPATH:

$ export PYTHONPATH=$PYTHONPATH:$(pwd)/python-social-auth/

Or:

$ cd python-social-auth
$ sudo python setup.py install

Copyrights and Licence

python-social-auth is protected by BSD licence. Check the LICENCE for details.

The base work was derived from django-social-auth work and copyrighted too, check django-social-auth LICENCE for details:

Project details


Download files

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

Source Distribution

python-social-auth-0.1.5.tar.gz (53.3 kB view details)

Uploaded Source

File details

Details for the file python-social-auth-0.1.5.tar.gz.

File metadata

File hashes

Hashes for python-social-auth-0.1.5.tar.gz
Algorithm Hash digest
SHA256 07f5b75f729e1661f02f176a937c3dc9f26c31dc19db28495e3aef4427ac37d7
MD5 895a6137a840aa05fc8b2b2c1704cd61
BLAKE2b-256 a0e6523a2572a0c43a0a57b1e68f46a8070eebab535feeeb130d9d84f49a9b12

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page