Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

Python SDK for weasl.in

Project description

Python Weasl SDK

This package is the Python integration for authentication powered by Weasl

Examples

Here are a couple examples you can use to get started:

Flask

from flask import Flask, jsonify, session
from weasl.integrations.flask import login_required

app = Flask(__name__)
app.config['WEASL_CLIENT_ID'] = 'YOUR CLIENT ID'


@app.route('/me')
@login_required
def user():
    return jsonify(session.current_user)

Project details


Download files

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

Files for weasl-sdk, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size weasl_sdk-0.0.2-py2-none-any.whl (4.1 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size weasl_sdk-0.0.2-py3-none-any.whl (4.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size weasl-sdk-0.0.2.tar.gz (3.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page