Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Flask Authorization for Pandas!

Project Description
**Flask-Authorization-Panda is a Flask extension that provides decorators
for various authentication methods for RESTful web services.

Currently, only HTTP Basic Authentication is supported. **


>>> from flask.ext.flask_authorization_panda import basic_auth

During app initialization, store your required username/password in
the config attribute::

app = Flask(__name__)
app.config['basic_auth_credentials'] = dict(username='admin',

Finally, simple apply the @basic_auth decorator to methods which you
want to require HTTP Basic Auth::

>>> @app.route('/')
>>> @basic_auth
>>> def hello_world():
>>> return jsonify({"statusCode": 200, "message": "Ok"})

This will result in all calls against the decorated method to (1) check for
for credentials on the request.authorization object and (2) verify that
they match the contents of app.config['basic_auth_credentials]'
Release History

Release History

This version
History Node


History Node


History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
Flask-Authorization-Panda-0.3.tar.gz (2.7 kB) Copy SHA256 Checksum SHA256 Source May 14, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting