7 Star 7 Fork 5

peixinchen / flask-auth

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
setup.py 2.08 KB
一键复制 编辑 原始数据 按行查看 历史
"""
==========
Flask-Auth
==========
Database-agnostic extension for Flask to support role-based authentication of
users.
Links
-----
* `Documentation <http://packages.python.org/Flask-Auth>`_
* `Repository <http://bitbucket.org/Shotca/flask-auth/>`_
* `Development version
<http://bitbucket.org/Shotca/flask-auth/get/tip.gz#egg=Flask-Auth-dev>`_
Revisions
---------
0.85
```
* Updated to flask 0.8 new naming scheme of using flask.ext instead of flaskext.
* Fixed issue with importing sqlalchemy models.
0.8
```
Mayor revision.
* Not storing the entire user in the session anymore (which was convenient
but bad practice) but only its __dict__.
* As a result of the above, the get_current_user call is now gone and
replaced by get_current_user_data call. Similar functionality to the original
call can now be obtained by doing AuthUser.load_current_user().
* Created SQLAlchemy plug-and-play model using constructor.
* Small bugfixes.
0.7
```
Added tests, permission example, bunch of bugfixes.
0.6
```
Added permission model, added examples, first release on PyPI.
0.1 - 0.5
`````````
Logging in, session management, encryption, etc.
"""
from setuptools import setup
setup(
name='Flask-Auth',
version='0.85',
url='http://bitbucket.org/Shotca/flask-auth/',
license='BSD',
author='Lars de Ridder',
author_email='shotcage@gmail.com',
description='Auth extension for Flask.',
long_description=__doc__,
packages=[
'flaskext',
'flaskext.auth',
'flaskext.auth.models',
],
namespace_packages=['flaskext'],
zip_safe=False,
platforms='any',
install_requires=[
'Flask'
],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules'
],
test_suite='test_auth.suite',
)
Python
1
https://gitee.com/peixinchen/flask-auth.git
git@gitee.com:peixinchen/flask-auth.git
peixinchen
flask-auth
flask-auth
master

搜索帮助