forked from authomatic/authomatic
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9669834
commit a5f052e
Showing
3 changed files
with
112 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
The MIT License (MIT) | ||
Copyright (c) 2012 Peter Hudec | ||
|
||
Permission is hereby granted, free of charge, to any | ||
person obtaining a copy of this software and associated | ||
documentation files (the "Software"), to deal in the | ||
Software without restriction, including without limitation | ||
the rights to use, copy, modify, merge, publish, | ||
distribute, sublicense, and/or sell copies of the | ||
Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice | ||
shall be included in all copies or substantial portions of | ||
the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY | ||
KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE | ||
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR | ||
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS | ||
OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR | ||
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR | ||
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | ||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
========== | ||
Authomatic | ||
========== | ||
|
||
.. |gae| replace:: Google App Engine | ||
.. _gae: https://developers.google.com/appengine/ | ||
|
||
.. |webapp2| replace:: Webapp2 | ||
.. _webapp2: http://webapp-improved.appspot.com/ | ||
|
||
.. |oauth2| replace:: OAuth 2.0 | ||
.. _oauth2: http://oauth.net/2/ | ||
|
||
.. |oauth1| replace:: OAuth 1.0a | ||
.. _oauth1: http://oauth.net/core/1.0a/ | ||
|
||
.. |openid| replace:: OpenID | ||
.. _openid: http://openid.net/ | ||
|
||
.. |pyopenid| replace:: python-openid | ||
.. _pyopenid: http://pypi.python.org/pypi/python-openid/ | ||
|
||
Authomatic is an authorization/authentication client library for Python web applications | ||
inspired by `Alex Vagin's <http://alex.cloudware.it/>`_ `Simpleauth <http://code.google.com/p/gae-simpleauth/>`_. | ||
In fact I wanted to name it *Deathsimpleauth* but that would be too long. | ||
|
||
Features | ||
======== | ||
|
||
* Loosely coupled. | ||
* Tiny but powerfull interface. | ||
* There is only one **optional** dependency, the |pyopenid|_ library. | ||
* Framework agnostic thanks to adapters. | ||
* Ready to accomodate future authorization/authentication protocols. | ||
* Makes calls to provider APIs a breeze. | ||
* JavaScript library as a bonus. | ||
* Out of the box support for: | ||
|
||
* |oauth1|_ providers: **Bitbucket**, **Flickr**, **Meetup**, **Plurk**, **Twitter**, | ||
**Tumblr**, **UbuntuOne**, **Vimeo**, **Xero** and **Yahoo**. | ||
* |oauth2|_ providers: **Behance**, **Bitly**, **Cosm**, **DeviantART**, **Facebook**, | ||
**Foursquare**, **GitHub**, **Google**, **LinkedIn**, **PayPal**, **Reddit**, **Viadeo**, | ||
**VK**, **WindowsLive**, **Yammer** and **Yandex**. | ||
* |pyopenid|_ and |gae|_ based |openid|_. | ||
* Mozilla Persona. | ||
|
||
Usage | ||
===== | ||
|
||
Read the `exhaustive documentation <>`_. | ||
|
||
Live Demo | ||
========= | ||
|
||
There is a live demo running on `http://authomatic-example.appspot.com`_. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
from setuptools import setup,find_packages | ||
|
||
setup( | ||
name='Authomatic', | ||
version='0.0.0', | ||
packages=find_packages(), | ||
author='Peter Hudec', | ||
author_email='peterhudec@peterhudec.com', | ||
license='', | ||
description='', | ||
long_description=open('README.rst').read(), | ||
keywords='authorization authentication oauth openid', | ||
url='https://github.com/peterhudec/authomatic', | ||
license = 'MIT', | ||
extras_require={ | ||
'OpenID': ['python-openid'], | ||
}, | ||
classifiers=[ | ||
'Development Status :: 3 - Alpha', | ||
'Environment :: Web Environment', | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: MIT License', | ||
'Operating System :: OS Independent', | ||
'Programming Language :: Python :: 2.7', | ||
'Programming Language :: JavaScript', | ||
'Topic :: Internet :: WWW/HTTP', | ||
'Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries', | ||
'Topic :: Software Development :: Libraries :: Python Modules', | ||
'Topic :: System :: Systems Administration :: Authentication/Directory', | ||
'Topic :: Software Development :: Libraries', | ||
'Topic :: Software Development :: Libraries :: Python Modules', | ||
] | ||
) |